Код:
@@ -915,11 +915,13 @@ void Spell::DoAllEffectOnTarget(TargetInfo *target)
SpellMissInfo missInfo = target->missCondition;
// Need init unitTarget by default unit (can changed in code on reflect)
// Or on missInfo!=SPELL_MISS_NONE unitTarget undefined (but need in trigger subsystem)
unitTarget = unit;
- if (missInfo==SPELL_MISS_NONE) // In case spell hit target, do all effect on that target
+ if (m_spellInfo->Id == 26013) // kia cast deserter always
+ DoSpellHitOnUnit(unit, mask);
+ else if (missInfo==SPELL_MISS_NONE) // In case spell hit target, do all effect on that target
DoSpellHitOnUnit(unit, mask);
else if (missInfo == SPELL_MISS_REFLECT) // In case spell reflect from target, do all effect on caster (if hit)
{
if (target->reflectResult == SPELL_MISS_NONE) // If reflected spell hit caster -> do all effect on him
DoSpellHitOnUnit(m_caster, mask);
Дезертир не вешался на паладинов в divne shield, теперь он вешается в любом случае.