From 2f8699bbcc77d83ebb6604b19014fa02e9bd2316 Mon Sep 17 00:00:00 2001 From: aleos89 Date: Sun, 13 Dec 2015 14:17:45 -0500 Subject: [PATCH] Follow up to bdff641 * Adjusted the HP/SP skill requirements to a signed value to account for negative values. --- src/map/skill.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/map/skill.h b/src/map/skill.h index 81013ce274..4d13db0ce6 100644 --- a/src/map/skill.h +++ b/src/map/skill.h @@ -116,9 +116,9 @@ enum e_skill_display { /// Single skill requirement. !TODO: Cleanup the variable types struct skill_condition { - uint32 hp; ///< HP cost - uint32 mhp; ///< Max HP to trigger - uint32 sp; /// SP cost + int32 hp; ///< HP cost + int32 mhp; ///< Max HP to trigger + int32 sp; /// SP cost int16 hp_rate; /// HP cost (%) int16 sp_rate; /// SP cost (%) uint32 zeny; /// Zeny cost