mirror of
https://github.com/EQEmu/Server.git
synced 2026-01-02 22:03:52 +00:00
Whoops, lets make use of the calced focus effect
This commit is contained in:
parent
7781dc6ffe
commit
b793f3d9ca
@ -361,7 +361,7 @@ 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.
|
||||
|
||||
int16 focus_redux = GetFocusEffect(focusManaCost, spell_id);
|
||||
PercentManaReduction += GetFocusEffect(focusManaCost, spell_id);
|
||||
|
||||
cost -= (cost * (PercentManaReduction / 100));
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user