diff options
Diffstat (limited to 'npc/functions')
-rw-r--r-- | npc/functions/main.txt | 9 | ||||
-rw-r--r-- | npc/functions/weather.txt | 1 |
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); |