The issue being, both scripts overwrite use_item method.
My main issue with this is the fact that it disables "one animation" notetag functionality and "Screen position" method in default engine.
I also changed part of Thuskihime's script (or more accurately, rearranged lines positions, because I don't have any real scripting knowledge) so that MP is used up after skill use, not before as by default.
I checked it and that change isn't the thing that's causing this issue.
Skill change
Ace battle engine
The parts of the scripts that (I think) are causing the issue:
My main issue with this is the fact that it disables "one animation" notetag functionality and "Screen position" method in default engine.
I also changed part of Thuskihime's script (or more accurately, rearranged lines positions, because I don't have any real scripting knowledge) so that MP is used up after skill use, not before as by default.
I checked it and that change isn't the thing that's causing this issue.
Skill change
Ace battle engine
The parts of the scripts that (I think) are causing the issue:
Ruby:
#--------------------------------------------------------------------------
# Yanfly- line 3077
#--------------------------------------------------------------------------
def use_item
item = @subject.current_action.item
@log_window.display_use_item(@subject, item)
@subject.use_item(item)
status_redraw_target(@subject)
if $imported["YEA-LunaticObjects"]
lunatic_object_effect(:before, item, @subject, @subject)
end
process_casting_animation if $imported["YEA-CastAnimations"]
targets = @subject.current_action.make_targets.compact rescue []
show_animation(targets, item.animation_id) if show_all_animation?(item)
targets.each {|target|
if $imported["YEA-TargetManager"]
target = alive_random_target(target, item) if item.for_random?
end
item.repeats.times { invoke_item(target, item) } }
if $imported["YEA-LunaticObjects"]
lunatic_object_effect(:after, item, @subject, @subject)
end
end
#---------------------------------------------------------------------------
# Tsukihime- line 182
#---------------------------------------------------------------------------
def use_item
orig_item = @subject.current_action.item
@log_window.display_use_item(@subject, orig_item)
targets = @subject.current_action.make_targets.compact
@subject.use_item(orig_item) #xxxxx
refresh_status #xxxxx
#
targets.each do |target|
@subject.change_skill(target, orig_item) #xxxxxxxxx
item = @subject.current_action.item #xxxxxxxxx
show_animation([target], item.animation_id)
item.repeats.times { invoke_item(target, item) }
end
end
end
end