Core/Spells: rework part 1: Improved positive detection logic

This commit is contained in:
ariel-
2018-01-23 11:40:15 -03:00
committed by Ariel Silva
parent 022538e185
commit efeae33495
5 changed files with 398 additions and 237 deletions
+1 -1
View File
@@ -9608,7 +9608,7 @@ void Unit::ModSpellCastTime(SpellInfo const* spellInfo, int32 & castTime, Spell*
castTime = 500;
}
void Unit::ModSpellDurationTime(SpellInfo const* spellInfo, int32 & duration, Spell* spell)
void Unit::ModSpellDurationTime(SpellInfo const* spellInfo, int32& duration, Spell* spell)
{
if (!spellInfo || duration < 0)
return;