summaryrefslogtreecommitdiff
path: root/npc/other/powernpc.txt
diff options
context:
space:
mode:
authorLance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-11-19 04:46:50 +0000
committerLance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-11-19 04:46:50 +0000
commitc116ea51790a6d42280cf599192614dc373cf91d (patch)
tree8eccdef78694bac85683e7a5730bd42d3a6a4228 /npc/other/powernpc.txt
parent2b6f3618d99f725d224859d17344b640e0255d59 (diff)
downloadhercules-c116ea51790a6d42280cf599192614dc373cf91d.tar.gz
hercules-c116ea51790a6d42280cf599192614dc373cf91d.tar.bz2
hercules-c116ea51790a6d42280cf599192614dc373cf91d.tar.xz
hercules-c116ea51790a6d42280cf599192614dc373cf91d.zip
Updated scripts with select().. THERE ARE TONS OF THEM!! Will somebody give me a hand or something? :B
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9259 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/other/powernpc.txt')
-rw-r--r--npc/other/powernpc.txt8
1 files changed, 7 insertions, 1 deletions
diff --git a/npc/other/powernpc.txt b/npc/other/powernpc.txt
index 94539780e..5785d1201 100644
--- a/npc/other/powernpc.txt
+++ b/npc/other/powernpc.txt
@@ -110,6 +110,7 @@ gonryun.gat,180,118,4 script Iron man#gnp 85,{
mes "something new. Wanna try??";
break;
case 3:
+ case 255:
mes "[Songmoodoo]";
mes "I guess not..";
mes "....";
@@ -164,7 +165,7 @@ gon_test.gat,50,14,4 script Administrator#gnp 780,{
mes "Remember, you have to pay";
mes "500z to fight.";
next;
- if (select("Yes, let me fight!:One moment, please.") == 2) {
+ if (select("Yes, let me fight!:One moment, please.") != 1) {
mes "[Administrator]";
mes "Ok, see you later.";
close;
@@ -199,11 +200,15 @@ gon_test.gat,42,89,4 script Summoner#gnp 774,{
mes "Which monster would you recall?";
next;
set @gnpGroup,select("Group 1:Group 2:Group 3:Group 4:Group 5:Group 6:Group 7:Group 8:Group 9:Group 10:Group 11");
+ if(@gnpGroup > 11 || @gnpGroup < 1)
+ end;
set @gnpGroupMob$,.gnpMobsName$[(@gnpGroup-1)*6];
for (set @i,1; @i < 6; set @i, @i+1) {
set @gnpGroupMob$, @gnpGroupMob$ + ":" + .gnpMobsName$[(@gnpGroup-1)*6 + @i];
}
set @gnpMob,select(@gnpGroupMob$);
+ if(@gnpMob > 6 || @gnpMob < 1)
+ end;
mes "[SongYeunWoo]";
mes "Let the fight begin!";
close2;
@@ -305,6 +310,7 @@ gon_test.gat,46,14,3 script Guide of field of fight#gnp 770,{
warp "gonryun.gat",177,112;
end;
case 5:
+ case 255:
mes "[SongHeeYeon]";
mes "........";
mes "Good bye..";