diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-04-14 01:24:30 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-04-14 01:24:30 -0300 |
commit | 48a9da45c535830e88cf4534619244d7083df769 (patch) | |
tree | 49e73624350b19f3dbe706e27f7d04bbfe2078f1 /npc | |
parent | af9cf0288f1ff4e0b5a3cbdffbefe4dfcd243576 (diff) | |
download | serverdata-48a9da45c535830e88cf4534619244d7083df769.tar.gz serverdata-48a9da45c535830e88cf4534619244d7083df769.tar.bz2 serverdata-48a9da45c535830e88cf4534619244d7083df769.tar.xz serverdata-48a9da45c535830e88cf4534619244d7083df769.zip |
Add Confringo
Diffstat (limited to 'npc')
-rw-r--r-- | npc/magic/final.txt | 8 | ||||
-rw-r--r-- | npc/magic/level0-wand.txt | 18 | ||||
-rw-r--r-- | npc/scripts.conf | 1 |
3 files changed, 27 insertions, 0 deletions
diff --git a/npc/magic/final.txt b/npc/magic/final.txt index 0907836c..5eec2e09 100644 --- a/npc/magic/final.txt +++ b/npc/magic/final.txt @@ -32,12 +32,20 @@ function script HUB_SkillInvoke { case TMW2_FAKESKILL: charcommand("@refresh"); // Possibly broken on too up-to-date Herc break; + // Level 0 + case SKILL_CONFRINGO: + SK_Confringo(); break; + // Level 1 case SKILL_ABIZIT: SK_Abizit(); break; case EVOL_AREA_PROVOKE: SK_Itenplz(); break; case SKILL_FLAR: SK_Flar(); break; + // Level 2 + // Level 3 + // Level 4 + // Level 5 //////////////////////////////// /* / XXX: Healing Class case TMW2_FIRSTAID: diff --git a/npc/magic/level0-wand.txt b/npc/magic/level0-wand.txt new file mode 100644 index 00000000..0673253b --- /dev/null +++ b/npc/magic/level0-wand.txt @@ -0,0 +1,18 @@ +// The Mana World script +// Author: Jesusalva <jesusalva@themanaworld.org> +// +// Magic Script: SKILL_CONFRINGO (Level 1) +// School: General 0 + +function script SK_Confringo { + // Additional checks + if (QL_MORGAN == 2) + set QL_MORGAN, 3; + // Effective magic code + .@PW=10+(10*@skillLv); + .@dmg=AdjustSpellpower(.@PW); + harm(@skillTarget, .@dmg, HARM_MAGI, Ele_Neutral); + return; +} + + diff --git a/npc/scripts.conf b/npc/scripts.conf index c066d65f..ab3ab4fa 100644 --- a/npc/scripts.conf +++ b/npc/scripts.conf @@ -66,6 +66,7 @@ //Magic "npc/magic/config.txt", +"npc/magic/level0-wand.txt", "npc/magic/level1-aggravate.txt", "npc/magic/level1-experience.txt", "npc/magic/level1-flare-dart.txt", |