summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-02-22 21:00:47 -0300
committerJesusaves <cpntb1@ymail.com>2021-02-22 21:00:47 -0300
commite6402194569d06c5e1fbaf0420be197670d19ca4 (patch)
tree30682a61ed47062f67945e214574a3d87794a200
parent8af1cd1ade986ea761ad8eb5bf7b84333dd76251 (diff)
downloadserverdata-e6402194569d06c5e1fbaf0420be197670d19ca4.tar.gz
serverdata-e6402194569d06c5e1fbaf0420be197670d19ca4.tar.bz2
serverdata-e6402194569d06c5e1fbaf0420be197670d19ca4.tar.xz
serverdata-e6402194569d06c5e1fbaf0420be197670d19ca4.zip
Use built-in MP cost at Demure and lower MP cost in 1/lv
-rw-r--r--db/re/skill_db.conf14
-rw-r--r--npc/magic/demure.txt4
2 files changed, 14 insertions, 4 deletions
diff --git a/db/re/skill_db.conf b/db/re/skill_db.conf
index 48600a1b1..498676614 100644
--- a/db/re/skill_db.conf
+++ b/db/re/skill_db.conf
@@ -38824,6 +38824,20 @@ skill_db: (
SkillInfo: {
Quest: true
}
+ Requirements: {
+ SPCost: {
+ Lv1: 100
+ Lv2: 199
+ Lv3: 298
+ Lv4: 397
+ Lv5: 496
+ Lv6: 595
+ Lv7: 694
+ Lv8: 793
+ Lv9: 892
+ Lv10: 991
+ }
+ }
},
{
Id: 20029
diff --git a/npc/magic/demure.txt b/npc/magic/demure.txt
index ea6de2898..f2a17f556 100644
--- a/npc/magic/demure.txt
+++ b/npc/magic/demure.txt
@@ -68,10 +68,6 @@ function script SK_Demure {
end;
}
- // Check requisites
- if (!MagicCheck(TMW2_DEMURE, 100, 100))
- end;
-
// Determine length: 30s per skill level
.@length=getskilllv(TMW2_DEMURE)*30000;
.@effect=25+getskilllv(TMW2_DEMURE);