summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-07-24 17:50:17 -0300
committerJesusaves <cpntb1@ymail.com>2021-07-24 17:50:17 -0300
commitd1de48ff1f8e3f9b30cc1fa6e785c4883e6884f1 (patch)
treeaffec46d34b996ac0efe88d52a6ca530d9a09d7d
parentcc561befe13af2dab5a3e292c77b587afee44364 (diff)
downloadserverdata-d1de48ff1f8e3f9b30cc1fa6e785c4883e6884f1.tar.gz
serverdata-d1de48ff1f8e3f9b30cc1fa6e785c4883e6884f1.tar.bz2
serverdata-d1de48ff1f8e3f9b30cc1fa6e785c4883e6884f1.tar.xz
serverdata-d1de48ff1f8e3f9b30cc1fa6e785c4883e6884f1.zip
Make maps, and use some duct tape on the FIXME's warnings
-rw-r--r--npc/006-2-1/_import.txt2
-rw-r--r--npc/006-2/_mobs.txt1
-rw-r--r--npc/018-7-1/demure.txt9
3 files changed, 6 insertions, 6 deletions
diff --git a/npc/006-2-1/_import.txt b/npc/006-2-1/_import.txt
index 7a60f1202..d5dc0758e 100644
--- a/npc/006-2-1/_import.txt
+++ b/npc/006-2-1/_import.txt
@@ -3,7 +3,7 @@
"npc/006-2-1/_mobs.txt",
"npc/006-2-1/_warps.txt",
"npc/006-2-1/chirp.txt",
-"npc/006-2-1/server.txt",
"npc/006-2-1/lune.txt",
"npc/006-2-1/miltaco.txt",
"npc/006-2-1/plum.txt",
+"npc/006-2-1/server.txt",
diff --git a/npc/006-2/_mobs.txt b/npc/006-2/_mobs.txt
index 56a83d86b..ea4136dd7 100644
--- a/npc/006-2/_mobs.txt
+++ b/npc/006-2/_mobs.txt
@@ -1,7 +1,6 @@
// This file is generated automatically. All manually added changes will be removed when running the Converter.
// Map 006-2: The Piou Islands mobs
006-2,68,72,9,6 monster Forest Piou 1202,5,30000,30000
-006-2,68,72,6,5 monster Shrewboo 1435,4,30000,30000
006-2,92,100,9,6 monster Piousse 1003,12,30000,30000
006-2,68,101,9,6 monster Mana Piou 1155,8,30000,30000
006-2,44,100,9,6 monster Piou 1002,18,30000,30000
diff --git a/npc/018-7-1/demure.txt b/npc/018-7-1/demure.txt
index bcb08251e..869b68c30 100644
--- a/npc/018-7-1/demure.txt
+++ b/npc/018-7-1/demure.txt
@@ -140,7 +140,6 @@ OnDem2:
Zeny += rand2(500, 1500)*max(1, @d_mode2);
// FIXME: Add a proper reward
maptimer2(.@m$, 100, strnpcinfo(NPC_NAME_UNIQUE)+"::OnBye");
- // FIXME: @d_* might not be set
01871_Demure_BlackBox();
}
end;
@@ -177,9 +176,11 @@ OnDem1:
// And finally, change form (ressurect)
.@m=monster(.@m$, 87, 57, strmobinfo(1, DemureSecondForm), DemureSecondForm, 1, strnpcinfo(NPC_NAME_UNIQUE)+"::OnDem2");
- .@p=getunitdata(.@m, UDT_MAXHP);
- setunitdata(.@m, UDT_MAXHP, .@p*@d_count*@d_mode3);
- setunitdata(.@m, UDT_HP, .@p*@d_count*@d_mode3);
+ if (@d_count) {
+ .@p=getunitdata(.@m, UDT_MAXHP);
+ setunitdata(.@m, UDT_MAXHP, .@p*@d_count*@d_mode3);
+ setunitdata(.@m, UDT_HP, .@p*@d_count*@d_mode3);
+ }
mapannounce(getmap(), .@n$+"I'll leave a 2x2 black square where you used to be!", bc_map | bc_pc);
end;