summaryrefslogtreecommitdiff
path: root/npc/other/gympass.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/other/gympass.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/other/gympass.txt')
-rw-r--r--npc/other/gympass.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/npc/other/gympass.txt b/npc/other/gympass.txt
index 3f15debc1..8f5bd738d 100644
--- a/npc/other/gympass.txt
+++ b/npc/other/gympass.txt
@@ -50,8 +50,8 @@ payon,173,141,4 script Ripped Cabus#GymPass 4_M_HUMAN_02,{
switch(select("Yes:No:Um, my workouts wore off.")) {
case 1:
if (gympassmemory < 10) {
- set .@add_carry,gympassmemory + 1;
- set .@remain_carry,10 - .@add_carry;
+ .@add_carry = gympassmemory + 1;
+ .@remain_carry = 10 - .@add_carry;
if (countitem(7776) > 0) {
mes "[Ripped]";
mes "Oh, awesome, I see you";
@@ -76,8 +76,8 @@ payon,173,141,4 script Ripped Cabus#GymPass 4_M_HUMAN_02,{
mes "^FF00000" + .@remain_carry + "^000000 more times if we continue";
mes "training together like this.";
delitem 7776,1; //Max_Weight_Up_Scroll
- set gympassmemory,.@add_carry;
- skill "ALL_INCCARRY",.@add_carry,3;
+ gympassmemory = .@add_carry;
+ skill ALL_INCCARRY,.@add_carry,3;
close;
}
else {