mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-02 07:00:29 +00:00
code fix
This commit is contained in:
@@ -1942,6 +1942,7 @@ void Client::DoEnduranceUpkeep() {
|
|||||||
if (buffs[buffs_i].spellid != SPELL_UNKNOWN) {
|
if (buffs[buffs_i].spellid != SPELL_UNKNOWN) {
|
||||||
int upkeep = spells[buffs[buffs_i].spellid].EndurUpkeep;
|
int upkeep = spells[buffs[buffs_i].spellid].EndurUpkeep;
|
||||||
if(upkeep > 0) {
|
if(upkeep > 0) {
|
||||||
|
has_effect = true;
|
||||||
if(cost_redux > 0) {
|
if(cost_redux > 0) {
|
||||||
if(upkeep <= cost_redux)
|
if(upkeep <= cost_redux)
|
||||||
continue; //reduced to 0
|
continue; //reduced to 0
|
||||||
|
|||||||
@@ -1174,6 +1174,7 @@ void Merc::DoEnduranceUpkeep() {
|
|||||||
if (buffs[buffs_i].spellid != SPELL_UNKNOWN) {
|
if (buffs[buffs_i].spellid != SPELL_UNKNOWN) {
|
||||||
int upkeep = spells[buffs[buffs_i].spellid].EndurUpkeep;
|
int upkeep = spells[buffs[buffs_i].spellid].EndurUpkeep;
|
||||||
if(upkeep > 0) {
|
if(upkeep > 0) {
|
||||||
|
has_effect = true;
|
||||||
if(cost_redux > 0) {
|
if(cost_redux > 0) {
|
||||||
if(upkeep <= cost_redux)
|
if(upkeep <= cost_redux)
|
||||||
continue; //reduced to 0
|
continue; //reduced to 0
|
||||||
|
|||||||
Reference in New Issue
Block a user