From bf21490e97df513d1d106f040d6648cc6ef275b0 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Thu, 11 Mar 2021 11:59:11 -0300 Subject: Third bugfix patch - Bullets and Pentagrams --- npc/029-0/event.txt | 9 +++++++++ npc/029-1/pentagram.txt | 4 +++- 2 files changed, 12 insertions(+), 1 deletion(-) (limited to 'npc') diff --git a/npc/029-0/event.txt b/npc/029-0/event.txt index 4a50e508b..a72c8bf4f 100644 --- a/npc/029-0/event.txt +++ b/npc/029-0/event.txt @@ -73,6 +73,7 @@ OnInit: sellitem TitaniumOre, -1, 9; sellitem IridiumOre, -1, 6; sellitem PlatinumOre, -1, 3; + sellitem EarthPowder, -1, 3; sellitem AncientBlueprint, -1, 5; sellitem RustyKnife, -1, 5; @@ -92,6 +93,7 @@ OnInit: sellitem EquipmentBlueprintE, -1, 1; sellitem ArcmageBoxset, 10000, 4; + sellitem Bullet, -1, 90000; if (gettime(7) != 2021) disablenpc .name$; @@ -113,6 +115,7 @@ OnClock1201: restoreshopitem TitaniumOre, 9; restoreshopitem IridiumOre, 6; restoreshopitem PlatinumOre, 3; + restoreshopitem EarthPowder, 3; restoreshopitem AncientBlueprint, 5; restoreshopitem RustyKnife, 5; @@ -132,6 +135,12 @@ OnClock1201: restoreshopitem EquipmentBlueprintE, 1; restoreshopitem ArcmageBoxset, 10000, 4; + restoreshopitem Bullet, 90000; + end; + +OnMinute02: + if (gettime(7) != 2021 || !$FIRESOFSTEAM) end; + donpcevent "Neko::OnClock2359"; end; } diff --git a/npc/029-1/pentagram.txt b/npc/029-1/pentagram.txt index d3407413a..5efc34be6 100644 --- a/npc/029-1/pentagram.txt +++ b/npc/029-1/pentagram.txt @@ -25,7 +25,7 @@ l("Dark Crystal (5 power)"), l("Terranite Ore (3 power)"), l("Coal (2 power)"), - l("Cotton Cloth (0.5 power)"); + l("Cotton Cloth (1 power)"); mes ""; switch (@menu) { case 2: @@ -39,6 +39,7 @@ break; case 5: .@val=1;.@it=CottonCloth; + break; default: close; } @@ -48,6 +49,7 @@ .@val*=(readparam2(bInt)+100)/100; // Each int gives +1% delitem .@it, countitem(.@it); $FIRESOFSTEAM[.@id]-=.@val; + getexp 0, .@val*2; // TODO: Check & unlock if ($FIRESOFSTEAM[.@id] < 1) disablenpc .name$; -- cgit v1.2.3-70-g09d2