Documentation: AreaDamageComponent

From Noita Wiki
Jump to navigation Jump to search
Name Type Initial Value Example Range Description
Members
circle_radius float 0 if > 0, will only damage entities inside the aabb rectangle which are closer than 'circle_radius' to the aabb center.
damage_per_frame float 10 [0, 256]
update_every_n_frame int 1 [0, 60]
entity_responsible EntityID if NULL, will try to figure out who to blame
death_cause std::string $damage_curse
entities_with_tag std::string mortal damage entities with this tag
Custom data types
aabb_min vec2 (0, 0)
aabb_max vec2 (0, 0)
damage_type DAMAGE_TYPES::Enum DAMAGE_PHYSICS_HIT the damage type