|hitcost||How much power does it cost to stun someone|
|stunforce||How many life ticks does the stun last for|
|throw_hit_chance||Chance for the baton to stun when thrown at someone|
|turned_on||Is the baton currently turned on|
|deductcharge||Removes the specified amount of charge from the batons power cell.|
|link_new_cell||Updates the linked power cell on the baton.|
How much power does it cost to stun someone
How many life ticks does the stun last for
Chance for the baton to stun when thrown at someone
Is the baton currently turned on
Removes the specified amount of charge from the batons power cell.
src is a cyborg baton, this removes the charge from the borg's internal power cell instead.
- amount - The amount of battery charge to be used.
Updates the linked power cell on the baton.
If the baton is held by a cyborg, link it to their internal cell. Else, spawn a new cell and use that instead. Arguments:
- unlink - If TRUE, sets the
nullrather than linking it to a new one.