diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-05-20 10:24:46 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-05-20 10:24:46 -0300 |
commit | b676c9500e036b0a87b81d99e20c93891f31b7fd (patch) | |
tree | a6a2daac6916fe0658bba79e00e369ff27ea7589 /npc | |
parent | bffb946e37b24b5ef6276ee0ab9ac6509aed0783 (diff) | |
download | serverdata-b676c9500e036b0a87b81d99e20c93891f31b7fd.tar.gz serverdata-b676c9500e036b0a87b81d99e20c93891f31b7fd.tar.bz2 serverdata-b676c9500e036b0a87b81d99e20c93891f31b7fd.tar.xz serverdata-b676c9500e036b0a87b81d99e20c93891f31b7fd.zip |
Well, @Kolchak wanted a Nilfheim skill.
Here we go; But it is not available yet (Magic Academy doesn't even have indoors.)
Diffstat (limited to 'npc')
-rw-r--r-- | npc/027-1/colin.txt | 5 | ||||
-rw-r--r-- | npc/functions/hub.txt | 3 | ||||
-rw-r--r-- | npc/magic/nilfheim.txt | 17 | ||||
-rw-r--r-- | npc/scripts.conf | 1 |
4 files changed, 26 insertions, 0 deletions
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 <admin@tmw2.org> +// +// 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", |