fix: some slight balancing work

This commit is contained in:
Kazhnuz 2020-08-05 12:03:31 +02:00
parent b530a09119
commit 8421b8ae97
3 changed files with 10 additions and 8 deletions

View file

@ -1,12 +1,12 @@
return { return {
hpmax = 50, -- hpmax = 25, --
ppmax = 20, -- ppmax = 20, --
attack = 10, -- attack = 15, --
power = 20, -- power = 20, --
defense = 10, -- defense = 05, --
technic = 10, -- technic = 10, --
mind = 10, -- mind = 10, --
luck = 02, -- luck = 02, --
speed = 25, -- speed = 15, --
} }

View file

@ -4,8 +4,8 @@ CONST.RANK_E = 10
CONST.RANK_D = 15 CONST.RANK_D = 15
CONST.RANK_C = 20 CONST.RANK_C = 20
CONST.RANK_B = 30 CONST.RANK_B = 30
CONST.RANK_A = 40 CONST.RANK_A = 45
CONST.RANK_S = 50 CONST.RANK_S = 60
CONST.MULT_HP = 4.5 CONST.MULT_HP = 4.5
return CONST return CONST

View file

@ -8,8 +8,10 @@ maputils.CONST.STARTY = 90
function maputils.sortBattlers(a, b) function maputils.sortBattlers(a, b)
local astats = a.fighter:getStats() local astats = a.fighter:getStats()
local bstats = b.fighter:getStats() local bstats = b.fighter:getStats()
local aspeed = astats.speed / 1.5 * a.number local aspeed = astats.speed / (3 ^ (a.number-1))
local bspeed = bstats.speed / 1.5 * b.number local bspeed = bstats.speed / (3 ^ (b.number-1))
print(a.fighter.name, a.number, aspeed, b.fighter.name, b.number, bspeed)
if (aspeed == bspeed) then if (aspeed == bspeed) then