summaryrefslogtreecommitdiff
path: root/npc/custom/etc
diff options
context:
space:
mode:
authorKenpachi <Kenpachi.Developer@gmx.de>2013-05-02 21:39:51 +0200
committerKenpachi <Kenpachi.Developer@gmx.de>2013-05-02 21:39:51 +0200
commit58a035a53efcafea1623999832a764fabba1bf5f (patch)
tree78af28d81c37c3200ef69c53f7c754de41e71644 /npc/custom/etc
parentc347ebacd8116b49e0e839abab1be35432ce0446 (diff)
downloadhercules-58a035a53efcafea1623999832a764fabba1bf5f.tar.gz
hercules-58a035a53efcafea1623999832a764fabba1bf5f.tar.bz2
hercules-58a035a53efcafea1623999832a764fabba1bf5f.tar.xz
hercules-58a035a53efcafea1623999832a764fabba1bf5f.zip
Fixed bug report #7183
You now wont get stuck when using MVP-Protector NPC (npc/custom/etc/mvp_arena.txt), but there still seems to be a bug with select command when no message is shown by the NPC. http://hercules.ws/board/index.php?app=tracker&showissue=7183
Diffstat (limited to 'npc/custom/etc')
-rw-r--r--npc/custom/etc/mvp_arena.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/npc/custom/etc/mvp_arena.txt b/npc/custom/etc/mvp_arena.txt
index 277895d6c..de4eb542b 100644
--- a/npc/custom/etc/mvp_arena.txt
+++ b/npc/custom/etc/mvp_arena.txt
@@ -73,17 +73,18 @@ quiz_00,62,31,4 script Epsilon MVP 776,{ callfunc "Keeper",5; }
// Protectors
function script Protector {
+ mes "[ ^0065DFMVP-Protector^000000 ]";
switch(select(""+((getarg(0)=="")?"":"Harder Monsters")+":Heal:Exit")) {
case 1:
warp getarg(0),102,102;
- close;
+ end;
case 2:
specialeffect2 313;
percentheal 100,100;
close;
case 3:
warp "prontera",156,179;
- close;
+ end;
}
}
pvp_n_1-2,100,100,4 script MVP-Protector#01 727,{ callfunc "Protector","pvp_n_2-2"; }