diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-07-26 14:30:34 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-07-26 14:30:34 +0000 |
commit | 44cad82e776e7455eaaee4bdf00d03cfe2d8efc0 (patch) | |
tree | a890785c685d04f8e7f2052c1865e504d21fb152 /src/map/skill.c | |
parent | faf5db4456e654b8837e80e124b7a90a03a3923c (diff) | |
download | hercules-44cad82e776e7455eaaee4bdf00d03cfe2d8efc0.tar.gz hercules-44cad82e776e7455eaaee4bdf00d03cfe2d8efc0.tar.bz2 hercules-44cad82e776e7455eaaee4bdf00d03cfe2d8efc0.tar.xz hercules-44cad82e776e7455eaaee4bdf00d03cfe2d8efc0.zip |
- Enabled changing of equipment while stunned/asleep/petrified/etc
- Cleaned up a bit the skill_castend_id dead checks.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7890 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r-- | src/map/skill.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index 364d87b1b..1ccb4be2b 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -3300,9 +3300,9 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in if(bl->prev == NULL) return 1; - if(status_isdead(src) && skillid != NPC_REBIRTH) + if(status_isdead(src)) return 1; - if(status_isdead(bl) && skillid != NPC_REBIRTH && skillid != ALL_RESURRECTION && skillid != PR_REDEMPTIO) + if(src!=bl && status_isdead(bl) && skillid != ALL_RESURRECTION && skillid != PR_REDEMPTIO) return 1; tstatus = status_get_status_data(bl); |