diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-05-28 17:58:56 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-05-28 17:58:56 +0000 |
commit | bfb4c510052f56c0af3f7fbca417ce23d0fd2203 (patch) | |
tree | c1c0f5ec941a9dfb09b9d20293c822082b124475 /src/map/status.h | |
parent | ff2af609b86f5c35007fc30d0ef69214bd76bc12 (diff) | |
download | hercules-bfb4c510052f56c0af3f7fbca417ce23d0fd2203.tar.gz hercules-bfb4c510052f56c0af3f7fbca417ce23d0fd2203.tar.bz2 hercules-bfb4c510052f56c0af3f7fbca417ce23d0fd2203.tar.xz hercules-bfb4c510052f56c0af3f7fbca417ce23d0fd2203.zip |
- Added functions status_revive, pc_revive and mob_revive to handle revival (it doesn't handles player respawning, though)
- Corrected alive, raisemap, raiseall to use these functions.
- Updated resurrection/mob-kaizel to use status_revive
- Added SC_BLADESTOP to the skill enum at the beginning of status.c (fixes Bladestop causing an unknown status change message)
- Fixed MSS_DEAD state skills not triggering.
- Corrected some compilation warnings on the merc.* files.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6807 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.h')
-rw-r--r-- | src/map/status.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/status.h b/src/map/status.h index 03126ba0c..21688df56 100644 --- a/src/map/status.h +++ b/src/map/status.h @@ -516,6 +516,7 @@ int status_percent_change(struct block_list *src,struct block_list *target,char //
#define status_kill(bl) status_percent_damage(NULL, bl, 100, 0)
int status_heal(struct block_list *bl,unsigned int hp,unsigned int sp, int flag);
+int status_revive(struct block_list *bl, unsigned char per_hp, unsigned char per_sp);
//Define for copying a status_data structure from b to a, without overwriting current Hp and Sp, nor messing the lhw pointer.
#define status_cpy(a, b) { memcpy(&((a)->max_hp), &((b)->max_hp), sizeof(struct status_data)-(sizeof((a)->hp)+sizeof((a)->sp)+sizeof((a)->lhw))); \
|