mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-13 14:41:28 +00:00
Fixed some idiot's mistake
This commit is contained in:
parent
b793f3d9ca
commit
c69df29345
@ -361,7 +361,8 @@ int32 Client::GetActSpellCost(uint16 spell_id, int32 cost)
|
||||
if (spec)
|
||||
PercentManaReduction = 1 + spec / 20; // there seems to be some non-obvious rounding here, let's truncate for now.
|
||||
|
||||
PercentManaReduction += GetFocusEffect(focusManaCost, spell_id);
|
||||
int16 focus_redux = GetFocusEffect(focusManaCost, spell_id);
|
||||
PercentManaReduction += focus_redux;
|
||||
|
||||
cost -= (cost * (PercentManaReduction / 100));
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user