class Scene_Battle < Scene_Base
def execute_action_skill
skill = @active_battler.action.skill
####################################################3
name = skill.name
if name.split(/,/)[0]
if name != nil
kill = name.split(/X/)[1]
if kill == nil or kill == ""
kill = 1
end
#p kill
#p name
end
end
for ii in 1..kill.to_i
####################################################3333
skill = @active_battler.action.skill
text = @active_battler.name + skill.message1
@message_window.add_instant_text(text)
unless skill.message2.empty?
wait(10)
@message_window.add_instant_text(skill.message2)
end
targets = @active_battler.action.make_targets
display_animation(targets, skill.animation_id)
@active_battler.mp -= @active_battler.calc_mp_cost(skill)
$game_temp.common_event_id = skill.common_event_id
for target in targets
target.skill_effect(@active_battler, skill)
display_action_effects(target, skill)
end
end
end
end