diff options
author | shadow <shadow@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-06-07 02:52:03 +0000 |
---|---|---|
committer | shadow <shadow@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-06-07 02:52:03 +0000 |
commit | a1feda545433edf86258efe0394b4d6027a461e8 (patch) | |
tree | c512aaee8502d4399df8b482dc8bf0dcfc0183b0 /src/map/skill.c | |
parent | baf58e38ae2bcc6e3b8fb0de650234cb29dff8b5 (diff) | |
download | hercules-a1feda545433edf86258efe0394b4d6027a461e8.tar.gz hercules-a1feda545433edf86258efe0394b4d6027a461e8.tar.bz2 hercules-a1feda545433edf86258efe0394b4d6027a461e8.tar.xz hercules-a1feda545433edf86258efe0394b4d6027a461e8.zip |
Fixed a few properties of NPC_CHANGEUNDEAD bugreport:79
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12763 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r-- | src/map/skill.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index c5a73188d..c14053e1d 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -4397,7 +4397,14 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in case NPC_CHANGEHOLY: case NPC_CHANGEDARKNESS: case NPC_CHANGETELEKINESIS: + clif_skill_nodamage(src,bl,skillid,skilllv, + sc_start2(bl, type, 100, skilllv, skill_get_ele(skillid,skilllv), + skill_get_time(skillid, skilllv))); + break; case NPC_CHANGEUNDEAD: + //This skill should fail if target is wearing bathory/evil druid card [Brainstorm] + //TO-DO This is ugly, fix it + if(tstatus->def_ele==ELE_UNDEAD || tstatus->def_ele==ELE_DARK) break; clif_skill_nodamage(src,bl,skillid,skilllv, sc_start2(bl, type, 100, skilllv, skill_get_ele(skillid,skilllv), skill_get_time(skillid, skilllv))); |