From 0f08303a69b83711ad9469711cb45f63983d9ccb Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 2 Jul 2018 02:24:25 -0300 Subject: Fix bug --- npc/003-1/lieutenantdausen.txt | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) (limited to 'npc/003-1/lieutenantdausen.txt') diff --git a/npc/003-1/lieutenantdausen.txt b/npc/003-1/lieutenantdausen.txt index 4f4e790db..ef46df66d 100644 --- a/npc/003-1/lieutenantdausen.txt +++ b/npc/003-1/lieutenantdausen.txt @@ -163,32 +163,37 @@ OnGuardDeath: OnBlackScorpionDeath: areamonster("004-1", 0, 0, 79, 81, l("Black Scorpion"), BlackScorpion, 1, "Lieutenant Dausen::OnBlackScorpionDeath"); - if (rand(10000) <= 90+($@SIEGE_TULIM*10)) - getitem StrangeCoin, 1; + getmapxy(.@m$,.@x,.@y,3); + if (rand(10000) <= 90+($@SIEGE_TULIM*100)) + makeitem StrangeCoin, 1, .@m$, .@x, .@y; end; OnBlackScorpion2Death: areamonster("003-1", 0, 0, 120, 155, l("Black Scorpion"), BlackScorpion, 1, "Lieutenant Dausen::OnBlackScorpion2Death"); + getmapxy(.@m$,.@x,.@y,3); if (rand(10000) <= 850+($@SIEGE_TULIM*100)) - getitem StrangeCoin, 1; + makeitem StrangeCoin, 1, .@m$, .@x, .@y; end; OnGreenSlimeDeath: areamonster("003-1", 0, 0, 120, 155, l("Green Slime"), 1085, 1, "Lieutenant Dausen::OnGreenSlimeDeath"); + getmapxy(.@m$,.@x,.@y,3); if (rand(10000) <= 200+($@SIEGE_TULIM*100)) - getitem StrangeCoin, 1; + makeitem StrangeCoin, 1, .@m$, .@x, .@y; end; OnCandiedSlimeDeath: areamonster("003-1", 0, 0, 120, 155, l("Candied Slime"), 1089, 1, "Lieutenant Dausen::OnCandiedSlimeDeath"); + getmapxy(.@m$,.@x,.@y,3); if (rand(10000) <= 150+($@SIEGE_TULIM*100)) - getitem StrangeCoin, 1; + makeitem StrangeCoin, 1, .@m$, .@x, .@y; end; OnManaGhostDeath: areamonster("003-1", 0, 0, 120, 155, l("Mana Ghost"), 1068, 1, "Lieutenant Dausen::OnManaGhostDeath"); + getmapxy(.@m$,.@x,.@y,3); if (rand(10000) <= 900+($@SIEGE_TULIM*100)) - getitem StrangeCoin, 1; + makeitem StrangeCoin, 1, .@m$, .@x, .@y; end; OnLieutenantDeath: -- cgit v1.2.3-60-g2f50