From 5357a87ba703aaf7155251706b0f95290e58a988 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 8 Jun 2020 15:13:38 -0300 Subject: New abizit rule. Previous table for lv 7: 343~1715 xp New table for lv 7: 2744~13720 xp --- npc/config/magic.txt | 4 ++-- npc/functions/util.txt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/npc/config/magic.txt b/npc/config/magic.txt index 2f4e2ba7b..9d2d265b5 100644 --- a/npc/config/magic.txt +++ b/npc/config/magic.txt @@ -120,7 +120,7 @@ function script ShowAbizit { mesn l("Current Magic Control"); .@val=MAGIC_EXP+rand(-MAGIC_LVL*5, MAGIC_LVL*5); - .@base=(MAGIC_LVL**3); + .@base=((MAGIC_LVL*2)**3); if (.@val > .@base*5) mescordialog l("You are perfectly in control of your magic."), 3, .@dial; else if (.@val > .@base*4) @@ -190,7 +190,7 @@ OnInit: // Supreme Attack RegisterMagic(1, MC_MAMMONITE, 10, FluoPowder, 3, 0, SM_BASH, KN_AUTOCOUNTER); // Counter Attack - RegisterMagic(2, KN_AUTOCOUNTER, 5, FluoPowder, 3, 0, MC_MAMMONITE); + RegisterMagic(2, KN_AUTOCOUNTER, 5, FluoPowder, 3, 0, MC_MAMMONITE, false); end; } diff --git a/npc/functions/util.txt b/npc/functions/util.txt index 5e7be2094..624491d9a 100644 --- a/npc/functions/util.txt +++ b/npc/functions/util.txt @@ -812,7 +812,7 @@ function script transcheck { // A value of '5' means perfect control, and a value of '0' means overwhelm. // abizit() function script abizit { - .@base=(MAGIC_LVL**3); + .@base=((MAGIC_LVL*2)**3); return min(MAGIC_EXP/.@base, 5); } -- cgit v1.2.3-60-g2f50