MULTI-HIT ATTACKS

Posts

Pages: 1
Is there a way to make a system like this in VX?:



the multiple hits w/ one attack
Craze
why would i heal when i could equip a morningstar
15170
sdakkkkkkkkkkkkkkkkkkkksanfknsfknsdkf

HOW

Do you want it based on the weapon? The character's stats? Divine prophecy?

I shouldn't have done this for such a shitty request, but it only took a few seconds.

# This is an ultra-quick version of this script by Craze. If you want more

# targeting stuff, just use Yanfly Battle Engine Melody.

module CRAZE
module MULTIHIT_ATKS

# This determines how the amount of attacks for normal attacks is
# determined. By default, it uses 1/32 of the attacker's AGI, akin to
# Final Fantasy I.
ATK_AMT = "[battler.agi / 32, 1].max"

end
end

class Game_BattleAction

def make_attack_targets
targets = []
real_targets = []
if battler.confusion?
targets.push(friends_unit.random_target)
elsif battler.berserker?
targets.push(opponents_unit.random_target)
else
targets.push(opponents_unit.smooth_target(@target_index))
end
if battler.dual_attack # Chain attack
targets += targets
end
hits = eval(CRAZE::MULTIHIT_ATKS::ATK_AMT); hits = Integer(hits)
hits.times do real_targets += targets end
return real_targets.compact
end

end # Game_BattleAction


Next time, don't post such a horrible request.
Craze
why would i heal when i could equip a morningstar
15170
...fuck you?
*pats craze on the back*

it's okay champ, you'll get 'em next time
Pages: 1