diff options
-rw-r--r-- | npc/042-4/ctrl.txt | 4 | ||||
-rw-r--r-- | npc/042-5/ctrl.txt | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/npc/042-4/ctrl.txt b/npc/042-4/ctrl.txt index fb9bc8bef..d78b43cab 100644 --- a/npc/042-4/ctrl.txt +++ b/npc/042-4/ctrl.txt @@ -53,10 +53,12 @@ OnKillMob: .@g=getcharid(2); if (.@g < 1) percentheal -100, -100; getexp $KAMELOT_MX[.@g]*7, $KAMELOT_MX[.@g]*3; + .@delay=max(3000, 21000-$KAMELOT_PC[.@g]*1000); // FALLTHROUGH OnRespawn: - sleep(3000); + .@delay=(.@delay ? .@delay : 3000); + sleep(.@delay); // Yes, we just hope it works out of box explode(.@map$, .map$, "@"); .@g=atoi(.@map$[1]); diff --git a/npc/042-5/ctrl.txt b/npc/042-5/ctrl.txt index d017a9bc1..dfc799122 100644 --- a/npc/042-5/ctrl.txt +++ b/npc/042-5/ctrl.txt @@ -110,5 +110,3 @@ function monster0425 { } - - |