Jump to content

Woweur

Members
  • Posts

    104
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

Posts posted by Woweur

  1. What bug does the patch fix? What features does the patch add?

    Paladins can get as many blessings as they wish. My patch fix this problem.

    For which repository revision was the patch created?

    im sorry but i havn't git and i can't write the patch. I just post the code.

    Who has been writing this patch? Please include either forum user names or email addresses.

    Woweur.

    In SpellMGR.cpp

    delete :

               if (IsSealSpell(spellInfo))
                   return SPELL_SEAL;
    
               if (spellInfo->SpellFamilyFlags & 0x10000100LL)
                   return SPELL_BLESSING;;
    

    and add :

               if ((spellInfo->Attributes == 0x50000) && (spellInfo->SpellIconID == 206 || spellInfo->SpellIconID == 561 || spellInfo->SpellIconID == 2292 || spellInfo->SpellIconID == 2292 || spellInfo->SpellIconID == 25 || spellInfo->SpellIconID == 307 || spellInfo->SpellIconID ==299))
                   return SPELL_SEAL;
    
               if ((spellInfo->Attributes == 0x50000) && (spellInfo->SpellIconID == 298 || spellInfo->SpellIconID == 306 || spellInfo->SpellIconID == 1802|| spellInfo->SpellIconID ==1805|| spellInfo->SpellIconID ==1800|| spellInfo->SpellIconID ==1804 || spellInfo->SpellIconID == 332 ))
                   return SPELL_BLESSING;
    

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