summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorcelest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-11-16 01:42:39 +0000
committercelest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-11-16 01:42:39 +0000
commit24c0b54c0a3b324a33ca471282895f5516fd45ff (patch)
tree77f0f00eff3982807944315d34889de01786a975 /src/map/skill.c
parent1abfebd5b32a450db7bc59e5670b8227375d321b (diff)
downloadhercules-24c0b54c0a3b324a33ca471282895f5516fd45ff.tar.gz
hercules-24c0b54c0a3b324a33ca471282895f5516fd45ff.tar.bz2
hercules-24c0b54c0a3b324a33ca471282895f5516fd45ff.tar.xz
hercules-24c0b54c0a3b324a33ca471282895f5516fd45ff.zip
Modified level 0 skill check, perfect hiding
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/athena@207 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 543a4c43c..7eb992ed6 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -917,7 +917,8 @@ int skill_additional_effect( struct block_list* src, struct block_list *bl,int s
nullpo_retr(0, src);
nullpo_retr(0, bl);
- if(skilllv <= 0) return 0;
+ //if(skilllv <= 0) return 0;
+ if(skillid > 0 && skilllv <= 0) return 0; // don't forget auto attacks! - celest
if(src->type==BL_PC){
nullpo_retr(0, sd=(struct map_session_data *)src);