Jump to content

[Fix][8417] Summoning guardians


Guest OPenaz
 Share

Recommended Posts

What bug does the patch fix? This fix will allow players to summon Battle Chicken, Pumpkin Soldier and most usable, this will allow to summon Bloodwom, which is summoned by DK talent...but this is not fix of this talent...i want only to fix summon type to remove error from log

For which repository revision was the patch created? 8326

Is there a thread in the bug report section or at lighthouse? Didn't find nothing, but maybe in some DK topic

Who has been writing this patch? Me (OPenaz)

     --- a/src/game/SharedDefines.h
     +++ b/src/game/SharedDefines.h
     @@ -2382,6 +2382,8 @@ enum SummonType
          SUMMON_TYPE_UNKNOWN2    = 427,
          SUMMON_TYPE_POSESSED2   = 428,
          SUMMON_TYPE_INFERNO     = 711,
     +    SUMMON_TYPE_GUARDIAN3   = 713,
          SUMMON_TYPE_WILD2       = 832,

     --- a/src/game/SpellEffects.cpp
     +++ b/src/game/SpellEffects.cpp
     @@ -3353,6 +3353,7 @@ void Spell::EffectSummonType(uint32 i)
              case SUMMON_TYPE_POSESSED2:
              case SUMMON_TYPE_FORCE_OF_NATURE:
              case SUMMON_TYPE_GUARDIAN2:
     +        case SUMMON_TYPE_GUARDIAN3:
                  // Jewelery statue case (totem like)
                  if(m_spellInfo->SpellIconID == 2056)
                      EffectSummonTotem(i);

Link to comment
Share on other sites

 Share

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