Projekt

Allgemein

Profil

Fehler #10462 » delay_heal.diff

Emme, 11.08.2014 20:56

Unterschiede anzeigen:

src/game/Spell.cpp
2929 2929

  
2930 2930
    // Okay, everything is prepared. Now we need to distinguish between immediate and evented delayed spells
2931 2931
    float speed = m_spellInfo->speed == 0.0f && m_triggeredBySpellInfo ? m_triggeredBySpellInfo->speed : m_spellInfo->speed;
2932
    if (speed > 0.0f)
2932
    if (speed > 0.0f
2933
        || m_spellInfo->Id == 33110   // Prayer of Mending
2934
        || m_spellInfo->Id == 379)    // Earth Shield
2933 2935
    {
2934 2936
        // Remove used for cast item if need (it can be already NULL after TakeReagents call
2935 2937
        // in case delayed spell remove item at cast delay start
    (1-1/1)