diff options
author | Asheraf <acheraf1998@gmail.com> | 2016-08-29 17:40:13 +0100 |
---|---|---|
committer | hemagx <ibrahem.h.basyone@gmail.com> | 2016-09-02 04:56:00 +0200 |
commit | 0f1d0507eb95cf07ce7eb66d89ad9853938612e6 (patch) | |
tree | 57780b1ecc7c5ae125be1c89406f8db1e00a581b /npc/jobs/2-1/wizard.txt | |
parent | 0f1d03f505fdc03533122db8ba19fa55f64f11b7 (diff) | |
download | hercules-0f1d0507eb95cf07ce7eb66d89ad9853938612e6.tar.gz hercules-0f1d0507eb95cf07ce7eb66d89ad9853938612e6.tar.bz2 hercules-0f1d0507eb95cf07ce7eb66d89ad9853938612e6.tar.xz hercules-0f1d0507eb95cf07ce7eb66d89ad9853938612e6.zip |
change *strcharinfo to use constants
Diffstat (limited to 'npc/jobs/2-1/wizard.txt')
-rw-r--r-- | npc/jobs/2-1/wizard.txt | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/npc/jobs/2-1/wizard.txt b/npc/jobs/2-1/wizard.txt index be8192762..40721b064 100644 --- a/npc/jobs/2-1/wizard.txt +++ b/npc/jobs/2-1/wizard.txt @@ -132,7 +132,7 @@ gef_tower,111,37,4 script Wizard Guildsman 1_F_GYPSY,{ } mes "[Catherine]"; mes "Very well then, I accept your application."; - mes "Your name is..." + strcharinfo(0) + ", isn't it? I am not sure if I pronounced it correctly?"; + mes "Your name is..." + strcharinfo(PC_NAME) + ", isn't it? I am not sure if I pronounced it correctly?"; next; mes "[Catherine]"; mes "The Wizard job change quest is divided into 3 parts."; @@ -1132,7 +1132,7 @@ OnMyMobDead: --.MyMobs; if (.MyMobs < 1) { ++WIZ_Q2; - mapannounce "job_wiz",strcharinfo(0)+" has succeeded in eliminating the monsters.",bc_map; + mapannounce "job_wiz",strcharinfo(PC_NAME)+" has succeeded in eliminating the monsters.",bc_map; donpcevent "Room of Water#Door::OnEnable"; stopnpctimer; } @@ -1219,7 +1219,7 @@ OnDisable: OnMyMobDead: --.MyMobs; if (.MyMobs < 1) { - mapannounce "job_wiz",strcharinfo(0)+" has succeeded in eliminating the monsters.",bc_map; + mapannounce "job_wiz",strcharinfo(PC_NAME)+" has succeeded in eliminating the monsters.",bc_map; percentheal 100,100; warp "job_wiz",116,97; donpcevent "Room of Water#Door::OnDisable"; @@ -1266,7 +1266,7 @@ OnInit: end; OnTouch: - mapannounce "job_wiz",strcharinfo(0)+" has not succeeded.",bc_map; + mapannounce "job_wiz",strcharinfo(PC_NAME)+" has not succeeded.",bc_map; warp "geffen",120,110; end; } @@ -1304,7 +1304,7 @@ OnDisable: OnMyMobDead: --.MyMobs; if (.MyMobs < 1) { - mapannounce "job_wiz",strcharinfo(0) + " has succeeded in eliminating the monsters.",bc_map; + mapannounce "job_wiz",strcharinfo(PC_NAME) + " has succeeded in eliminating the monsters.",bc_map; donpcevent "Room of Earth#Door::OnEnable"; stopnpctimer; } @@ -1396,7 +1396,7 @@ OnDisable: OnMyMobDead: --.MyMobs; if (.MyMobs < 1) { - mapannounce "job_wiz",strcharinfo(0) + " has succeeded in eliminating the monster.",bc_map; + mapannounce "job_wiz",strcharinfo(PC_NAME) + " has succeeded in eliminating the monster.",bc_map; percentheal 100,100; warp "job_wiz",46,99; donpcevent "Room of Earth#Door::OnDisable"; @@ -1443,7 +1443,7 @@ OnInit: end; OnTouch: - mapannounce "job_wiz",strcharinfo(0) + " has not succeeded.",bc_map; + mapannounce "job_wiz",strcharinfo(PC_NAME) + " has not succeeded.",bc_map; warp "geffen",120,110; end; } @@ -1479,7 +1479,7 @@ OnDisable: OnMyMobDead: --.MyMobs; if (.MyMobs < 1) { - mapannounce "job_wiz",strcharinfo(0) + " has succeeded in eliminating the monsters.",bc_map; + mapannounce "job_wiz",strcharinfo(PC_NAME) + " has succeeded in eliminating the monsters.",bc_map; donpcevent "Room of Fire#Door::OnEnable"; stopnpctimer; } @@ -1569,7 +1569,7 @@ OnDisable: OnMyMobDead: --.MyMobs; if (.MyMobs < 1) { - mapannounce "job_wiz","Congratulations, " + strcharinfo(0) + ". You have passed the job change test.",bc_map; + mapannounce "job_wiz","Congratulations, " + strcharinfo(PC_NAME) + ". You have passed the job change test.",bc_map; WIZ_Q = 7; changequest 9017,9018; donpcevent "Room of Fire#Door::OnDisable"; |