Skip to content

Commit

Permalink
Fix meditate.
Browse files Browse the repository at this point in the history
  • Loading branch information
skittles1 committed Oct 13, 2014
1 parent bc56f99 commit 60cccf3
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions kod/object/passive/spell/utility/meditate.kod
Original file line number Diff line number Diff line change
Expand Up @@ -248,9 +248,12 @@ messages:

iMana = Send(who,@GetMaxMana);
iPercent = Send(self,@GetAbility,#who=who);

Send(who,@GainMana,#amount=iMana*iPercent/100,
#bCapped=TRUE,#bRespectMax=TRUE);

if NOT Send(who,@IsCrystalizeManaSurging)
{
Send(who,@GainMana,#amount=iMana*iPercent/100,
#bCapped=TRUE);
}
Send(who,@MsgSendUser,#message_rsc=Meditate_cast_finished);

return;
Expand Down

0 comments on commit 60cccf3

Please sign in to comment.