Skip to content

Commit

Permalink
Associated exhausts for support and attack spells
Browse files Browse the repository at this point in the history
  • Loading branch information
OskarD committed Jan 2, 2016
1 parent 7fd3f37 commit 431050b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/spells.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -655,8 +655,8 @@ bool Spell::playerSpellCheck(Player* player) const
}
}

if( (isAggressive && player->hasCondition(CONDITION_EXHAUST_COMBAT)) ||
(!isAggressive && player->hasCondition(CONDITION_EXHAUST_HEAL)) )
if (player->hasCondition(CONDITION_EXHAUST_COMBAT) ||
player->hasCondition(CONDITION_EXHAUST_HEAL))
{
player->sendCancelMessage(RET_YOUAREEXHAUSTED);

Expand Down

1 comment on commit 431050b

@OskarD
Copy link
Contributor Author

@OskarD OskarD commented on 431050b Jan 2, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix by @babymannen #22

Please sign in to comment.