diff options
author | Asheraf <acheraf1998@gmail.com> | 2016-10-09 14:46:30 +0100 |
---|---|---|
committer | Asheraf <acheraf1998@gmail.com> | 2016-10-16 12:51:22 +0100 |
commit | 062f2cf4235cf07481ecaf58682f37f2ad8928f8 (patch) | |
tree | 30fd352940f19ba058705ca338a61339e10e4ead /npc/other/arena/arena_party.txt | |
parent | 9c777dfc4ce6d84e7da89d896baa05786e574a99 (diff) | |
download | hercules-062f2cf4235cf07481ecaf58682f37f2ad8928f8.tar.gz hercules-062f2cf4235cf07481ecaf58682f37f2ad8928f8.tar.bz2 hercules-062f2cf4235cf07481ecaf58682f37f2ad8928f8.tar.xz hercules-062f2cf4235cf07481ecaf58682f37f2ad8928f8.zip |
Change *getcharid to use constants
Diffstat (limited to 'npc/other/arena/arena_party.txt')
-rw-r--r-- | npc/other/arena/arena_party.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/npc/other/arena/arena_party.txt b/npc/other/arena/arena_party.txt index ad341e8a9..d7865d441 100644 --- a/npc/other/arena/arena_party.txt +++ b/npc/other/arena/arena_party.txt @@ -1025,7 +1025,7 @@ prt_are_in,77,135,3 script Staff#party-2 1_F_02,{ mes "[Staff]"; mes "^3131FF"+$arena_pttopn$+"^000000's running time was ^3131FF"+$top_ptmin+"^000000minutes ^3131FF"+$top_ptsec+"^000000seconds."; next; - .arn_party = getcharid(1); + .arn_party = getcharid(CHAR_ID_PARTY); if (@gappt < 0) { mes "[Staff]"; mes "Although you failed to make a new record, I hope you will succeed next time."; @@ -1053,7 +1053,7 @@ prt_are_in,77,135,3 script Staff#party-2 1_F_02,{ mes "See you later~"; close2; } - if(getpartyleader(.arn_party,2) == getcharid(0)) { + if(getpartyleader(.arn_party,2) == getcharid(CHAR_ID_CHAR)) { donpcevent "#arn_timer_pt::OnStop"; donpcevent "alloff#pt::OnEnable"; donpcevent "Ponox::OnStart"; @@ -1068,7 +1068,7 @@ prt_are_in,77,135,3 script Staff#party-2 1_F_02,{ mes "Wow! You have renewed the record!"; mes "What a great job!"; next; - if(getpartyleader(.arn_party,2) == getcharid(0)) { + if(getpartyleader(.arn_party,2) == getcharid(CHAR_ID_CHAR)) { mes "[Staff]"; mes "You can record you and your party members on ^FF0000the hall of Arena Time Force Battle party ^000000."; mes "When you enter a name, the name will be remained on the top unless someone make a new record."; @@ -1131,7 +1131,7 @@ prt_are_in,77,135,3 script Staff#party-2 1_F_02,{ mes "See you later~"; close2; } - if(getpartyleader(.arn_party,2) == getcharid(0)) { + if(getpartyleader(.arn_party,2) == getcharid(CHAR_ID_CHAR)) { donpcevent "#arn_timer_pt::OnStop"; donpcevent "alloff#pt::OnEnable"; donpcevent "Ponox::OnStart"; |