summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-03-11 11:59:11 -0300
committerJesusaves <cpntb1@ymail.com>2021-03-11 11:59:11 -0300
commitbf21490e97df513d1d106f040d6648cc6ef275b0 (patch)
tree89ae3acd9675e2aab31a36a0febef09c1208c369
parent8ce533641bb32279eecae995ed0b4fba03ff5dd2 (diff)
downloadserverdata-bf21490e97df513d1d106f040d6648cc6ef275b0.tar.gz
serverdata-bf21490e97df513d1d106f040d6648cc6ef275b0.tar.bz2
serverdata-bf21490e97df513d1d106f040d6648cc6ef275b0.tar.xz
serverdata-bf21490e97df513d1d106f040d6648cc6ef275b0.zip
Third bugfix patch - Bullets and Pentagrams
-rw-r--r--npc/029-0/event.txt9
-rw-r--r--npc/029-1/pentagram.txt4
2 files changed, 12 insertions, 1 deletions
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$;