summaryrefslogtreecommitdiff
path: root/npc/events/christmas_2008.txt
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2014-10-26 02:06:46 +0100
committerHaru <haru@dotalux.com>2014-11-02 01:36:50 +0100
commitbf4b0a281207e46a9b21a9c9f779aeafaa739b62 (patch)
tree0230ee95510255548ebb7f4080460b466c9e2ca6 /npc/events/christmas_2008.txt
parent6b20c5b6988c889df35b890d93c338f8b87fa430 (diff)
downloadhercules-bf4b0a281207e46a9b21a9c9f779aeafaa739b62.tar.gz
hercules-bf4b0a281207e46a9b21a9c9f779aeafaa739b62.tar.bz2
hercules-bf4b0a281207e46a9b21a9c9f779aeafaa739b62.tar.xz
hercules-bf4b0a281207e46a9b21a9c9f779aeafaa739b62.zip
Replaced 'set' with direct assignment where applicable (common folder)
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'npc/events/christmas_2008.txt')
-rw-r--r--npc/events/christmas_2008.txt26
1 files changed, 13 insertions, 13 deletions
diff --git a/npc/events/christmas_2008.txt b/npc/events/christmas_2008.txt
index 192bf25ec..2b6d67eca 100644
--- a/npc/events/christmas_2008.txt
+++ b/npc/events/christmas_2008.txt
@@ -236,7 +236,7 @@ prontera,226,306,4 script Caroller#iROxmas08 1_F_PRIEST,{
mes "[Caroller]";
mes "They're definitely as harsh as their name.";
mes "Go on please!";
- set iROxmas08carol,1;
+ iROxmas08carol = 1;
close;
case 4:
@@ -338,7 +338,7 @@ prontera,226,306,4 script Caroller#iROxmas08 1_F_PRIEST,{
next;
delitem 6092,6;
emotion e_ok;
- set iROxmas08carol,2;
+ iROxmas08carol = 2;
mes "[Caroller]";
mes "Those are all needed.";
mes "Isn't that easy?";
@@ -424,7 +424,7 @@ prontera,226,306,4 script Caroller#iROxmas08 1_F_PRIEST,{
delitem 7312,1;
delitem 938,10;
delitem 732,1;
- set iROxmas08carol,3;
+ iROxmas08carol = 3;
mes "[Caroller]";
mes "Thanks a lot.";
mes "Merry Christmas!";
@@ -510,8 +510,8 @@ prontera,226,306,4 script Caroller#iROxmas08 1_F_PRIEST,{
mes "Please visit me after the one hour has passed.";
close;
}
- set .@SantaCardTurn,0;
- set .@SantaCardWins,0;
+ .@SantaCardTurn = 0;
+ .@SantaCardWins = 0;
mes "[Santa Claus]";
mes "Wow! You're so cool!";
next;
@@ -557,27 +557,27 @@ prontera,226,306,4 script Caroller#iROxmas08 1_F_PRIEST,{
case 1:
mes "["+strcharinfo(0)+"]";
mes "Um...I choose Poring!";
- set .@SantaCardP,1;
+ .@SantaCardP = 1;
next;
break;
case 2:
mes "["+strcharinfo(0)+"]";
mes "Um...I choose Angeling!";
- set .@SantaCardP,2;
+ .@SantaCardP = 2;
next;
break;
case 3:
mes "["+strcharinfo(0)+"]";
mes "Um...I choose Ghostring!";
- set .@SantaCardP,3;
+ .@SantaCardP = 3;
next;
}
mes "[Santa Claus]";
mes "Let's see!!";
mes "One! Two! Three!";
- set .@SantaCardNpc, rand(1,3);
+ .@SantaCardNpc = rand(1,3);
next;
mes "[Santa Claus]";
mes "Let's see!!";
@@ -592,9 +592,9 @@ prontera,226,306,4 script Caroller#iROxmas08 1_F_PRIEST,{
cutin "°í½ºÆ®¸µÄ«µå",4; // Ghostring Card
}
next;
- set .@SantaCardTurn,.@SantaCardTurn+1;
+ ++.@SantaCardTurn;
if (.@SantaCardP == .@SantaCardNpc) {
- set .@SantaCardWins,.@SantaCardWins+1;
+ ++.@SantaCardWins;
emotion e_gasp;
emotion e_ic,1;
cutin "",255;
@@ -626,7 +626,7 @@ prontera,226,306,4 script Caroller#iROxmas08 1_F_PRIEST,{
mes "[Santa Claus]";
mes "Now this gift is for you.";
mes "Put your hand into the bag and pick only one.";
- set .@SantaCardPrize, rand(1,12);
+ .@SantaCardPrize = rand(1,12);
next;
if (.@SantaCardPrize == 1) {
getitem 12354,2;
@@ -664,7 +664,7 @@ prontera,226,306,4 script Caroller#iROxmas08 1_F_PRIEST,{
else if (.@SantaCardPrize == 12) {
getitem 594,3;
}
- set SantaCardTime,gettimetick(2)+3600;
+ SantaCardTime = gettimetick(2)+3600;
mes "[Santa Claus]";
mes "Good job! Thanks for playing the card game with me!";
mes "Merry Christmas!";