diff options
author | Jesusaves <cpntb1@ymail.com> | 2023-07-13 13:38:00 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2023-07-13 13:38:00 -0300 |
commit | 8c510f9f5868e4cd251c338ab4609eee32b42cbd (patch) | |
tree | cd366ace333b969916b8b8a69f16091b4b56378e /npc | |
parent | 5eece0fed1731009c928488a5150d417b9c7f8a6 (diff) | |
download | serverdata-8c510f9f5868e4cd251c338ab4609eee32b42cbd.tar.gz serverdata-8c510f9f5868e4cd251c338ab4609eee32b42cbd.tar.bz2 serverdata-8c510f9f5868e4cd251c338ab4609eee32b42cbd.tar.xz serverdata-8c510f9f5868e4cd251c338ab4609eee32b42cbd.zip |
Complaint Dragon by Hocus
Diffstat (limited to 'npc')
-rw-r--r-- | npc/003-2-1/demure.txt | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/npc/003-2-1/demure.txt b/npc/003-2-1/demure.txt index 357577db1..0e3e0b841 100644 --- a/npc/003-2-1/demure.txt +++ b/npc/003-2-1/demure.txt @@ -7,15 +7,22 @@ RegEasterEgg(EE_DEMURE, 5); + if (countitem(ComplaintForm) > 100) { + delitem ComplaintForm, 100; + Zeny+=100*getiteminfo(ComplaintForm, ITEMINFO_SELLPRICE); + dispbottom l("Due to a bug, all your complaint forms became money!"); + RegEasterEgg(EE_COMPLAINT, 15); + } + // Let's try without freeloop mesn any("NotSoBot", "Demure"); - if (rand(1,5) <= 2) + if (rand2(1,5) <= 2) mes "Blame Saulc"; - .@mx=rand(6,12); + .@mx=rand2(6,12); for (.@i = 0; .@i < .@mx; ++.@i) { mes "leave Complaints"; - if (rand(1,5) == 3) + if (rand2(1,5) == 3) mes ""; if (.@i == 10) { next; @@ -23,12 +30,12 @@ mes any("leave Complaints", "Blame Saulc"); } } - if (rand(1,5) >= 4) + if (rand2(1,5) >= 4) mes "Blame Saulc"; close; OnHydra: - areamonster "003-2-1", 20, 20, 65, 60, strmobinfo(1, GreenDragon), GreenDragon, any(1,1,2), "NotSoBot::OnHydra2"; + areamonster "003-2-1", 20, 20, 65, 60, strmobinfo(1, ComplaintDragon), ComplaintDragon, any(1,1,2), "NotSoBot::OnHydra2"; setq Q_DragonFarm, getq(Q_DragonFarm)+1; if (getq(Q_DragonFarm) > 100) goto L_Kick; end; |