basketball
Vars | |
last_use | So they can't spam dribbling (at least not too much) |
---|---|
pickup_cooldown | Pickup restriction cooldown |
pickup_restriction_ckeys | List of player ckeys who aren't allowed to pickup the ball (after scoring) This resets after someone else picks up the ball or a certain amount of time has passed |
steps | So the basketball doesn't make sound every step |
wielder | The person dribbling the basketball |
Procs | |
after_throw_reset | After a ball is thrown we need to reset the pass_flags since shooting lets you shoot through mobs |
on_equipped_mob_disarm | Used to calculate our disarm chance based on stamina, direction, and spinning Note - monkeys use attack_paw() and never trigger this signal (so they always have 100% disarm) |
Var Details
last_use
So they can't spam dribbling (at least not too much)
pickup_cooldown
Pickup restriction cooldown
pickup_restriction_ckeys
List of player ckeys who aren't allowed to pickup the ball (after scoring) This resets after someone else picks up the ball or a certain amount of time has passed
steps
So the basketball doesn't make sound every step
wielder
The person dribbling the basketball
Proc Details
after_throw_reset
After a ball is thrown we need to reset the pass_flags since shooting lets you shoot through mobs
- source: Datum src from original signal call
on_equipped_mob_disarm
Used to calculate our disarm chance based on stamina, direction, and spinning Note - monkeys use attack_paw() and never trigger this signal (so they always have 100% disarm)