Issue #56 resolved
Former user created an issue

dispels are not causing you or your target to enter combat

Comments (6)

  1. Arnaud KAPP

    Okay, I may help: In SpellEffects.cpp, method EffectDispel. Adding this

      if (!unitTarget->IsFriendlyTo(m_caster))
            {
                unitTarget->SetInCombatWith(m_caster);
                m_caster->SetInCombatWith(unitTarget);
            }
     else if(unitTarget->isInCombat())
             {
                unitTarget->SetInCombatWith(m_caster);
                m_caster->SetInCombatWith(unitTarget);
    }
    

    after if (!dispel_list.empty()) (line 3321) fix the problem for pvp. I don't how this gonna works when dispelling someone who's in fight with mobs. I know this is not a proper fix but it may help :D

  2. Log in to comment