summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--db/pre-re/skill_db.conf28
-rw-r--r--db/pre-re/skill_tree.conf1
-rw-r--r--npc/015-1/sword.txt3
-rw-r--r--npc/magic/final.txt3
-rw-r--r--npc/magic/level1-flare-dart.txt14
-rw-r--r--npc/scripts.conf1
6 files changed, 47 insertions, 3 deletions
diff --git a/db/pre-re/skill_db.conf b/db/pre-re/skill_db.conf
index 7c201e3e..abd93387 100644
--- a/db/pre-re/skill_db.conf
+++ b/db/pre-re/skill_db.conf
@@ -38567,7 +38567,7 @@ skill_db: (
Id: 20020
Name: "EVOL_AREA_PROVOKE"
Description: "Itenplz"
- MaxLevel: 9
+ MaxLevel: 10
SkillType: {
//Self: true
Friend: true // <- Can it aim an enemy??
@@ -38596,6 +38596,32 @@ skill_db: (
SPCost: 1
}
},
+{
+ Id: 20022
+ Name: "SKILL_FLAR"
+ Description: "Flar"
+ MaxLevel: 10
+ Range: 8
+ SkillType: {
+ Enemy: true
+ }
+ SkillInfo: {
+ Quest: true
+ }
+ Hit: "BDT_SKILL"
+ AttackType: "Magic"
+ Element: "Ele_Fire"
+ DamageType: {
+ NoDamage: true
+ }
+ CoolDown: 500
+ Requirements: {
+ SPCost: 10
+ Items: {
+ SulphurPowder: 1
+ }
+ }
+},
// Wand Abizit FlareDart Alizarin Cobalt Gamboge Mauve Lum MagicBlade Sulphur Kalmurk Parum ArrowHail Barrier(OK) EnchantLifestone FlyingBackpack(?) Joyplim Hide(?) LayOnHands Ingrav Knuclkes MakeArrow MakeIronPowder MakeShirt MakeTanktop MakeSTanktop Protect Rain Shear SFluffy SMouboo SPinkie SSnake SSPiky SWicked ToxicDart Necro
)
diff --git a/db/pre-re/skill_tree.conf b/db/pre-re/skill_tree.conf
index adae55d6..2602048b 100644
--- a/db/pre-re/skill_tree.conf
+++ b/db/pre-re/skill_tree.conf
@@ -67,6 +67,7 @@ Talpan: {
// Level 1
SKILL_ABIZIT: 1
EVOL_AREA_PROVOKE: 9
+ SKILL_FLAR: 9
// Level 2
EVOL_PHYSICAL_SHIELD: 5
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