diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-07-02 02:24:25 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-07-02 02:24:25 -0300 |
commit | 0f08303a69b83711ad9469711cb45f63983d9ccb (patch) | |
tree | c5f6dd96f8a9dac339d1a8a255338e6e2c3ddc22 /npc | |
parent | 8b88a3c2505c8ded1350ce603357424a8158a4a2 (diff) | |
download | serverdata-0f08303a69b83711ad9469711cb45f63983d9ccb.tar.gz serverdata-0f08303a69b83711ad9469711cb45f63983d9ccb.tar.bz2 serverdata-0f08303a69b83711ad9469711cb45f63983d9ccb.tar.xz serverdata-0f08303a69b83711ad9469711cb45f63983d9ccb.zip |
Fix bug
Diffstat (limited to 'npc')
-rw-r--r-- | npc/003-1/lieutenantdausen.txt | 17 |
1 files changed, 11 insertions, 6 deletions
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: |