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/quests/okolnir.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/quests/okolnir.txt')
-rw-r--r-- | npc/quests/okolnir.txt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/npc/quests/okolnir.txt b/npc/quests/okolnir.txt index a9772ed5a..4d5cb4910 100644 --- a/npc/quests/okolnir.txt +++ b/npc/quests/okolnir.txt @@ -194,7 +194,7 @@ que_qsch05,345,23,0 warp Gate02#gq_sch05 1,1,schg_cas05,369,306 .@GID = getcastledata(.@t$,1); if (getcharid(2) == .@GID) { cutin "wish_maiden31",1; - if (strcharinfo(0) == getguildmaster(.@GID)) { + if (strcharinfo(PC_NAME) == getguildmaster(.@GID)) { mes "[Wish Maiden]"; mes "I am... Wish maiden."; mes "Mourning in this virtual realm, Okolnir."; @@ -258,7 +258,7 @@ que_qsch05,345,23,0 warp Gate02#gq_sch05 1,1,schg_cas05,369,306 donpcevent "#okolnir_"+.@sub$+"::OnEnable"; disablenpc "Wish Maiden#gq_"+.@sub$; cutin "wish_maiden11",255; - announce "["+ strcharinfo(0) +"], of the guild ["+ getguildname(.@GID) +"] has opened the gates to the realm of Okolnir.",bc_all,"0x70dbdb"; + announce "["+ strcharinfo(PC_NAME) +"], of the guild ["+ getguildname(.@GID) +"] has opened the gates to the realm of Okolnir.",bc_all,"0x70dbdb"; end; } else { @@ -447,7 +447,7 @@ OnTouch: case 6: .@m = 1659; break; default: .@m = 1652; break; } - monster "que_q"+getarg(0),getarg(1),getarg(2),strcharinfo(0),.@m,1,"#Gate_manager_"+getarg(0)+"::OnMyMobDead"; + monster "que_q"+getarg(0),getarg(1),getarg(2),strcharinfo(PC_NAME),.@m,1,"#Gate_manager_"+getarg(0)+"::OnMyMobDead"; return; } @@ -2162,7 +2162,7 @@ que_qsch05,251,255,3 duplicate(Wish Maiden#main_boss) Wish Maiden#sch05_boss WIS .@t$ = ((compare(strnpcinfo(NPC_MAP),"aru"))?"arug_cas0":"schg_cas0")+(charat(strnpcinfo(NPC_MAP),getstrlen(strnpcinfo(NPC_MAP))-1)); .@GID = getcastledata(.@t$,1); if (getcharid(2) == .@GID) { - if (strcharinfo(0) == getguildmaster(.@GID)) { + if (strcharinfo(PC_NAME) == getguildmaster(.@GID)) { if (compare(.@sub$,"aru")) { setarray .@n, 7835,1,7836,1,7837,1,7838,1,2513,1,7291,10,7293,10,7063,100,985,20; .@rwd = 2541; //Asprika @@ -2198,7 +2198,7 @@ que_qsch05,251,255,3 duplicate(Wish Maiden#main_boss) Wish Maiden#sch05_boss WIS delitem .@n[.@i],.@n[.@i+1]; getitem .@rwd,1; getitem Valkyrie_Gift,1; - announce "["+ strcharinfo(0) +"], of guild ["+ getguildname(.@GID) +"] has brought a "+getitemname(.@rwd)+" into this world.",bc_all,"0x70dbdb"; + announce "["+ strcharinfo(PC_NAME) +"], of guild ["+ getguildname(.@GID) +"] has brought a "+getitemname(.@rwd)+" into this world.",bc_all,"0x70dbdb"; close2; cutin "wish_maiden11",255; disablenpc "Wish Maiden#"+.@sub$+"_gift"; |