class
Rosegold::DataComponents::BlocksAttacks
Overview
BlocksAttacks
Defined in:
rosegold/inventory/slot.crConstructors
- .new(block_delay_seconds : Float32 = 0.0_f32, disable_cooldown_scale : Float32 = 1.0_f32, damage_reductions : Array(Rosegold::DataComponents::BlocksAttacks::DamageReduction) = [] of DamageReduction, item_damage_threshold : Float32 = 0.0_f32, item_damage_base : Float32 = 0.0_f32, item_damage_factor : Float32 = 0.0_f32, bypassed_by : Nil | String = nil)
- .read(io) : self
Instance Method Summary
- #block_delay_seconds : Float32
- #block_delay_seconds=(block_delay_seconds : Float32)
- #bypassed_by : String | Nil
- #bypassed_by=(bypassed_by : String | Nil)
- #damage_reductions : Array(DamageReduction)
- #damage_reductions=(damage_reductions : Array(DamageReduction))
- #disable_cooldown_scale : Float32
- #disable_cooldown_scale=(disable_cooldown_scale : Float32)
- #item_damage_base : Float32
- #item_damage_base=(item_damage_base : Float32)
- #item_damage_factor : Float32
- #item_damage_factor=(item_damage_factor : Float32)
- #item_damage_threshold : Float32
- #item_damage_threshold=(item_damage_threshold : Float32)
- #write(io) : Nil
Instance methods inherited from class Rosegold::DataComponent
write(io) : Nil
write
Constructor methods inherited from class Rosegold::DataComponent
create_component(component_type : UInt32, io) : DataComponent
create_component,
create_component_by_name(name : String | Nil, component_type : UInt32, io) : DataComponent
create_component_by_name
Constructor Detail
def self.new(block_delay_seconds : Float32 = 0.0_f32, disable_cooldown_scale : Float32 = 1.0_f32, damage_reductions : Array(Rosegold::DataComponents::BlocksAttacks::DamageReduction) = [] of DamageReduction, item_damage_threshold : Float32 = 0.0_f32, item_damage_base : Float32 = 0.0_f32, item_damage_factor : Float32 = 0.0_f32, bypassed_by : Nil | String = nil)
#