Jump to content

darkstalker

Members
  • Posts

    717
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

Posts posted by darkstalker

  1. Mangos Version: 11751

    Custom Patches: none (tested on R2 and clean mangos, was the same)

    SD2 Version: none

    Database Name and Version : YTDB 604

    How it SHOULD work: spell mods affect both client and server effects

    How it DOES work: spell mods are affecting only server side effects, client side effect is missing.

    Can easily test with a shaman spec'd into Improved Ghost Wolf. If you have the talent, client displays cast time on Ghost Wolf and doesn't let you cast while moving, but if you stand still you can cast it and it goes instant cast.

  2. missing this check:

    diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp
    index d1961ee..b19a05d 100644
    --- a/src/game/Spell.cpp
    +++ b/src/game/Spell.cpp
    @@ -5862,6 +5862,10 @@ SpellCastResult Spell::CheckRange(bool strict)
                    if (target == m_caster)
                        return SPELL_CAST_OK;
    
    +                if (m_caster->GetTypeId() == TYPEID_PLAYER &&
    +                    (m_spellInfo->FacingCasterFlags & SPELL_FACING_FLAG_INFRONT) && !m_caster->HasInArc(M_PI_F, target))
    +                    return SPELL_FAILED_UNIT_NOT_INFRONT;
    +
                    float range_mod = strict ? 0.0f : 5.0f;
                    float base = ATTACK_DISTANCE;
                    if (Player* modOwner = m_caster->GetSpellModOwner())
    

×
×
  • 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