diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-01-09 19:08:31 -0200 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-01-09 19:08:31 -0200 |
commit | f17bdfb197fa163f4a11b475b3d351f90ba395f9 (patch) | |
tree | c3554ca2f3c26e98c4d674c44c23a0e335c60855 /npc | |
parent | 8ed1f40e40bbadc283dd2454656b975a241e80b1 (diff) | |
download | serverdata-f17bdfb197fa163f4a11b475b3d351f90ba395f9.tar.gz serverdata-f17bdfb197fa163f4a11b475b3d351f90ba395f9.tar.bz2 serverdata-f17bdfb197fa163f4a11b475b3d351f90ba395f9.tar.xz serverdata-f17bdfb197fa163f4a11b475b3d351f90ba395f9.zip |
Fix bugs at Call Of Dusty
Diffstat (limited to 'npc')
-rw-r--r-- | npc/001-10-1/scripts.txt | 4 | ||||
-rw-r--r-- | npc/018-2-1/dustman.txt | 7 |
2 files changed, 7 insertions, 4 deletions
diff --git a/npc/001-10-1/scripts.txt b/npc/001-10-1/scripts.txt index 0c507dab4..cfda99a6f 100644 --- a/npc/001-10-1/scripts.txt +++ b/npc/001-10-1/scripts.txt @@ -24,14 +24,14 @@ OnVictory: getitem BottledDust, 1; maptimer("001-10-1", 100, "#COD_BossManager::OnReward1"); - maptimer("001-10-1", 100, "#COD_BossManager::OnReward2"); + maptimer("001-10", 100, "#COD_BossManager::OnReward2"); donpcevent("Colonel DUSTMAN::OnCoDEnd"); end; // Handle rewards: 10 dust for winner party on boss room, 1 dust for everyone else // on boss room, 1 dust for winner party outside boss room OnReward1: - if ((.pwin > 0 && getcharid(1) == .pwin) || strcharinfo(0) == .awin$) + if ((.pwin > 0 && getcharid(1) == .pwin) || strcharinfo(0) == .win$) getitem BottledDust, 10; else getitem BottledDust, 1; diff --git a/npc/018-2-1/dustman.txt b/npc/018-2-1/dustman.txt index 089725d26..03736fe72 100644 --- a/npc/018-2-1/dustman.txt +++ b/npc/018-2-1/dustman.txt @@ -132,6 +132,8 @@ L_SkipIntro: if (.state == 0) { mesn; mesq l("The event starts hourly, when the minute clock hits zero. I'll tell everyone on this room when it starts and ends."); + next; + mesn; mesc l("Do you want to exchange some of your @@ @@ for items?", countitem(BottledDust), getitemlink(BottledDust)); mes ""; if (askyesno() == ASK_YES) { @@ -141,6 +143,7 @@ L_SkipIntro: close; } + mesc l("Do you want to participate on Call Of Dusty?"); // Do you want to participate? if (askyesno() == ASK_YES) { mes ""; @@ -205,13 +208,13 @@ OnInit: OnMinute00: .state=1; donpcevent("#COD_BossManager::OnEventStart"); - npctalk l("Call Of Dusty: Event Start!"); + npctalk("Call Of Dusty: Event Start!"); end; OnCoDEnd: OnMinute15: .state=0; - npctalk l("Call Of Dusty: Event End!"); + npctalk("Call Of Dusty: Event End!"); end; OnMinute30: |