summaryrefslogtreecommitdiff
path: root/src/map/script.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-05-09 17:08:09 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-05-09 17:08:09 +0000
commit201d850ec63f84808533d44b37caa5f582c4c25e (patch)
tree97069a114e46d4fa379a3348f5e6a3be0e6abb90 /src/map/script.c
parent78c3ef3eee96f59282e699b3c7da7dad592ab5ea (diff)
downloadhercules-201d850ec63f84808533d44b37caa5f582c4c25e.tar.gz
hercules-201d850ec63f84808533d44b37caa5f582c4c25e.tar.bz2
hercules-201d850ec63f84808533d44b37caa5f582c4c25e.tar.xz
hercules-201d850ec63f84808533d44b37caa5f582c4c25e.zip
- Script commands sc_start, sc_start2 and sc_start4 will now start regardless of sc defense of the target player (that is, they cannot be avoided)
- Fixed a possible counter overflow in attacked_count, changed the var size to unsigned char since the code can handle the overflow now. - Multiple targets again reduces armor defense, as reported by Tharis. - Increased dex increase of NPC_POWERUP to +20 per level. - Fog of Wall's -50 hit reduction is now only for ranged attacks. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6528 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/script.c')
-rw-r--r--src/map/script.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/script.c b/src/map/script.c
index a7a315869..40b6f10a2 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -6133,7 +6133,7 @@ int buildin_sc_start(struct script_state *st)
val4 = 1; //Mark that this was a thrown sc_effect
}
if (bl)
- sc_start4(bl,type,100,val1,0,0,val4,tick);
+ status_change_start(bl,type,10000,val1,0,0,val4,tick,11);
return 0;
}
@@ -6161,7 +6161,7 @@ int buildin_sc_start2(struct script_state *st)
}
if(bl)
- status_change_start(bl,type,per,val1,0,0,val4,tick,0);
+ status_change_start(bl,type,per,val1,0,0,val4,tick,11);
return 0;
}
@@ -6191,7 +6191,7 @@ int buildin_sc_start4(struct script_state *st)
tick/=2;
}
if (bl)
- sc_start4(bl,type,100,val1,val2,val3,val4,tick);
+ status_change_start(bl,type,10000,val1,val2,val3,val4,tick,11);
return 0;
}