summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-07-13 22:03:24 -0300
committerJesusaves <cpntb1@ymail.com>2021-07-13 22:03:24 -0300
commit9afe04e4757193c5fb8d65b67088d5371da37850 (patch)
tree8ac9599b296f24c574f3877916535e7113458eab /npc/functions
parent78aed570499e1606f6a207a883c9eea0f38007ae (diff)
downloadserverdata-9afe04e4757193c5fb8d65b67088d5371da37850.tar.gz
serverdata-9afe04e4757193c5fb8d65b67088d5371da37850.tar.bz2
serverdata-9afe04e4757193c5fb8d65b67088d5371da37850.tar.xz
serverdata-9afe04e4757193c5fb8d65b67088d5371da37850.zip
Correct the "bare minimum" so the Final Showdown works again.
It is way, way more lame than previously.
Diffstat (limited to 'npc/functions')
-rw-r--r--npc/functions/main.txt9
-rw-r--r--npc/functions/weather.txt1
2 files changed, 9 insertions, 1 deletions
diff --git a/npc/functions/main.txt b/npc/functions/main.txt
index f9ec439d..06b12a30 100644
--- a/npc/functions/main.txt
+++ b/npc/functions/main.txt
@@ -747,6 +747,11 @@ function script updateskill {
return;
}
+function script npctalk2 {
+ npctalk getarg(1), getarg(0);
+ return;
+}
+
function script learnskill {
if (getskilllv(getarg(0)) < getarg(1, 1))
skill getarg(0), getarg(1, 1), 0;
@@ -764,8 +769,10 @@ function script spawndummy {
// Create monster, with optional event
if (.@e$ == "")
.@u=monster(.@m$, .@x, .@y, .@n$, .@id, 1);
- else
+ else {
.@u=monster(.@m$, .@x, .@y, .@n$, .@id, 1, .@e$);
+ debugmes "SPAWNDUMMY %s", .@e$;
+ }
// Reset unit data for script use
setunitdata(.@u, UDT_LEVEL, 1);
setunitdata(.@u, UDT_HP, 1);
diff --git a/npc/functions/weather.txt b/npc/functions/weather.txt
index 75605749..dacbd984 100644
--- a/npc/functions/weather.txt
+++ b/npc/functions/weather.txt
@@ -59,6 +59,7 @@ OnInit:
htput(.wcore, "052-1", CLIMATE_MODERATE);
htput(.wcore, "055-1", CLIMATE_MODERATE);
htput(.wcore, "057-1", CLIMATE_MODERATE);
+ htput(.wcore, "099-5", CLIMATE_MODERATE); // Doomsday Boss Room
// Icelands
htput(.wcore, "019-1", CLIMATE_ICELAND);