summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--db/pre-re/skill_db.conf82
-rw-r--r--db/pre-re/skill_tree.conf4
-rw-r--r--npc/magic/final.txt5
-rw-r--r--npc/magic/level1-grow-plants.txt23
-rw-r--r--npc/scripts.conf1
5 files changed, 114 insertions, 1 deletions
diff --git a/db/pre-re/skill_db.conf b/db/pre-re/skill_db.conf
index e1b09515..81d7c6b0 100644
--- a/db/pre-re/skill_db.conf
+++ b/db/pre-re/skill_db.conf
@@ -38667,6 +38667,86 @@ skill_db: (
SPCost: 3
}
},
-// 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
+{
+ Id: 20025
+ Name: "SKILL_MODRIPHOO"
+ Description: "Modriphoo"
+ MaxLevel: 9
+ SkillType: {
+ Self: true
+ }
+ SkillInfo: {
+ Quest: true
+ }
+ CoolDown: 2000
+ Requirements: {
+ SPCost: 4
+ Items: {
+ Root: 1
+ AlizarinHerb: 1
+ }
+ }
+},
+{
+ Id: 20026
+ Name: "SKILL_MODRISUMP"
+ Description: "Modrisump"
+ MaxLevel: 9
+ SkillType: {
+ Self: true
+ }
+ SkillInfo: {
+ Quest: true
+ }
+ CoolDown: 2000
+ Requirements: {
+ SPCost: 4
+ Items: {
+ Root: 1
+ CobaltHerb: 1
+ }
+ }
+},
+{
+ Id: 20027
+ Name: "SKILL_MODRIYIKAM"
+ Description: "Modriykam"
+ MaxLevel: 9
+ SkillType: {
+ Self: true
+ }
+ SkillInfo: {
+ Quest: true
+ }
+ CoolDown: 2000
+ Requirements: {
+ SPCost: 4
+ Items: {
+ Root: 1
+ GambogeHerb: 1
+ }
+ }
+},
+{
+ Id: 20028
+ Name: "SKILL_MODRILAX"
+ Description: "Modrilax"
+ MaxLevel: 9
+ SkillType: {
+ Self: true
+ }
+ SkillInfo: {
+ Quest: true
+ }
+ CoolDown: 2000
+ Requirements: {
+ SPCost: 4
+ Items: {
+ Root: 1
+ MauveHerb: 1
+ }
+ }
+},
+// 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 fe956da4..b6cdfbac 100644
--- a/db/pre-re/skill_tree.conf
+++ b/db/pre-re/skill_tree.conf
@@ -70,6 +70,10 @@ Talpan: {
SKILL_MONSTERINFO: 1
EVOL_AREA_PROVOKE: 9
SKILL_FLAR: 9
+ SKILL_MODRIPHOO: 9
+ SKILL_MODRISUMP: 9
+ SKILL_MODRIYIKAM: 9
+ SKILL_MODRILAX: 9
// Level 2
EVOL_PHYSICAL_SHIELD: 5
diff --git a/npc/magic/final.txt b/npc/magic/final.txt
index 7c1e48a0..1cd93e40 100644
--- a/npc/magic/final.txt
+++ b/npc/magic/final.txt
@@ -44,6 +44,11 @@ function script HUB_SkillInvoke {
SK_Itenplz(); break;
case SKILL_FLAR:
SK_Flar(); break;
+ case SKILL_MODRIPHOO:
+ case SKILL_MODRISUMP:
+ case SKILL_MODRIYIKAM:
+ case SKILL_MODRILAX:
+ SK_GrowPlants(); break;
// Level 2
// Level 3
// Level 4
diff --git a/npc/magic/level1-grow-plants.txt b/npc/magic/level1-grow-plants.txt
new file mode 100644
index 00000000..c3a1a102
--- /dev/null
+++ b/npc/magic/level1-grow-plants.txt
@@ -0,0 +1,23 @@
+// The Mana World script
+// Author: Jesusalva <jesusalva@themanaworld.org>
+//
+// Magic Script: Multiple (Level 1)
+// School: Nature 1
+
+function script SK_GrowPlants {
+ // Setup
+ switch (@skillId) {
+ case SKILL_MODRIPHOO:
+ .@it = AlizarinHerb; .@mobId = AlizarinPlant; break;
+ case SKILL_MODRISUMP:
+ .@it = CobaltHerb; .@mobId = CobaltPlant; break;
+ case SKILL_MODRIYIKAM:
+ .@it = GambogeHerb; .@mobId = GambogePlant; break;
+ case SKILL_MODRILAX:
+ .@it = MauveHerb; .@mobId = MauvePlant; break;
+ }
+ // Continue but with a special flag
+ SK_summon(.@mobId, 2, 1, false);
+ return;
+}
+
diff --git a/npc/scripts.conf b/npc/scripts.conf
index f6c7387c..6a0c79b8 100644
--- a/npc/scripts.conf
+++ b/npc/scripts.conf
@@ -71,6 +71,7 @@
"npc/magic/level1-aggravate.txt",
"npc/magic/level1-experience.txt",
"npc/magic/level1-flare-dart.txt",
+"npc/magic/level1-grow-plants.txt",
"npc/magic/final.txt",
// Commands