charge_attack ![code/modules/vehicles/mecha/combat/justice.dm 360](git.png)
Vars | |
charge | Recharge check. |
---|---|
charge_attack_sound | Sound when mech do charge attack. |
energy_cost | Energy cost to perform charge attack |
max_charge_range | Maximum range of charge attack. |
on | Is charge attack activated. |
Procs | |
charge | |
charge_attack | |
charge_attack_off | Called when charge attack deactivated |
charge_attack_on | Called when charge attack activated |
check_visability | Check if mech use invisibility and deactivate it when we activate charge attack. |
click_try_charge | Called when mech attacks with charge attack enabled. |
on_toggle_safety | update button icon when toggle safety. |
Var Details
charge ![code/modules/vehicles/mecha/combat/justice.dm 366](git.png)
Recharge check.
charge_attack_sound ![code/modules/vehicles/mecha/combat/justice.dm 372](git.png)
Sound when mech do charge attack.
energy_cost ![code/modules/vehicles/mecha/combat/justice.dm 368](git.png)
Energy cost to perform charge attack
max_charge_range ![code/modules/vehicles/mecha/combat/justice.dm 370](git.png)
Maximum range of charge attack.
on ![code/modules/vehicles/mecha/combat/justice.dm 364](git.png)
Is charge attack activated.
Proc Details
charge
charge
Recharge charge attack action after 5 SECONDS.
charge_attack
charge_attack
Deal everyone in line for mech location to mouse location 35 damage and 25 chanse to cut off limb. Teleport mech to the end of line. Arguments:
- charger - occupant inside mech.
- target - occupant inside mech.
charge_attack_off
Called when charge attack deactivated
charge_attack_on
Called when charge attack activated
check_visability
Check if mech use invisibility and deactivate it when we activate charge attack.
click_try_charge
Called when mech attacks with charge attack enabled.
on_toggle_safety
update button icon when toggle safety.