Advertisement
Guest User

Untitled

a guest
May 6th, 2014
227
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. path: src/game/pet.cpp
  2.  
  3. @@ -1082,6 +1082,18 @@
  4. {
  5. switch (GetEntry())
  6. {
  7. +
  8. + case 510: // mage Water Elemental
  9. + {
  10. + //30% damage bonus of mage's spell power
  11. + float val = owner->GetUInt32Value(PLAYER_FIELD_MOD_DAMAGE_DONE_POS + SPELL_DAMAGE_CLASS_MAGIC) * 0.3;
  12. + if (val < 0)
  13. + val = 0;
  14. + SetBonusDamage(int32(val));
  15. + ApplySpellImmune(NULL, IMMUNITY_SCHOOL, SPELL_SCHOOL_MASK_FROST, true);
  16. + break;
  17. + }
  18. +
  19. case 1964: //force of nature
  20. {
  21. if (!pInfo)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement