Pelf

Pelf sea turtle

Apr 23rd, 2012
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.59 KB | None | 0 0
  1. diff --git a/src/server/game/Spells/Auras/SpellAuraEffects.cpp b/src/server/game/Spells/Auras/SpellAuraEffects.cpp
  2. index 87e60c7..13a378c 100644
  3. --- a/src/server/game/Spells/Auras/SpellAuraEffects.cpp
  4. +++ b/src/server/game/Spells/Auras/SpellAuraEffects.cpp
  5. @@ -4043,6 +4043,8 @@ void AuraEffect::HandleAuraMounted(AuraApplication const *aurApp, uint8 mode, bo
  6.  
  7.      Unit *target = aurApp->GetTarget();
  8.      uint32 spellId = (uint32)GetAmount();
  9. +   if (GetSpellProto()->Id == 64731)   // Sea turtle
  10. +       spellId = 86496;
  11.      Player *plr = target->ToPlayer();
  12.      if(plr && spellId < 2)
  13.      {
Advertisement
Add Comment
Please, Sign In to add comment