mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-14 03:11:28 +00:00
Fix mana pres math
This commit is contained in:
parent
c69df29345
commit
fd6387c830
@ -364,7 +364,7 @@ int32 Client::GetActSpellCost(uint16 spell_id, int32 cost)
|
|||||||
int16 focus_redux = GetFocusEffect(focusManaCost, spell_id);
|
int16 focus_redux = GetFocusEffect(focusManaCost, spell_id);
|
||||||
PercentManaReduction += focus_redux;
|
PercentManaReduction += focus_redux;
|
||||||
|
|
||||||
cost -= (cost * (PercentManaReduction / 100));
|
cost -= cost * PercentManaReduction / 100;
|
||||||
|
|
||||||
// Gift of Mana - reduces spell cost to 1 mana
|
// Gift of Mana - reduces spell cost to 1 mana
|
||||||
if(focus_redux >= 100) {
|
if(focus_redux >= 100) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user