summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--db/pre-re/skill_db.conf25
-rw-r--r--db/pre-re/skill_tree.conf1
-rw-r--r--npc/magic/final.txt8
-rw-r--r--npc/magic/level0-wand.txt18
-rw-r--r--npc/scripts.conf1
5 files changed, 52 insertions, 1 deletions
diff --git a/db/pre-re/skill_db.conf b/db/pre-re/skill_db.conf
index 196974f7..3ce93c4a 100644
--- a/db/pre-re/skill_db.conf
+++ b/db/pre-re/skill_db.conf
@@ -38600,7 +38600,7 @@ skill_db: (
Name: "SKILL_FLAR"
Description: "Flar"
MaxLevel: 10
- Range: 8
+ Range: 5
SkillType: {
Enemy: true
}
@@ -38621,6 +38621,29 @@ skill_db: (
}
}
},
+{
+ Id: 20023
+ Name: "SKILL_CONFRINGO"
+ Description: "Confringo"
+ 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: 3
+ }
+},
// 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 2602048b..0a8a975a 100644
--- a/db/pre-re/skill_tree.conf
+++ b/db/pre-re/skill_tree.conf
@@ -63,6 +63,7 @@ Talpan: {
SKILL_RAGING: 0
// Level 0
+ SKILL_CONFRINGO: 9
// Level 1
SKILL_ABIZIT: 1
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",