Consistency/data/entities/animals/boss_alchemist/projectile_counter_away.lua

10 lines
316 B
Lua
Raw Permalink Normal View History

2021-08-20 01:53:47 +00:00
dofile_once("data/scripts/lib/utilities.lua")
local entity_id = GetUpdatedEntityID()
local x, y = EntityGetTransform( GetUpdatedEntityID() )
entity_id = EntityGetRootEntity( entity_id )
edit_component( entity_id, "HitboxComponent", function(comp,vars)
ComponentSetValue2( comp, "damage_multiplier", 1.0 )
end)