Jump to content

cccyril

Members
  • Posts

    8
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

Posts posted by cccyril

  1. 2

    1

    2

    1

    diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp
    index 7c78f05..ef1f06c 100644
    --- a/src/game/SpellEffects.cpp
    +++ b/src/game/SpellEffects.cpp
    @@ -1337,31 +1337,6 @@ void Spell::EffectDummy(uint32 i)
                        m_caster->CastSpell(unitTarget, hurt, true, 0);
                    return;
                }
    -            switch(m_spellInfo->Id )
    -            {
    -                case 28598:                                 // Touch of Weakness triggered spell
    -                {
    -                    if(!unitTarget || !m_triggeredByAuraSpell)
    -                        return;
    -
    -                    uint32 spellid = 0;
    -                    switch(m_triggeredByAuraSpell->Id)
    -                    {
    -                        case 2652:  spellid =  2943; break; // Rank 1
    -                        case 19261: spellid = 19249; break; // Rank 2
    -                        case 19262: spellid = 19251; break; // Rank 3
    -                        case 19264: spellid = 19252; break; // Rank 4
    -                        case 19265: spellid = 19253; break; // Rank 5
    -                        case 19266: spellid = 19254; break; // Rank 6
    -                        case 25461: spellid = 25460; break; // Rank 7
    -                        default:
    -                            sLog.outError("Spell::EffectDummy: Spell 28598 triggered by unhandeled spell %u",m_triggeredByAuraSpell->Id);
    -                            return;
    -                    }
    -                    m_caster->CastSpell(unitTarget, spellid, true, NULL);
    -                    return;
    -                }
    -            }
                break;
            case SPELLFAMILY_DRUID:
                break;

    1

  2. if you make this code modifications Judgement of Vengeance deals no damage and hammer of wrath only deals base damage. best to leave them as it is

    I don't understand why, Hammer of Wrath already have an entry in spell_bonus_data table, and it currently benefit of 2 times 0.15 SP + 0.15 AP, so, if we don't modify that code, we should at least remove the entry in spell_bonus_data.

  3. Well, I use an older rev than the one in svn, wich doesn't have that part and I thought that was older because of old values ^^

    EDIT : same thing for Judgement of Vengeance, in SpellEffect.cpp, delete lines 551 to 554 and replace line 566 by

    damage *= stacks * 10 /100;

    Also delete lines 568 to 583 (Hammer of Wrath already have an entry in spell_bonus_data table)

    (if someone can do a patch, that would be great, I can't right now)

    EDIT 2 : Added Avenger's Shield

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