hostile ![code/modules/mob/living/simple_animal/hostile/hostile.dm 1](git.png)
Vars | |
charge_cooldown | Declares a cooldown for potential charges right off the bat. |
---|---|
charge_distance | In a charge, how many tiles will the charger travel? |
charge_frequency | How often can the charging mob actually charge? Effects the cooldown between charges. |
charge_state | Tracks if the target is actively charging. |
charger | When a target is found, will the mob attempt to charge at it's target? |
knockdown_time | If the mob is charging, how long will it stun it's target on success, and itself on failure? |
Procs | |
AICanContinue | AI Status |
ListTargets | HOSTILE MOB TARGETTING AND AGGRESSION |
charge_end | Proc that handles a charge attack after it's concluded. |
death | END HOSTILE MOB TARGETTING AND AGGRESSION |
enter_charge | Proc that handles a charge attack windup for a mob. |
handle_charge_target | Proc that throws the mob at the target after the windup. |
throw_impact | Proc that handles the charge impact of the charging mob. |
Var Details
charge_cooldown ![code/modules/mob/living/simple_animal/hostile/hostile.dm 66](git.png)
Declares a cooldown for potential charges right off the bat.
charge_distance ![code/modules/mob/living/simple_animal/hostile/hostile.dm 60](git.png)
In a charge, how many tiles will the charger travel?
charge_frequency ![code/modules/mob/living/simple_animal/hostile/hostile.dm 62](git.png)
How often can the charging mob actually charge? Effects the cooldown between charges.
charge_state ![code/modules/mob/living/simple_animal/hostile/hostile.dm 58](git.png)
Tracks if the target is actively charging.
charger ![code/modules/mob/living/simple_animal/hostile/hostile.dm 56](git.png)
When a target is found, will the mob attempt to charge at it's target?
knockdown_time ![code/modules/mob/living/simple_animal/hostile/hostile.dm 64](git.png)
If the mob is charging, how long will it stun it's target on success, and itself on failure?
Proc Details
AICanContinue
AI Status
ListTargets
HOSTILE MOB TARGETTING AND AGGRESSION
charge_end
Proc that handles a charge attack after it's concluded.
death
END HOSTILE MOB TARGETTING AND AGGRESSION
enter_charge
Proc that handles a charge attack windup for a mob.
handle_charge_target
Proc that throws the mob at the target after the windup.
throw_impact
Proc that handles the charge impact of the charging mob.