Files
LonaRPG-Online-Games/Data/Scripts/Editables/4000_Npc_Shield_Launcher.rb
T
2026-10-29 21:59:06 +04:00

11 lines
367 B
Ruby

#shield unique AI
class Npc_Shield_Launcher < Game_DestroyableObject
def skill_result_check_ignore_tgt(character,skill)
return true if super
return true if @event.summon_data[:target] && character != @event.summon_data[:target] #NPC will with target. this will only allly to tgt
end
#def skill_result_check_break(character,skill)
# false
#end
end