Jump to content

[BUG]Vanish


Recommended Posts

Posted

I'm searching for the possible reason, and I think it is caused by the commit Flemzard said. Spell effect 18461 casts spell 1784 which can't be cast on combat so the cast fails. Maybe a special case is needed for spell 1784 or maybe that spell should be casted after getting you out of combat.

Posted

Can a triggered Spell be casted while in combat without being previously checked by the client? If it cant, the commit can be changed so the IF in Spell.cpp (checkCast function) may also include m_triggeredSpell, solving the problem :)

Posted
This fix

+    if (m_unitTarget && m_unitTargetGUID != caster->GetObjectGuid() &&
+        !m_unitTarget->isVisibleForOrDetect(caster, caster, false))
+            m_unitTarget = NULL;

where is input this code?

  • 2 weeks later...
Posted

Confirmed . While in combat, if you use VANISH , it will only remove the movement impairing effects and enter and improved stealth mode but it will not trigger Stealth*the aura will not apply / the action bar will will not change thus making impossible for the rogue to reopen with a cheap shot , garrote or resap the target , nor Overkill even if you have points in this talent*which triggers only when you use Stealth*

Posted

I think this is related with a serious bug in BGs. Try this: go to WG, take the flag and use vanish. You will drop the flag, however you could take the flag again in a semi-stealth state where you are invisible. So, big exploit :/

Posted

here some fix

index 4970030..eb8e4c5 100755
--- a/src/game/SpellEffects.cpp
+++ b/src/game/SpellEffects.cpp
@@ -2804,6 +2804,8 @@ void Spell::EffectTriggerSpell(SpellEffectIndex effIndex)
            // reset cooldown on it if needed
            if (((Player*)unitTarget)->HasSpellCooldown(spellId))
                ((Player*)unitTarget)->RemoveSpellCooldown(spellId);
+        if (unitTarget->isInCombat())
+        unitTarget->ClearInCombat();

            m_caster->CastSpell(unitTarget, spellId, true);
            return;

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use