summaryrefslogtreecommitdiff
path: root/src/map/script.c
diff options
context:
space:
mode:
authorrud0lp20 <rud0lp20@54d463be-8e91-2dee-dedb-b68131a5f0ec>2013-01-12 16:39:38 +0000
committerrud0lp20 <rud0lp20@54d463be-8e91-2dee-dedb-b68131a5f0ec>2013-01-12 16:39:38 +0000
commit69157e0ed740155f423edc364313d250b34aa5da (patch)
tree4d60baa4ba356fcbc9d92d889357176ce8bfb6a3 /src/map/script.c
parent02efda2130b68359b65c54c546187d027c5fc3e9 (diff)
downloadhercules-69157e0ed740155f423edc364313d250b34aa5da.tar.gz
hercules-69157e0ed740155f423edc364313d250b34aa5da.tar.bz2
hercules-69157e0ed740155f423edc364313d250b34aa5da.tar.xz
hercules-69157e0ed740155f423edc364313d250b34aa5da.zip
Change GC_VENOMIMPRESS to 10 cells.(bugreport:6419)
Fixed bugreport:6503 where SR_GT_REVITALIZE causes glitch display in stat window. Change WM_LULLABY_DEEPSLEEP to self targeted skill.(bugreport:6579) Fixed bugreport:6642 where SR_CURSEDCIRCLE effect is not remove after casting AL_WARP. Change SO_ARULLO to ground targeted skill.(bugreport:6842) Fixed bugreport:7165 where 'npcwalkto' script command is not working properly. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17094 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/script.c')
-rw-r--r--src/map/script.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/map/script.c b/src/map/script.c
index a918bc853..3e65a4f25 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -12911,6 +12911,11 @@ BUILDIN_FUNC(npcwalkto)
y=script_getnum(st,3);
if(nd) {
+ if (!nd->status.hp) {
+ status_calc_npc(nd, true);
+ } else {
+ status_calc_npc(nd, false);
+ }
unit_walktoxy(&nd->bl,x,y,0);
}