From 54604096ac53398778a5481613061216fe47e5bc Mon Sep 17 00:00:00 2001 From: Haru Date: Sun, 26 Oct 2014 05:00:08 +0100 Subject: Replaced 'set' with direct assignment where applicable (quests subfolders) Signed-off-by: Haru --- npc/quests/newgears/2006_headgears.txt | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) (limited to 'npc/quests/newgears/2006_headgears.txt') diff --git a/npc/quests/newgears/2006_headgears.txt b/npc/quests/newgears/2006_headgears.txt index a777db3f3..cc5c87752 100644 --- a/npc/quests/newgears/2006_headgears.txt +++ b/npc/quests/newgears/2006_headgears.txt @@ -122,7 +122,7 @@ rachel,152,131,3 script Sakjul 4_M_MIDDLE1,{ mes "- THUD THUD -"; mes "- BOOM -"; next; - set .@result,rand(1,10); + .@result = rand(1,10); if (.@result == 4) { delitem 5172,1; //Beret delitem 7063,100; //Soft_Feather @@ -210,7 +210,7 @@ rachel,152,131,3 script Sakjul 4_M_MIDDLE1,{ //============================================================ hugel,147,103,3 script Ghenirhemin 4_M_HUGRANFA,{ if (moza_valkylie == 5) { - set .@val2,rand(1,10); + .@val2 = rand(1,10); if (.@val2 == 3) { specialeffect EF_LIGHTSPHERE; mes "[Ghenirhemin]"; @@ -243,7 +243,7 @@ hugel,147,103,3 script Ghenirhemin 4_M_HUGRANFA,{ mes "Please take pride in yourself, and"; mes "do not disgrace this Helm through evil doings."; next; - set moza_valkylie,0; + moza_valkylie = 0; getitem 5171,1; //Valkyrie_Helm mes "[Ghenirhemin]"; mes "May God bless this adventurer"; @@ -258,7 +258,7 @@ hugel,147,103,3 script Ghenirhemin 4_M_HUGRANFA,{ close; } else if (moza_valkylie == 4) { - set .@val,rand(1,10); + .@val = rand(1,10); if (.@val == 7) { mes "[Ghenirhemin]"; mes "............"; @@ -270,7 +270,7 @@ hugel,147,103,3 script Ghenirhemin 4_M_HUGRANFA,{ mes "I can't...I can't believe that"; mes "this is what happens in Valhala!"; next; - set moza_valkylie,5; + moza_valkylie = 5; mes "[Ghenirhemin]"; mes "We are now witnessess of the God's grace...ah...."; close; @@ -280,7 +280,7 @@ hugel,147,103,3 script Ghenirhemin 4_M_HUGRANFA,{ close; } else if (moza_valkylie == 3) { - set moza_valkylie,4; + moza_valkylie = 4; mes "[Ghenirhemin]"; mes "Will you stop being anxious?"; mes "Just relax and wait, will you?"; @@ -320,7 +320,7 @@ hugel,147,103,3 script Ghenirhemin 4_M_HUGRANFA,{ delitem 7511,1000; //Rune_Of_Darkness delitem 7563,1000; //Bloody_Rune Zeny -= 10000000; - set moza_valkylie,3; + moza_valkylie = 3; mes "[Ghenirhemin]"; mes "Now I am all nervous"; mes "in anticipation of a good result. Hahahaha."; @@ -348,7 +348,7 @@ hugel,147,103,3 script Ghenirhemin 4_M_HUGRANFA,{ mes "It surely is a reasonable price considering that "; mes "you are about to obtain a godly power, don't you think?"; next; - set moza_valkylie,2; + moza_valkylie = 2; mes "[Ghenirhemin]"; mes "Let's discuss it later"; mes "once you prepare the money and the items."; @@ -448,7 +448,7 @@ hugel,147,103,3 script Ghenirhemin 4_M_HUGRANFA,{ mes "It surely is a reasonable price considering that "; mes "you are about to obtain a godly power, don't you think?"; next; - set moza_valkylie,2; + moza_valkylie = 2; mes "[Ghenirhemin]"; mes "Let's discuss it later"; mes "once you prepare the money and the items."; @@ -533,7 +533,7 @@ hugel,147,103,3 script Ghenirhemin 4_M_HUGRANFA,{ mes "However, there is something that I can show you."; mes "Now, take a look at this."; next; - set moza_valkylie,1; + moza_valkylie = 1; mes "[Ghenirhemin]"; mes "See? This surely tells you that"; mes "I am not making things up!"; @@ -670,7 +670,7 @@ payon,135,320,3 script Chungwolmang 4W_M_01,{ } delitem 7201,500; //Log delitem 7200,10; //Flexible_String - set moza_tal,2; + moza_tal = 2; next; mes "[Chungwolmang]"; mes "...Why are you eyeing at me?"; @@ -733,7 +733,7 @@ payon,135,320,3 script Chungwolmang 4W_M_01,{ mes "In fact, I can't pay you back unless I have them."; next; delitem 706,1; //Four_Leaf_Clover - set moza_tal,1; + moza_tal = 1; mes "[Chungwolmang]"; mes "You want me to pay you back, don't you?"; mes "So, please bring them to me, please~"; @@ -787,7 +787,7 @@ S_MakeMask: if (getarg(0) == 5169) delitem getarg(7),getarg(8); getitem getarg(0),1; - set moza_tal,0; + moza_tal = 0; mes "[Chungwolmang]"; mes "Wow, it was a piece of cake!"; mes "You know, I am not an artisan only in title."; @@ -853,7 +853,7 @@ payon_in03,139,124,3 script Han Garam 4_M_ORIENT01,{ delitem 733,5; //Crystal_Jewel___ delitem 975,1; //Scarlet_Dyestuffs delitem 7166,50; //Soft_Silk_Cloth - set moza_korea,0; + moza_korea = 0; getitem 5174,1; //A_yam mes "[Han Garam]"; mes "Now I need to meet with the Dragon God again,"; @@ -915,7 +915,7 @@ payon_in03,139,124,3 script Han Garam 4_M_ORIENT01,{ delitem 733,5; //Crystal_Jewel___ delitem 983,1; //Black_Dyestuffs delitem 2221,1; //Hat_ - set moza_korea,0; + moza_korea = 0; getitem 5173,1; //Judge_Hat mes "[Han Garam]"; mes "Now I need to meet with the Dragon God again,"; @@ -1022,7 +1022,7 @@ payon_in03,139,124,3 script Han Garam 4_M_ORIENT01,{ mes "You heard what materials I need, don't you?"; mes "Choose a hat, and bring me its materials without missing anything."; next; - set moza_korea,2; + moza_korea = 2; mes "[Han Garam]"; mes "Okay then, I will be waiting you to come back."; close; @@ -1074,7 +1074,7 @@ payon_in03,139,124,3 script Han Garam 4_M_ORIENT01,{ delitem 7448,7; //Yellow_Orb delitem 7445,7; //Green_Orb delitem 7447,7; //Red_Orb - set moza_korea,1; + moza_korea = 1; mes "[Han Garam]"; mes "...Okay, give me some time to focus."; close; -- cgit v1.2.3-70-g09d2