From 9afe04e4757193c5fb8d65b67088d5371da37850 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 13 Jul 2021 22:03:24 -0300 Subject: Correct the "bare minimum" so the Final Showdown works again. It is way, way more lame than previously. --- npc/functions/main.txt | 9 ++++++++- npc/functions/weather.txt | 1 + 2 files changed, 9 insertions(+), 1 deletion(-) (limited to 'npc/functions') 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); -- cgit v1.2.3-60-g2f50