summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--db/re/skill_db.conf29
-rw-r--r--npc/functions/hub.txt3
-rw-r--r--npc/magic/zarkor.txt14
3 files changed, 46 insertions, 0 deletions
diff --git a/db/re/skill_db.conf b/db/re/skill_db.conf
index 19a08f304..e5c02f1bb 100644
--- a/db/re/skill_db.conf
+++ b/db/re/skill_db.conf
@@ -38575,6 +38575,35 @@ skill_db: (
SkillType: {
Self: true
}
+ CoolDown: {
+ Lv1: 80000
+ Lv2: 78000
+ Lv3: 76000
+ Lv4: 74000
+ Lv5: 72000
+ Lv6: 70000
+ Lv7: 68000
+ Lv8: 66000
+ Lv9: 64000
+ Lv10: 62000
+ }
+ Requirements: {
+ Items: {
+ ZarkorScroll: 0
+ }
+ SPCost: {
+ Lv1: 40
+ Lv2: 47
+ Lv3: 54
+ Lv4: 61
+ Lv5: 68
+ Lv6: 75
+ Lv7: 82
+ Lv8: 89
+ Lv9: 96
+ Lv10: 100
+ }
+ }
},
{
Id: 20024
diff --git a/npc/functions/hub.txt b/npc/functions/hub.txt
index d83c30c65..aa5265b32 100644
--- a/npc/functions/hub.txt
+++ b/npc/functions/hub.txt
@@ -193,6 +193,9 @@ function script HUB_SkillInvoke {
//case TMW2_SPEECH:
UserCtrlPanel();
break;
+ case TMW2_ZARKOR:
+ SK_zarkor();
+ break;
}
// Debug
diff --git a/npc/magic/zarkor.txt b/npc/magic/zarkor.txt
index 64d86d70c..b205fcf92 100644
--- a/npc/magic/zarkor.txt
+++ b/npc/magic/zarkor.txt
@@ -6,6 +6,17 @@
// Spawns a Cave Maggot.
// This is to test stuff, more than to create anything really.
+function script SK_zarkor {
+ // Set skill
+ @sk=TMW2_ZARKOR;
+
+ // Summon Magic
+ SummonMagic(@sk, CaveMaggot, 2, @skillLv);
+
+ // Get a single mana experience point (this is NOT used by Mana Stone)
+ GetManaExp(@sk, 1);
+ return;
+}
- script sk#zarkor 32767,{
end;
@@ -17,6 +28,9 @@ OnFriendlyDeath:
*/
OnCall:
+ // Deprecated
+ end;
+
// Other requeriments
if (countitem(ZarkorScroll) < 1) {
dispbottom l("You need @@ to cast this skill.", getitemlink(ZarkorScroll));