summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2024-08-17 21:53:11 -0300
committerJesusaves <cpntb1@ymail.com>2024-08-17 21:53:11 -0300
commit6378a5411e6432232ce40b58bd32e1480ba73a25 (patch)
tree4abf61752b8311d987aa83020a9772faacf1c926 /npc
parentc54f999116422ed42f1d963847fe272b57787435 (diff)
downloadserverdata-6378a5411e6432232ce40b58bd32e1480ba73a25.tar.gz
serverdata-6378a5411e6432232ce40b58bd32e1480ba73a25.tar.bz2
serverdata-6378a5411e6432232ce40b58bd32e1480ba73a25.tar.xz
serverdata-6378a5411e6432232ce40b58bd32e1480ba73a25.zip
Improve a bit the MP Regen spell formula, to increase level weight.
Each skill level now improves ratio in 2% instead of 1%.
Diffstat (limited to 'npc')
-rw-r--r--npc/magic/mpregen.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/magic/mpregen.txt b/npc/magic/mpregen.txt
index 95d035028..8627078cb 100644
--- a/npc/magic/mpregen.txt
+++ b/npc/magic/mpregen.txt
@@ -11,8 +11,8 @@ function script SK_mpregen {
// How much MP is that worth?
// Well, 400HP:120MP so base formula is 4:1
// Let's have a 50% penalty, so, 6:1
- .@lv=getskilllv(TMW2_MPREGEN);
- .@ratio=max(40, 60-.@lv);
+ .@lv=getskilllv(TMW2_MPREGEN) * 2;
+ .@ratio=max(60, 80-.@lv);
.@mpheal=.@basehp*.@ratio/100;
heal -.@basehp, .@mpheal;
// Temporarily block healing and regeneration skills