throwbonus_on_windup ![code/datums/components/throwbonus_on_windup.dm 1](git.png)
Vars | |
apply_bonus_callback | any additional behavior we should look for before applying the bonus |
---|---|
effect_on_success | effect we play after successfully damaging the enemy with a bonus |
holder | the player currently winding up their throw |
maximum_bonus | the maximum windup bonus |
our_bar | the bar relaying feedback to the player |
pass_maximum_callback | additional behavior if we exceed the maximum bonus |
sound_on_success | sound we play after successfully damaging the enemy with a bonus |
throw_text | text we display when we start winding up |
throwforce_bonus | the current bonus we are at |
windup_increment_speed | how fast we increase the wind up counter on process |
Var Details
apply_bonus_callback ![code/datums/components/throwbonus_on_windup.dm 13](git.png)
any additional behavior we should look for before applying the bonus
effect_on_success ![code/datums/components/throwbonus_on_windup.dm 17](git.png)
effect we play after successfully damaging the enemy with a bonus
holder ![code/datums/components/throwbonus_on_windup.dm 7](git.png)
the player currently winding up their throw
maximum_bonus ![code/datums/components/throwbonus_on_windup.dm 3](git.png)
the maximum windup bonus
our_bar ![code/datums/components/throwbonus_on_windup.dm 11](git.png)
the bar relaying feedback to the player
pass_maximum_callback ![code/datums/components/throwbonus_on_windup.dm 5](git.png)
additional behavior if we exceed the maximum bonus
sound_on_success ![code/datums/components/throwbonus_on_windup.dm 15](git.png)
sound we play after successfully damaging the enemy with a bonus
throw_text ![code/datums/components/throwbonus_on_windup.dm 23](git.png)
text we display when we start winding up
throwforce_bonus ![code/datums/components/throwbonus_on_windup.dm 9](git.png)
the current bonus we are at
windup_increment_speed ![code/datums/components/throwbonus_on_windup.dm 19](git.png)
how fast we increase the wind up counter on process