diff options
Diffstat (limited to 'npc')
-rw-r--r-- | npc/015-1/sword.txt | 3 | ||||
-rw-r--r-- | npc/magic/final.txt | 3 | ||||
-rw-r--r-- | npc/magic/level1-flare-dart.txt | 14 | ||||
-rw-r--r-- | npc/scripts.conf | 1 |
4 files changed, 19 insertions, 2 deletions
diff --git a/npc/015-1/sword.txt b/npc/015-1/sword.txt index 4979ca74..f4be43b3 100644 --- a/npc/015-1/sword.txt +++ b/npc/015-1/sword.txt @@ -108,7 +108,8 @@ L_Initial_ok: mes "\"Oh, my apologies – that was a little overly dramatic. But I do not get to talk to thy kin anymore all that often.\""; next; mes "[Mystic Sword]"; - mes "\"For the flare dart spell throw a handful of sulphur powder up into the air, and say, '" + get(.invocation$, "flare-dart") + "'.\""; + mes "\"For the flare dart spell throw a handful of sulphur powder up into the air, and say, '" + b("flar") + "'.\""; + learnskill SKILL_FLAR; @Q_status = @STATUS_LEARNED_FLAREDART; callsub S_Update_Var; next; diff --git a/npc/magic/final.txt b/npc/magic/final.txt index f610f01c..f8a4c054 100644 --- a/npc/magic/final.txt +++ b/npc/magic/final.txt @@ -36,7 +36,8 @@ function script HUB_SkillInvoke { SK_Abizit(); break; case EVOL_AREA_PROVOKE: SK_Itenplz(); break; - break; + case SKILL_FLAR: + SK_Flar(); break; //////////////////////////////// /* / XXX: Healing Class case TMW2_FIRSTAID: diff --git a/npc/magic/level1-flare-dart.txt b/npc/magic/level1-flare-dart.txt new file mode 100644 index 00000000..27eeea72 --- /dev/null +++ b/npc/magic/level1-flare-dart.txt @@ -0,0 +1,14 @@ +// The Mana World script +// Author: Jesusalva <jesusalva@themanaworld.org> +// +// Magic Script: SKILL_FLAR (Level 1) +// School: War 1 + +function script SK_Flar { + .@PW=100+(10*@skillLv); + .@dmg=AdjustSpellpower(.@PW); + harm(@skillTarget, .@dmg, HARM_MAGI, Ele_Fire); + GetManaExp(@skillId, 1); + return; +} + diff --git a/npc/scripts.conf b/npc/scripts.conf index 8c84c7b0..26805df0 100644 --- a/npc/scripts.conf +++ b/npc/scripts.conf @@ -67,6 +67,7 @@ "npc/magic/config.txt", "npc/magic/level1-aggravate.txt", "npc/magic/level1-experience.txt", +"npc/magic/level1-flare-dart.txt", "npc/magic/final.txt", // Commands |