30 lines
788 B
Plaintext
30 lines
788 B
Plaintext
|
BasicRanged(
|
||
|
energy_cost: 0,
|
||
|
buildup_duration: 0.5,
|
||
|
recover_duration: 0.9,
|
||
|
projectile: (
|
||
|
kind: Explosive(
|
||
|
radius: 3,
|
||
|
min_falloff: 0.1,
|
||
|
reagent: Some(White),
|
||
|
terrain: Some((30, IceBomb)),
|
||
|
),
|
||
|
attack: Some((
|
||
|
damage: 30,
|
||
|
knockback: Some(12),
|
||
|
energy: 0,
|
||
|
buff: Some((
|
||
|
kind: Frozen,
|
||
|
dur_secs: 5,
|
||
|
// TODO: Change from DamageFraction to Value (probably?)
|
||
|
strength: DamageFraction(0.05),
|
||
|
chance: 1.0,
|
||
|
)),
|
||
|
)),
|
||
|
),
|
||
|
projectile_body: Object(IceBomb),
|
||
|
projectile_speed: 40.0,
|
||
|
num_projectiles: 5,
|
||
|
projectile_spread: 0.05,
|
||
|
move_efficiency: 0.3,
|
||
|
)
|