Permalink
Browse files

[Fix] Mark of Dishonor

This will cap the HP at the proper value.
Tested it by using purge as well, everything works 100%. =)
  • Loading branch information...
1 parent 2795342 commit ebcf0db3940a46c58c537d4b3dd093a58c781b56 @tsShergill tsShergill committed Oct 21, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 kod/object/active/holder/nomoveon/battler/player.kod
View
4 kod/object/active/holder/nomoveon/battler/player.kod
@@ -5693,10 +5693,10 @@ messages:
}
% Keep health from going above max if affected by Mark of Dishonor.
- if piHealth > piMax_health
+ if piHealth > piBase_Max_health
AND Send(self,@IsEnchanted,#byClass=&MarkOfDishonor)
{
- piHealth = piMax_health;
+ piHealth = piBase_Max_health;
}
if ptHealth = $

0 comments on commit ebcf0db

Please sign in to comment.