diff options
author | Lupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-09-20 08:28:08 +0000 |
---|---|---|
committer | Lupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-09-20 08:28:08 +0000 |
commit | bbf301437385ee28ec2056532ebbffe28911f5bb (patch) | |
tree | 38188693eb9b46f33a60fde24716afff30f910a6 /npc/quests/skills/mage_skills.txt | |
parent | 36a3a6ea0a2f16329f9d6fba5bab1f5a0a9e9988 (diff) | |
download | hercules-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/mage_skills.txt')
-rw-r--r-- | npc/quests/skills/mage_skills.txt | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/npc/quests/skills/mage_skills.txt b/npc/quests/skills/mage_skills.txt index 90c0ddd28..7b94c3deb 100644 --- a/npc/quests/skills/mage_skills.txt +++ b/npc/quests/skills/mage_skills.txt @@ -3,7 +3,7 @@ //===== By: ==================================================
//= kobra_k88
//===== Current Version: =====================================
-//= 1.4
+//= 1.4b
//===== Compatible With: =====================================
//= eAthena 7.15 +
//===== Description: =========================================
@@ -15,6 +15,7 @@ //= 1.3 Removed callfunc Is_####_Class in favor of baseClass [Silentdragon]
//= 1.4 Fixed exploit [Lupus]
//= 1.4a Fixed some typos [IVBela]
+//= 1.4b changed perm. variables to temp ones [Lupus]
//============================================================
@@ -29,7 +30,7 @@ L_Other: close;
L_Start:
- if(ENRGYCOAT == 1) goto L_GetSkill;
+ if(@ENRGYCOAT) goto L_GetSkill;
if(getskilllv(157)>0) goto L_GotSkill;
mes "Hey! My friend! I see that you are a magic user. If you look within yourself, you'll find that you have... 'HIDDEN ABILITIES'!!";
next;
@@ -65,7 +66,7 @@ L_Start: next;
mes "[BLIZZARDRISS]";
mes "When you are fully trained and have all of the required items come back and see me.";
- set ENRGYCOAT, 1;
+ set @ENRGYCOAT, 1;
close;
sM_End:
@@ -91,7 +92,7 @@ L_GetSkill: mes "~ several hours later ~";
next;
skill 157,1,0;
- set ENRGYCOAT,0;
+ set @ENRGYCOAT,0;
mes "[BLIZZARDRISS]";
mes "You can now use the spell, 'Energy Coat'!! Use it wisely my friend!";
emotion e_no1;
|