summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorsamuray22 <samuray22@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-06-19 14:47:51 +0000
committersamuray22 <samuray22@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-06-19 14:47:51 +0000
commitecac2e1b8ca85cea921ab1231db880b36ffe7ba5 (patch)
treef18b949677801d4230ee9c6b1a7442b760e88d9f /npc
parent389cd549d18ad1d8b3fd601646ab4e9caf1f84b1 (diff)
downloadhercules-ecac2e1b8ca85cea921ab1231db880b36ffe7ba5.tar.gz
hercules-ecac2e1b8ca85cea921ab1231db880b36ffe7ba5.tar.bz2
hercules-ecac2e1b8ca85cea921ab1231db880b36ffe7ba5.tar.xz
hercules-ecac2e1b8ca85cea921ab1231db880b36ffe7ba5.zip
* Fixed Some variables like "@item", and changed to ".@item".
- Thanks to BrainStorm for the fix. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10783 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc')
-rw-r--r--npc/Changelog.txt3
-rw-r--r--npc/jobs/2-2/crusader.txt35
2 files changed, 21 insertions, 17 deletions
diff --git a/npc/Changelog.txt b/npc/Changelog.txt
index fafef4e38..af9526954 100644
--- a/npc/Changelog.txt
+++ b/npc/Changelog.txt
@@ -1,5 +1,8 @@
Date Added
======
+2007/06/19
+ * Fixed Some variables like "@item", and changed to ".@item". [Samuray22]
+ - Thanks to BrainStorm for the fix.
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 83582f5b6..b5a3f9f93 100644
--- a/npc/jobs/2-2/crusader.txt
+++ b/npc/jobs/2-2/crusader.txt
@@ -1,10 +1,10 @@
-//===== eAthena Script =======================================
+////===== eAthena Script =======================================
//= Crusader Quest
//===== By: ==================================================
//= Made by: Black Dragon
//= Converted by: Shin
//===== Current Version: =====================================
-//= 2.6
+//= 2.7
//===== Compatible With: =====================================
//= eAthena 0.5.2 +
//===== Description: =========================================
@@ -41,6 +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)
//============================================================
@@ -182,7 +183,7 @@ prt_castle,45,169,5 script Senior Crusader 752,{
mes "10 ^3355FF"+getitemname(901)+"^000000";
next;
}
- else if(@cru_m1 == 2) {
+ else if(.@cru_m1 == 2) {
set CRUS_Q, 2;
mes "10 ^3355FF"+getitemname(932)+"^000000";
mes "10 ^3355FF"+getitemname(1043)+"^000000";
@@ -233,13 +234,13 @@ prt_castle,45,169,5 script Senior Crusader 752,{
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.";
@@ -247,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...";
@@ -260,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.";
@@ -1498,4 +1499,4 @@ job_cru mapflag nosave SavePoint
job_cru mapflag nopenalty
job_cru mapflag nobranch
job_cru mapflag noexp
-job_cru mapflag noloot
+job_cru mapflag noloot \ No newline at end of file