diff options
author | Inkfish <Inkfish@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2009-11-23 10:38:01 +0000 |
---|---|---|
committer | Inkfish <Inkfish@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2009-11-23 10:38:01 +0000 |
commit | a935d9d4351bf7d377cd37f43bbb17df48a15696 (patch) | |
tree | e4c6e561d18ed65d01b7db63dae75db6a74a215a /src/map/pc.c | |
parent | aeb23bf2a627bcf6e31650d59823af2948366af5 (diff) | |
download | hercules-a935d9d4351bf7d377cd37f43bbb17df48a15696.tar.gz hercules-a935d9d4351bf7d377cd37f43bbb17df48a15696.tar.bz2 hercules-a935d9d4351bf7d377cd37f43bbb17df48a15696.tar.xz hercules-a935d9d4351bf7d377cd37f43bbb17df48a15696.zip |
* Fixed player keeps bleeding when dead.
- if battle_config.invincible_nodamage is true, reflected damage to targets in invincible status is now 1.
* Fixed a script typo i made when i was fixing a typo...
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14164 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.c')
-rw-r--r-- | src/map/pc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/pc.c b/src/map/pc.c index 5d94a1942..a186d4c6c 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -7369,6 +7369,9 @@ void pc_bleeding (struct map_session_data *sd, unsigned int diff_tick) { int hp = 0, sp = 0; + //if( pc_isdead(sd) ) + // return; + if (sd->hp_loss.value) { sd->hp_loss.tick += diff_tick; while (sd->hp_loss.tick >= sd->hp_loss.rate) { |