mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-16 01:01:30 +00:00
code fix
This commit is contained in:
parent
59bcd031c8
commit
7943a73cfb
@ -1942,6 +1942,7 @@ void Client::DoEnduranceUpkeep() {
|
||||
if (buffs[buffs_i].spellid != SPELL_UNKNOWN) {
|
||||
int upkeep = spells[buffs[buffs_i].spellid].EndurUpkeep;
|
||||
if(upkeep > 0) {
|
||||
has_effect = true;
|
||||
if(cost_redux > 0) {
|
||||
if(upkeep <= cost_redux)
|
||||
continue; //reduced to 0
|
||||
|
||||
@ -1174,6 +1174,7 @@ void Merc::DoEnduranceUpkeep() {
|
||||
if (buffs[buffs_i].spellid != SPELL_UNKNOWN) {
|
||||
int upkeep = spells[buffs[buffs_i].spellid].EndurUpkeep;
|
||||
if(upkeep > 0) {
|
||||
has_effect = true;
|
||||
if(cost_redux > 0) {
|
||||
if(upkeep <= cost_redux)
|
||||
continue; //reduced to 0
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user