summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-01-10 13:10:13 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-01-10 13:10:13 +0000
commita2185d8ccf800a0d5412a19404218c7a99921fdf (patch)
tree2e74eba192ca8b111ac15653aa2a4d90eee69195 /src/map/skill.c
parentaae1026c0336f9bd280ac0d5cc8d523004adad21 (diff)
downloadhercules-a2185d8ccf800a0d5412a19404218c7a99921fdf.tar.gz
hercules-a2185d8ccf800a0d5412a19404218c7a99921fdf.tar.bz2
hercules-a2185d8ccf800a0d5412a19404218c7a99921fdf.tar.xz
hercules-a2185d8ccf800a0d5412a19404218c7a99921fdf.zip
- Removed 'skill_steal_type' from skill.conf as said config no longer exists.
- Corrected @slaveclone/@clone behaving as @evilclone when you change the @ symbol. - Modified SC_ARMOR_ELEMENT so it grants elemental resist as if it they were card granted bonuses. - fixed a SA_DISPELL crash when casted on an object with no status changes. - Adjusted the autospell code so that it does not relies on card_id == 0 for subtracting rates. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12041 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index c948b0e7c..33368da97 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -4169,7 +4169,7 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in
clif_skill_fail(sd,skillid,0,0);
break;
}
- if(status_isimmune(bl) || !tsc->count)
+ if(status_isimmune(bl) || !tsc || !tsc->count)
break;
for(i=0;i<SC_MAX;i++){
if (!tsc->data[i])