diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-02-26 14:30:50 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-02-26 14:30:50 -0300 |
commit | 52ee0b69d9b4e338d6854a62c2800f1e09bce20a (patch) | |
tree | 91a3222431ece58c0f2ad5ca970997a03b7e9307 /npc | |
parent | 72f62c743624dcaf116b4d5f5f7a8717538bb480 (diff) | |
download | serverdata-52ee0b69d9b4e338d6854a62c2800f1e09bce20a.tar.gz serverdata-52ee0b69d9b4e338d6854a62c2800f1e09bce20a.tar.bz2 serverdata-52ee0b69d9b4e338d6854a62c2800f1e09bce20a.tar.xz serverdata-52ee0b69d9b4e338d6854a62c2800f1e09bce20a.zip |
Fix typos. Obviously defeating Pinkie Emperor in party yields more rewards
Diffstat (limited to 'npc')
-rw-r--r-- | npc/025-2-3/boss.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/npc/025-2-3/boss.txt b/npc/025-2-3/boss.txt index a2ed20fe3..fa9ea4b2d 100644 --- a/npc/025-2-3/boss.txt +++ b/npc/025-2-3/boss.txt @@ -13,25 +13,25 @@ OnTimer3600000: OnInit: setarray .xp, 268, 55, 371, 482, 212; setarray .yp, 90, 45, 38, 114, 148; - .@tg=rand(getarraysize(.xp)-1); + .@tg=rand2(getarraysize(.xp)-1); monster "025-2-3", .xp[.@tg], .yp[.@tg], strmobinfo(1, PinkieEmperor), PinkieEmperor, 1, "#BossCtrl_025-2-3::OnBossDeath"; end; OnBossDeath: initnpctimer; .@party=getcharid(1); + getitem StrangeCoin, 1; if (.@party > 0) { mapannounce "025-2-3", "Boss deafeated by Party: " + getpartyname(.@party), bc_all; - partytimer("025-2-4", 200, "#BossCtrl_025-2-3::OnBossReward"); + partytimer("025-2-3", 200, "#BossCtrl_025-2-3::OnBossReward"); } else { mapannounce "025-2-3", "Boss deafeated by: " + strcharinfo(0), bc_all; - getitem StrangeCoin, 1; } callfunc "02524_Revenge_BlackBox"; end; OnBossReward: if (ispcdead()) end; - getitem StrangeCoin, 1; + getitem StrangeCoin, getmapusers("025-2-3"); end; } |