summaryrefslogtreecommitdiff
path: root/npc/quests/skills/acolyte_skills.txt
diff options
context:
space:
mode:
authorLupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-09-20 08:28:08 +0000
committerLupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-09-20 08:28:08 +0000
commitbbf301437385ee28ec2056532ebbffe28911f5bb (patch)
tree38188693eb9b46f33a60fde24716afff30f910a6 /npc/quests/skills/acolyte_skills.txt
parent36a3a6ea0a2f16329f9d6fba5bab1f5a0a9e9988 (diff)
downloadhercules-bbf301437385ee28ec2056532ebbffe28911f5bb.tar.gz
hercules-bbf301437385ee28ec2056532ebbffe28911f5bb.tar.bz2
hercules-bbf301437385ee28ec2056532ebbffe28911f5bb.tar.xz
hercules-bbf301437385ee28ec2056532ebbffe28911f5bb.zip
1s job skill quests optimization. now using @temp vars
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8820 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/quests/skills/acolyte_skills.txt')
-rw-r--r--npc/quests/skills/acolyte_skills.txt15
1 files changed, 8 insertions, 7 deletions
diff --git a/npc/quests/skills/acolyte_skills.txt b/npc/quests/skills/acolyte_skills.txt
index f3c1de796..584207fc7 100644
--- a/npc/quests/skills/acolyte_skills.txt
+++ b/npc/quests/skills/acolyte_skills.txt
@@ -3,7 +3,7 @@
//===== By: ==================================================
//= kobra_k88
//===== Current Version: =====================================
-//= 1.4
+//= 1.4a
//===== Compatible With: =====================================
//= eAthena 7.15 +
//===== Description: =========================================
@@ -14,6 +14,7 @@
//= 1.2 Added Baby Class Support [Lupus]
//= 1.3 Removed callfunc Is_####_Class in favor of baseClass [Silentdragon]
//= 1.4 Fixed an exploit [Lupus]
+//= 1.4a changed perm. variables to temp ones [Lupus]
//============================================================
@@ -29,8 +30,8 @@ L_Other:
close;
L_Start:
- if (HOLYLIGHT == 1) goto L_Check;
- if (getskilllv(156)>0) goto L_GotSkill;
+ if(@HOLYLIGHT) goto L_Check;
+ if(getskilllv(156)>0) goto L_GotSkill;
if(sex==1) mes "Ahh... Brother!";
if(sex==0) mes "Ahh... Sister!";
mes "Does the task of caring for our lost sheep tire you out? Is it too";
@@ -73,7 +74,7 @@ L_Start:
next;
mes "[Acolyte Klift]";
mes "Come back when you are ready. I will be here.";
- set HOLYLIGHT, 1;
+ set @HOLYLIGHT, 1;
close;
M_End:
mes "[Acolyte Klift]";
@@ -85,8 +86,8 @@ L_Check:
mes "So, are you ready for the Holy Light training? Let me check....";
next;
mes "[Acolyte Klift]";
- if (BaseJob==Job_Acolyte && JobLevel<30) goto L_LowLvl;
- if (countitem(727)<1 || countitem(991)<1 || countitem(2608)<1) goto L_NoItems;
+ if(BaseJob==Job_Acolyte && JobLevel<30) goto L_LowLvl;
+ if(countitem(727)<1 || countitem(991)<1 || countitem(2608)<1) goto L_NoItems;
delitem 727,1;
delitem 991,1;
delitem 2608,1;
@@ -101,7 +102,7 @@ L_Check:
mes "Yes! I feel it. You have released your hidden abilities and can now";
mes "use ^5555FFHoly Light^000000!";
skill 156,1,0;
- set HOLYLIGHT, 0;
+ set @HOLYLIGHT, 0;
next;
mes "[Priest]";
mes "You have done well. May God bless you!";