mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-23 00:08:23 +00:00
Whoops, lets make use of the calced focus effect
This commit is contained in:
+1
-1
@@ -361,7 +361,7 @@ int32 Client::GetActSpellCost(uint16 spell_id, int32 cost)
|
|||||||
if (spec)
|
if (spec)
|
||||||
PercentManaReduction = 1 + spec / 20; // there seems to be some non-obvious rounding here, let's truncate for now.
|
PercentManaReduction = 1 + spec / 20; // there seems to be some non-obvious rounding here, let's truncate for now.
|
||||||
|
|
||||||
int16 focus_redux = GetFocusEffect(focusManaCost, spell_id);
|
PercentManaReduction += GetFocusEffect(focusManaCost, spell_id);
|
||||||
|
|
||||||
cost -= (cost * (PercentManaReduction / 100));
|
cost -= (cost * (PercentManaReduction / 100));
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user