[Spells] Illusions will now persist onto the corpse when mob is killed. (#1960)

* illusion applies to corpse

* Update spell_effects.cpp

* [Spells] Illusions will now persist onto the corpse when mob is killed.

addressed comments
This commit is contained in:
KayenEQ
2022-02-04 21:14:29 -05:00
committed by GitHub
parent 0400504adc
commit d300e78b39
5 changed files with 35 additions and 11 deletions
+1
View File
@@ -357,6 +357,7 @@ public:
void ConeDirectional(uint16 spell_id, int16 resist_adjust);
void TryOnSpellFinished(Mob *caster, Mob *target, uint16 spell_id);
void ApplySpellEffectIllusion(int32 spell_id, Mob* caster, int buffslot, int base, int limit, int max);
void ApplyIllusionToCorpse(int32 spell_id, Corpse* new_corpse);
void SendIllusionWearChange(Client* c);
//Buff