summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-05-27 14:21:26 -0300
committerJesusaves <cpntb1@ymail.com>2021-05-27 14:21:26 -0300
commit9d8ad0a54aa559d3d121037bd19a993afe72506f (patch)
tree655bdd0057bd56ca9ea04af5963e39293f1c9593
parent5c9b7b96ea78205dc428f38822b9e9f5e401c7e3 (diff)
downloadserverdata-9d8ad0a54aa559d3d121037bd19a993afe72506f.tar.gz
serverdata-9d8ad0a54aa559d3d121037bd19a993afe72506f.tar.bz2
serverdata-9d8ad0a54aa559d3d121037bd19a993afe72506f.tar.xz
serverdata-9d8ad0a54aa559d3d121037bd19a993afe72506f.zip
Some bugfixes, related to MLP
-rw-r--r--npc/001-7/celestia_bossfight.txt6
-rw-r--r--npc/003-1-1/yetiking.txt2
2 files changed, 4 insertions, 4 deletions
diff --git a/npc/001-7/celestia_bossfight.txt b/npc/001-7/celestia_bossfight.txt
index fb0ce8945..43aa6b451 100644
--- a/npc/001-7/celestia_bossfight.txt
+++ b/npc/001-7/celestia_bossfight.txt
@@ -51,19 +51,19 @@ L_Survivor:
mesq l("In this world, your friends are your strength. You deserve a reward for the victory, please choose whatever you want.");
select
l("I want a gemstone or ore"),
- l("I want experience"),
+ rif(!countitem(MirrorLakeArmor), l("I want experience")),
l("I want gold"),
l("I want coal"),
l("I want monster points");
mes "";
- .@r=rand(1,100)+(@YetiKing_Challenger*5);
+ .@r=rand2(1,100)+(@YetiKing_Challenger*5);
switch (@menu) {
case 1:
if (.@r > 70)
getitem rand2(Diamond, Amethyst), 1;
else
- getitem rand2(CopperOre, (REBRITH ? IridiumOre : TitaniumOre)), any(1,2);
+ getitem rand2(CopperOre, (REBIRTH ? IridiumOre : TitaniumOre)), any(1,2);
break;
case 2:
.@r+=BaseLevel;
diff --git a/npc/003-1-1/yetiking.txt b/npc/003-1-1/yetiking.txt
index e6f311217..fa255bcd2 100644
--- a/npc/003-1-1/yetiking.txt
+++ b/npc/003-1-1/yetiking.txt
@@ -120,7 +120,7 @@ OnSummonTalk:
goto L_Die;
if (@menu == 3)
close;
- if (BaseLevel < 35) {
+ if (BaseLevel < 35 && !countitem(MirrorLakeArmor)) {
mesn l("Dah Yeti King!!");
mesq l("You? Have you ever looked in the mirror? You're not even level 35. Begone.");
close;