diff options
author | toms <toms@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-08-19 15:35:11 +0000 |
---|---|---|
committer | toms <toms@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-08-19 15:35:11 +0000 |
commit | 63ac1e270cb7c1502bab5f0f66f6f3648c5ec00b (patch) | |
tree | 9a905e31ed4c30fb633283858befabe70a6a2a9b /src/map/status.c | |
parent | 6c04c316bd7a3f52e3971eb8e522e3a1c700bb06 (diff) | |
download | hercules-63ac1e270cb7c1502bab5f0f66f6f3648c5ec00b.tar.gz hercules-63ac1e270cb7c1502bab5f0f66f6f3648c5ec00b.tar.bz2 hercules-63ac1e270cb7c1502bab5f0f66f6f3648c5ec00b.tar.xz hercules-63ac1e270cb7c1502bab5f0f66f6f3648c5ec00b.zip |
- Updated NJ_BAKUENRYU skill tree
- Fixed HLIF_CHANGE skill
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8365 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.c')
-rw-r--r-- | src/map/status.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/map/status.c b/src/map/status.c index ff770f624..7cd27b37a 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -5741,8 +5741,8 @@ int status_change_start(struct block_list *bl,int type,int rate,int val1,int val sc->data[type].val2 = 5*status->max_hp/100; status_heal(bl, status->max_hp, 0, 1); //Do not use percent_heal as this healing must override BERSERK's block. status_set_sp(bl, 0, 0); //Damage all SP - } else if (type==SC_CHANGE) //Heal all HP - status_percent_heal(bl, 100, 0); + } else if (type==SC_CHANGE) //Heal all HP/SP + status_percent_heal(bl, 100, 100); if (type==SC_RUN) { @@ -6092,6 +6092,11 @@ int status_change_end( struct block_list* bl , int type,int tid ) pc_setsavepoint(sd, sd->mapindex, bl->x, bl->y); } break; //guess hes not in jail :P + case SC_CHANGE: + // "lose almost all her HP and SP" + status_set_hp(bl, 10, 0); + status_set_sp(bl, 10, 0); + break; } opt_flag = 1; |