summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorsamuray22 <samuray22@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-06-19 16:45:28 +0000
committersamuray22 <samuray22@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-06-19 16:45:28 +0000
commitb3304b8304f1746943c8010503d5fca7be3876d1 (patch)
tree7f7bafd5abeec3541c57868bc787ca42b7f762b6 /npc
parentecac2e1b8ca85cea921ab1231db880b36ffe7ba5 (diff)
downloadhercules-b3304b8304f1746943c8010503d5fca7be3876d1.tar.gz
hercules-b3304b8304f1746943c8010503d5fca7be3876d1.tar.bz2
hercules-b3304b8304f1746943c8010503d5fca7be3876d1.tar.xz
hercules-b3304b8304f1746943c8010503d5fca7be3876d1.zip
* Fixed Some variables like ".@item", and changed to "@item".
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10785 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc')
-rw-r--r--npc/Changelog.txt3
-rw-r--r--npc/jobs/2-2/crusader.txt44
2 files changed, 23 insertions, 24 deletions
diff --git a/npc/Changelog.txt b/npc/Changelog.txt
index af9526954..aedcb3fb3 100644
--- a/npc/Changelog.txt
+++ b/npc/Changelog.txt
@@ -1,8 +1,7 @@
Date Added
======
2007/06/19
- * Fixed Some variables like "@item", and changed to ".@item". [Samuray22]
- - Thanks to BrainStorm for the fix.
+ * Fixed Some variables like ".@item", and changed to "@item". [Samuray22]
2007/06/18
* Updated Dialogs from "Pretend Murdered Quest". [Samuray22]
* Updated Dialogs from "Stop Post Quest". [Samuray22]
diff --git a/npc/jobs/2-2/crusader.txt b/npc/jobs/2-2/crusader.txt
index b5a3f9f93..e499299ea 100644
--- a/npc/jobs/2-2/crusader.txt
+++ b/npc/jobs/2-2/crusader.txt
@@ -41,7 +41,7 @@
//= 2.5 Fixed some spelling and grammar in crusader quest. [L0ne_W0lf]
//= 2.6 Fixed bug (about totally blocked baby class), optimized,
//= made some NPC more unique names: Monster Summon#cr1 [Lupus]
-//= 2.7 Fixed Some variables like "@item", and changed to ".@item". [Samuray22] (Thanks to BrainStorm)
+//= 2.7 Fixed Some variables like ".@item", and changed to "@item". [Samuray22]
//============================================================
@@ -222,25 +222,25 @@ prt_castle,45,169,5 script Senior Crusader 752,{
next;
switch(CRUS_Q) {
case 1:
- set .@item1, 957;
- set .@item2, 959;
- set .@item3, 1099;
- set .@item4, 901;
+ set @item1, 957;
+ set @item2, 959;
+ set @item3, 1099;
+ set @item4, 901;
break;
Case 2:
- set .@item1, 932;
- set .@item2, 1043;
- set .@item3, 1098;
- set .@item4, 1094;
+ set @item1, 932;
+ set @item2, 1043;
+ set @item3, 1098;
+ set @item4, 1094;
break;
Case 3:
- set .@item1, 958;
- set .@item2, 930;
- set .@item3, 1041;
- set .@item4, 1062;
+ set @item1, 958;
+ set @item2, 930;
+ set @item3, 1041;
+ set @item4, 1062;
break;
}
- if (countitem(.@item1) > 9 && countitem(.@item2) > 9 && countitem(.@item3) > 9 && countitem(.@item4) > 9) {
+ if (countitem(@item1) > 9 && countitem(@item2) > 9 && countitem(@item3) > 9 && countitem(@item4) > 9) {
mes "[Michael Halig]";
mes "Ah, well done.";
mes "I must acknowledge your efforts and determination. You may now proceed to take the next test.";
@@ -248,10 +248,10 @@ prt_castle,45,169,5 script Senior Crusader 752,{
mes "[Michael Halig]";
mes "Meet with Moorenak Miyol who is training in the underground dungeon of the Prontera Castle. Go, and speak with him first.";
next;
- delitem .@item1, 10;
- delitem .@item2, 10;
- delitem .@item3, 10;
- delitem .@item4, 10;
+ delitem @item1, 10;
+ delitem @item2, 10;
+ delitem @item3, 10;
+ delitem @item4, 10;
set CRUS_Q, 4;
mes "[Michael Halig]";
mes "Moorenak and others like him will test the limits of your capabilities and help you find your path. Return to me after you have completed their tests...";
@@ -261,10 +261,10 @@ prt_castle,45,169,5 script Senior Crusader 752,{
mes "Ah, you still have not completed the task I have given to you. Bring me the following items, and prove your will to become a Crusader to me...";
next;
mes "[Michael Halig]";
- mes "10 ^3355FF"+getitemname(.@item1)+"^000000";
- mes "10 ^3355FF"+getitemname(.@item2)+"^000000";
- mes "10 ^3355FF"+getitemname(.@item3)+"^000000";
- mes "10 ^3355FF"+getitemname(.@item4)+"^000000";
+ mes "10 ^3355FF"+getitemname(@item1)+"^000000";
+ mes "10 ^3355FF"+getitemname(@item2)+"^000000";
+ mes "10 ^3355FF"+getitemname(@item3)+"^000000";
+ mes "10 ^3355FF"+getitemname(@item4)+"^000000";
next;
mes "[Michael Halig]";
mes "If you put forth the effort, you'll be able to accomplish this task. May Odin protect you on your journeys.";