summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--db/re/skill_db.conf21
-rw-r--r--db/re/skill_tree.conf1
-rw-r--r--npc/functions/hub.txt6
3 files changed, 27 insertions, 1 deletions
diff --git a/db/re/skill_db.conf b/db/re/skill_db.conf
index 350314602..190c02730 100644
--- a/db/re/skill_db.conf
+++ b/db/re/skill_db.conf
@@ -39310,7 +39310,7 @@ skill_db: (
Id: 20045
Name: "TMW2_NILFHEIM"
Description: "Nilfheim"
- MaxLevel: 1
+ MaxLevel: 5
SkillType: {
Self: true
}
@@ -39318,4 +39318,23 @@ skill_db: (
Quest: true
}
},
+{
+ Id: 20046
+ Name: "TMW2_JUDGMENT"
+ Description: "Judgment"
+ Range: 16
+ MaxLevel: 1
+ Hit: "BDT_SKILL"
+ SkillType: {
+ Enemy: true
+ //Friend: true
+ }
+ AttackType: "Magic"
+ DamageType: {
+ NoDamage: true
+ }
+ SkillInfo: {
+ Quest: true
+ }
+},
)
diff --git a/db/re/skill_tree.conf b/db/re/skill_tree.conf
index 5cb73d32e..fc3fe9f15 100644
--- a/db/re/skill_tree.conf
+++ b/db/re/skill_tree.conf
@@ -172,6 +172,7 @@ Human: {
BA_PANGVOICE: 0
SM_ENDURE: 0
CR_DEFENDER: 0
+ TMW2_JUDGMENT: 0
RG_GRAFFITI: 0
RG_CLEANER: 0
diff --git a/npc/functions/hub.txt b/npc/functions/hub.txt
index 01167098e..970d7d5a4 100644
--- a/npc/functions/hub.txt
+++ b/npc/functions/hub.txt
@@ -152,6 +152,7 @@ function script HUB_Logout {
if (.@q < 4 && .@q >= 2) {
setq1 LoFQuest_Barbara, 1;
setq3 LoFQuest_Barbara, 1;
+ // FIXME: Enable Mana Stone#01863
dispbottom col(l("WARNING: You died at Forgotten Shrine and the Shrine defense triggered."), 1);
dispbottom col(l("WARNING: Your progress on the quest was lost!"), 1);
}
@@ -229,6 +230,7 @@ function script HUB_Logout {
// HUB_SkillInvoke ( )
function script HUB_SkillInvoke {
+ debugmes "Cast skill %d", @skillId;
// TODO: Detect what was script-cast and what was player-case. Then, readd RB_IRCBROADCAST
// If you can't do this: You can't do this
if (getskilllv(@skillId) < @skillLv)
@@ -284,6 +286,10 @@ function script HUB_SkillInvoke {
case TMW2_NILFHEIM:
SK_nilfheim();
break;
+ case TMW2_JUDGMENT:
+ debugmes "Target: %d (%d,%d)", @skillTarget, @skillTargetX, @skillTargetY;
+ areasc2(getmap(), @skillTargetX, @skillTargetY, 2, 10000, SC_BLOODING, BL_MOB|BL_PC);
+ break;
case TMW2_PARUM:
SK_parum();
break;