From e7ce8a3f5fcd3b33701e568a0551df6d704b227e Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 21 Jun 2020 03:31:10 -0300 Subject: Normal ATK/MATK, however, got boosted! \o/ Two Hands/Bows: +50% Brawling/Magical: +40% Of regular ATK/MATK only! --- npc/craft/options.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'npc/craft') diff --git a/npc/craft/options.txt b/npc/craft/options.txt index 2706f5f95..bf4913387 100644 --- a/npc/craft/options.txt +++ b/npc/craft/options.txt @@ -498,6 +498,16 @@ function script csys_BonusCalc { .@base=max(1, .@base*18/10); } + // Normal Attack for 2H? + if (.@var == VAR_ATTPOWER || .@var == VAR_ATTMPOWER) { + // Two Hands/Bows: +50% + if ((@csysArmor & CSYS_ZWEIHANDER) || (@csysArmor & CSYS_RANGED)) + .@base=max(1, .@base*3/2); + // Brawling/Magical: +40% + else if ((@csysArmor & CSYS_BRAWLING) || (@csysArmor & CSYS_MAGICAL)) + .@base=max(1, .@base*7/5); + } + // Armor? Cap it to 25% if (@csysArmor & CSYS_ARMOR) .@base=max(1, .@base/4); -- cgit v1.2.3-70-g09d2