summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-06-25 07:39:03 -0300
committerJesusaves <cpntb1@ymail.com>2020-06-25 07:39:03 -0300
commitfc5892ccf67faf40c3da9e6454600eb8cc7cec5c (patch)
tree18548819f3682f447cf742b7059fee1b5dce4c3d
parent4774e7beea749dcca652aa80bb8358496c44adb2 (diff)
downloadserverdata-fc5892ccf67faf40c3da9e6454600eb8cc7cec5c.tar.gz
serverdata-fc5892ccf67faf40c3da9e6454600eb8cc7cec5c.tar.bz2
serverdata-fc5892ccf67faf40c3da9e6454600eb8cc7cec5c.tar.xz
serverdata-fc5892ccf67faf40c3da9e6454600eb8cc7cec5c.zip
Prepare the last skill from Sagratha :3
-rw-r--r--db/re/item_db.conf1
-rw-r--r--db/re/skill_db.conf41
-rw-r--r--db/re/skill_tree.conf1
-rw-r--r--npc/014-5-1/sagratha.txt21
-rw-r--r--npc/functions/hub.txt4
5 files changed, 67 insertions, 1 deletions
diff --git a/db/re/item_db.conf b/db/re/item_db.conf
index ff724b6b0..3ef25b4ee 100644
--- a/db/re/item_db.conf
+++ b/db/re/item_db.conf
@@ -12703,6 +12703,7 @@ item_db: (
skill TMW2_PLANTKINGDOM, 9;
skill TMW2_FAIRYKINGDOM, 9;
skill TMW2_DUCKY, 10;
+ skill TMW2_FAIRYEMPIRE, 10;
">
OnUnequipScript: <"
diff --git a/db/re/skill_db.conf b/db/re/skill_db.conf
index 49feb297a..061dfa29f 100644
--- a/db/re/skill_db.conf
+++ b/db/re/skill_db.conf
@@ -39509,4 +39509,45 @@ skill_db: (
Lv10: 30000
}
},
+{
+ Id: 20049
+ Name: "TMW2_FAIRYEMPIRE"
+ Description: "Fairy Empire"
+ MaxLevel: 10
+ SkillType: {
+ Self: true
+ }
+ SkillInfo: {
+ Quest: true
+ }
+ CoolDown: {
+ Lv1: 45000
+ Lv2: 44000
+ Lv3: 43000
+ Lv4: 42000
+ Lv5: 41000
+ Lv6: 40000
+ Lv7: 38000
+ Lv8: 37000
+ Lv9: 36000
+ Lv10: 35000
+ }
+ Requirements: {
+ SPCost: {
+ Lv1: 40
+ Lv2: 44
+ Lv3: 48
+ Lv4: 52
+ Lv5: 56
+ Lv6: 60
+ Lv7: 64
+ Lv8: 68
+ Lv9: 72
+ Lv10: 75
+ }
+ Items: {
+ FluoPowder: 3
+ }
+ }
+},
)
diff --git a/db/re/skill_tree.conf b/db/re/skill_tree.conf
index f35ca74b2..23522862a 100644
--- a/db/re/skill_tree.conf
+++ b/db/re/skill_tree.conf
@@ -66,6 +66,7 @@ Human: {
TMW2_KALSPIKE: 5
TMW2_CUTEHEART: 5
TMW2_PLANTKINGDOM: 5
+ TMW2_FAIRYEMPIRE: 5
// Thieves/Merchant-Police
ALL_INCCARRY: 0
diff --git a/npc/014-5-1/sagratha.txt b/npc/014-5-1/sagratha.txt
index 604dd0c87..91914ff2e 100644
--- a/npc/014-5-1/sagratha.txt
+++ b/npc/014-5-1/sagratha.txt
@@ -432,6 +432,27 @@ function teachMagic {
skill TMW2_STONEHEART, 1, 0;
setq General_Sagratha, 11;
break;
+ case 12:
+ if (MAGIC_LVL < 7)
+ goto L_Magicless;
+ mesn;
+ mesc l("@@ nods reluctantly.", .name$);
+ mesq l("If you try take any more power from the Mana Seed, I'll kill you.");
+ next;
+ mesn;
+ mesq l("Seven levels is what the Mana Seed may give to any race but Saviors.");
+ next;
+ mesn;
+ mesq l("Of course, the Savior race is extinct as far as history book concern with.");
+ next;
+ mesn;
+ mesq l("This is the FAIRYEMPIRE spell. It'll summon Pixies.");
+ next;
+ mesn;
+ mesq l("For simple-minded individuals like you, pixies are fairies.");
+ skill TMW2_FAIRYEMPIRE, 1, 0;
+ setq General_Sagratha, 13;
+ break;
}
/*
Plants Lv 1
diff --git a/npc/functions/hub.txt b/npc/functions/hub.txt
index 2619ffe26..3e745825d 100644
--- a/npc/functions/hub.txt
+++ b/npc/functions/hub.txt
@@ -518,9 +518,11 @@ function script HUB_SkillInvoke {
SK_summon(any(GreenSlime,AzulSlime,RedSlime,AngryYellowSlime), 2, any(3,4));
break;
case TMW2_FAIRYKINGDOM:
- // TODO: Allow Pixie summoning
SK_summon(any(FireFairy, EarthFairy, WaterFairy, WindFairy, PoisonFairy), 4, any(3,4));
break;
+ case TMW2_FAIRYEMPIRE:
+ SK_summon(any(VanityPixie, HolyPixie, ShadowPixie, NulityPixie), 5, any(4,5));
+ break;
// More complex summons
case TMW2_HALHISS:
.@mobId=Snake;