From 7781dc6ffee4dc89eee684209b7caf134f3b51a7 Mon Sep 17 00:00:00 2001 From: "Michael Cook (mackal)" Date: Wed, 24 May 2017 22:04:43 -0400 Subject: [PATCH] Remove double RNG for mana pres This still may not be 100% correct, but it may give us the correct average savings, but for more work than we need to do, but I don't need to rewrite code! Yet. --- zone/effects.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/zone/effects.cpp b/zone/effects.cpp index 2a1e189ce..3b19047d8 100644 --- a/zone/effects.cpp +++ b/zone/effects.cpp @@ -363,11 +363,6 @@ int32 Client::GetActSpellCost(uint16 spell_id, int32 cost) int16 focus_redux = GetFocusEffect(focusManaCost, spell_id); - if(focus_redux > 0) - { - PercentManaReduction += zone->random.Real(1, (double)focus_redux); - } - cost -= (cost * (PercentManaReduction / 100)); // Gift of Mana - reduces spell cost to 1 mana