Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit ebcf0db3940a46c58c537d4b3dd093a58c781b56 1 parent 2795342
@tsShergill tsShergill authored
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 = $
Please sign in to comment.
Something went wrong with that request. Please try again.