MULTI-HIT ATTACKS
Posts
Pages:
1
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.
Next time, don't post such a horrible request.
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.
Pages:
1
















