diff options
author | masao87 <masao87@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2011-12-25 22:22:16 +0000 |
---|---|---|
committer | masao87 <masao87@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2011-12-25 22:22:16 +0000 |
commit | b5a513bad885278a5107876b37befe101728f8fd (patch) | |
tree | dbf48f492a05aa0d0d7caed28559e4d96bb1cf87 /npc/quests/quests_ayothaya.txt | |
parent | ca35e19be4ad9c41d817fbf8930d315111681b1b (diff) | |
download | hercules-b5a513bad885278a5107876b37befe101728f8fd.tar.gz hercules-b5a513bad885278a5107876b37befe101728f8fd.tar.bz2 hercules-b5a513bad885278a5107876b37befe101728f8fd.tar.xz hercules-b5a513bad885278a5107876b37befe101728f8fd.zip |
- Fixed wrong variable used in quest_ayothaya. bugreport:5129
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15280 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/quests/quests_ayothaya.txt')
-rw-r--r-- | npc/quests/quests_ayothaya.txt | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/npc/quests/quests_ayothaya.txt b/npc/quests/quests_ayothaya.txt index 1751d05a2..37d8d774b 100644 --- a/npc/quests/quests_ayothaya.txt +++ b/npc/quests/quests_ayothaya.txt @@ -2929,15 +2929,15 @@ OnTouch: mes "As you kids say,"; mes "^990000Let's get eXtreme!^000000"; next; - set user_score,0; - set pc_score,0; + set @user_score,0; + set @pc_score,0; mes "[Mr. Jun]"; mes "Rock!"; mes "Paper!"; mes "Scissors!"; next; while(1) { - if (.@pc_score == 5 || .@user_score == 3) { + if (@pc_score == 5 || @user_score == 3) { break; } else { @@ -2958,7 +2958,7 @@ OnTouch: else if (.@jun_mark == 2) { emotion e_rock; emotion e_scissors,1; - set .@pc_score,.@pc_score + 1; + set @pc_score,@pc_score + 1; mes "[Mr. Jun]"; mes "Yes...!"; mes "Oh my God, yes!"; @@ -2967,8 +2967,8 @@ OnTouch: else { emotion e_paper; emotion e_scissors,1; - set .@pc_score,.@pc_score + 1; - set .@user_score,.@user_score + 1; + set @pc_score,@pc_score + 1; + set @user_score,@user_score + 1; mes "[Mr. Jun]"; mes "What...?"; mes "I don't believe it!"; @@ -2980,8 +2980,8 @@ OnTouch: if (.@jun_mark == 1) { emotion e_scissors; emotion e_rock,1; - set .@pc_score,.@pc_score + 1; - set .@user_score,.@user_score + 1; + set @pc_score,@pc_score + 1; + set @user_score,@user_score + 1; mes "[Mr. Jun]"; mes "No...!"; mes "Sacrilege!"; @@ -3001,7 +3001,7 @@ OnTouch: else { emotion e_paper; emotion e_rock,1; - set .@pc_score,.@pc_score + 1; + set @pc_score,@pc_score + 1; mes "[Mr. Jun]"; mes "Bwahahaha!"; mes "You lose, kid!"; @@ -3012,7 +3012,7 @@ OnTouch: if (.@jun_mark == 1) { emotion e_scissors; emotion e_paper,1; - set .@pc_score,.@pc_score + 1; + set @pc_score,@pc_score + 1; mes "[Mr. Jun]"; mes "Heh heh~"; mes "Young fool!"; @@ -3021,8 +3021,8 @@ OnTouch: else if (.@jun_mark == 2) { emotion e_rock; emotion e_paper,1; - set .@user_score,.@user_score + 1; - set .@pc_score,.@pc_score + 1; + set @user_score,@user_score + 1; + set @pc_score,@pc_score + 1; mes "[Mr. Jun]"; mes "Noooo...!"; mes "This cannot be!"; @@ -3043,7 +3043,7 @@ OnTouch: } } } - if (.@user_score == 3) { + if (@user_score == 3) { emotion e_pif; mes "[Mr. Jun]"; mes "You... won."; |