diff options
Diffstat (limited to 'src/map/status.h')
-rw-r--r-- | src/map/status.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/status.h b/src/map/status.h index d41e08b25..a15a6c0d7 100644 --- a/src/map/status.h +++ b/src/map/status.h @@ -532,6 +532,9 @@ int status_percent_change(struct block_list *src,struct block_list *target,signe //Instant kill with no drops/exp/etc
//
#define status_kill(bl) status_percent_damage(NULL, bl, 100, 0)
+//Used to set the hp/sp of an object to an absolute value (can't kill)
+int status_set_hp(struct block_list *bl, unsigned int hp, int flag);
+int status_set_sp(struct block_list *bl, unsigned int sp, int flag);
int status_heal(struct block_list *bl,int hp,int sp, int flag);
int status_revive(struct block_list *bl, unsigned char per_hp, unsigned char per_sp);
|