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