summaryrefslogtreecommitdiff
path: root/npc/001-10-1
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-01-09 19:08:31 -0200
committerJesusaves <cpntb1@ymail.com>2019-01-09 19:08:31 -0200
commitf17bdfb197fa163f4a11b475b3d351f90ba395f9 (patch)
treec3554ca2f3c26e98c4d674c44c23a0e335c60855 /npc/001-10-1
parent8ed1f40e40bbadc283dd2454656b975a241e80b1 (diff)
downloadserverdata-f17bdfb197fa163f4a11b475b3d351f90ba395f9.tar.gz
serverdata-f17bdfb197fa163f4a11b475b3d351f90ba395f9.tar.bz2
serverdata-f17bdfb197fa163f4a11b475b3d351f90ba395f9.tar.xz
serverdata-f17bdfb197fa163f4a11b475b3d351f90ba395f9.zip
Fix bugs at Call Of Dusty
Diffstat (limited to 'npc/001-10-1')
-rw-r--r--npc/001-10-1/scripts.txt4
1 files changed, 2 insertions, 2 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;