SE_IllusionPersistence affects self only

This commit is contained in:
Michael Cook (mackal) committed 2015-05-23 17:45:51 -04:00
1 parent a46b1ac18b
commit 70048eb6e1
3 files changed
+7 -6

No files matched your search

-4
View File
@@ -413,10 +413,6 @@ int32 Client::GetActSpellCost(uint16 spell_id, int32 cost)
int32 Mob::GetActSpellDuration(uint16 spell_id, int32 duration)
{
if ((aabonuses.IllusionPersistence || spellbonuses.IllusionPersistence || itembonuses.IllusionPersistence) &&
IsEffectInSpell(spell_id, SE_Illusion))
return 10000; // ~16h
if (spells[spell_id].not_extendable)
return duration;