diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-06-08 15:13:38 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-06-08 15:13:38 -0300 |
commit | 5357a87ba703aaf7155251706b0f95290e58a988 (patch) | |
tree | 0e4ad067aa9b80f495bc40420a927d24cf5d2f9a | |
parent | e11a2d38e4814644beb4f30ebb69f9fc0299d4d2 (diff) | |
download | serverdata-5357a87ba703aaf7155251706b0f95290e58a988.tar.gz serverdata-5357a87ba703aaf7155251706b0f95290e58a988.tar.bz2 serverdata-5357a87ba703aaf7155251706b0f95290e58a988.tar.xz serverdata-5357a87ba703aaf7155251706b0f95290e58a988.zip |
New abizit rule.
Previous table for lv 7: 343~1715 xp
New table for lv 7: 2744~13720 xp
-rw-r--r-- | npc/config/magic.txt | 4 | ||||
-rw-r--r-- | 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); } |