require("config.util") local mods = {} function mods.elixir_explosion_mutual_damage(pat) for idx = 0, 1 do pat:update_frame(859, 6, idx, function(frame) frame.damage = 20000 set_aflag(frame, AF_CAN_HIT_SELF) frame.attackbox[1] = { x1=-10000, y1=-10000, x2=10000, y2=10000 } -- show_message_box(frame.scale_x) end) end end return function(pat) if config:get("udonge", "grand_patriots_elixir", "mutual_explosion") then mods.elixir_explosion_mutual_damage(pat) end end