casucristy

ss

Jul 25th, 2012
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.93 KB | None | 0 0
  1. From 6ab29b45a946447b73ba11935c34d275dc4b3ea2 Mon Sep 17 00:00:00 2001
  2. From: unknown <cristi@cristis-PC.(none)>
  3. Date: Wed, 25 Jul 2012 19:42:16 +0300
  4. Subject: [PATCH] Fix talent Improved Life Tap
  5.  
  6. ---
  7.  src/server/scripts/Spells/spell_warlock.cpp |    2 +-
  8.  1 file changed, 1 insertion(+), 1 deletion(-)
  9.  
  10. diff --git a/src/server/scripts/Spells/spell_warlock.cpp b/src/server/scripts/Spells/spell_warlock.cpp
  11. index 314120c..a142dee 100644
  12. --- a/src/server/scripts/Spells/spell_warlock.cpp
  13. +++ b/src/server/scripts/Spells/spell_warlock.cpp
  14. @@ -297,7 +297,7 @@ public:
  15.  
  16.                  // Improved Life Tap mod
  17.                  if (AuraEffect const* aurEff = caster->GetDummyAuraEffect(SPELLFAMILY_WARLOCK, 208, 0))
  18. -                    multiplier += int32(aurEff->GetAmount() / 100);
  19. +                    multiplier += float(aurEff->GetAmount()) / 100;
  20.  
  21.                  mana = int32(damage * multiplier);
  22.                
  23. --
  24. 1.7.10.msysgit.1
Advertisement
Add Comment
Please, Sign In to add comment