From b676c9500e036b0a87b81d99e20c93891f31b7fd Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Wed, 20 May 2020 10:24:46 -0300 Subject: Well, @Kolchak wanted a Nilfheim skill. Here we go; But it is not available yet (Magic Academy doesn't even have indoors.) --- npc/027-1/colin.txt | 5 +++++ npc/functions/hub.txt | 3 +++ npc/magic/nilfheim.txt | 17 +++++++++++++++++ npc/scripts.conf | 1 + 4 files changed, 26 insertions(+) create mode 100644 npc/magic/nilfheim.txt (limited to 'npc') diff --git a/npc/027-1/colin.txt b/npc/027-1/colin.txt index 9f3c2b36c..ace850ce8 100644 --- a/npc/027-1/colin.txt +++ b/npc/027-1/colin.txt @@ -33,6 +33,7 @@ l("Fire Walk"), SO_FIREWALK, l("Frost Nova"), WZ_FROSTNOVA, rif(getskilllv(MG_SOULSTRIKE), l("Lightining Bolt")), MG_LIGHTNINGBOLT, + //l("Nilfheim"), TMW2_NILFHEIM, rif(countitem(GemPowder), l("Exchange Gempowder for Quill")), -1, l("Cancel"), 0; mes ""; @@ -75,6 +76,10 @@ if (!mlearn(MG_LIGHTNINGBOLT, 4, 1, Quill, 1)) mesc l("You do not meet all requisites for this skill."), 1; break; + case TMW2_NILFHEIM: + if (!mlearn(TMW2_NILFHEIM, 1, 5, Quill, 1)) + mesc l("You do not meet all requisites for this skill."), 1; + break; default: if (@menuret) Exception("ERROR skill not implemented", RB_DEFAULT|RB_SPEECH); diff --git a/npc/functions/hub.txt b/npc/functions/hub.txt index 041827347..01167098e 100644 --- a/npc/functions/hub.txt +++ b/npc/functions/hub.txt @@ -281,6 +281,9 @@ function script HUB_SkillInvoke { case TMW2_GDP_SPREGEN: SK_spregen(); break; + case TMW2_NILFHEIM: + SK_nilfheim(); + break; case TMW2_PARUM: SK_parum(); break; diff --git a/npc/magic/nilfheim.txt b/npc/magic/nilfheim.txt new file mode 100644 index 000000000..fddabbbd5 --- /dev/null +++ b/npc/magic/nilfheim.txt @@ -0,0 +1,17 @@ +// TMW2 script +// Author: Jesusalva +// +// Magic Script: TMW2_NILFHEIM +// +// FREEZES IN A 18X18 SQUARE (Max Range) (Incl. boss) +// Made for Kolchak + +// SK_Nilfheim ( lv ) +// Supreme Freeze +function script SK_nilfheim { + .@lv=getarg(0, @skillLv); + // range, time, SC, BL, power, filter + areasc(18, 3000+(1000*.@lv), SC_FREEZE, BL_MOB | BL_PC | BL_HOM | BL_MER, 1, "filter_notme"); + return; +} + diff --git a/npc/scripts.conf b/npc/scripts.conf index 0f0f40175..3fdf0aada 100644 --- a/npc/scripts.conf +++ b/npc/scripts.conf @@ -132,6 +132,7 @@ "npc/magic/kalwulf.txt", "npc/magic/limerizer.txt", "npc/magic/mpregen.txt", +"npc/magic/nilfheim.txt", "npc/magic/transmigration.txt", "npc/magic/parum.txt", "npc/magic/plantkingdom.txt", -- cgit v1.2.3-60-g2f50