parriable_projectile ![code/datums/components/parry.dm 2](git.png)
Add to a projectile to allow it to be parried by mobs with a certain trait (TRAIT_MINING_PARRYING by default)
Vars | |
boost_damage_mult | How much this projectile's damage is increased when boosted (parried by owner) |
---|---|
boost_speed_mult | How much this projectile is sped up when boosted (parried by owner) |
fire_time | When the projectile was created |
grace_period | For how long do valid tiles persist? Acts as clientside lag compensation |
parried | If this projectile has been parried |
parriers | List of all mobs who have clicked on a parry turf in last moveloop |
parry_callback | Callback for special effects upon parrying |
parry_damage_mult | How much this projectile's damage is increased when parried |
parry_speed_mult | How much this projectile is sped up when parried |
parry_trait | Trait required to be able to parry this projectile |
parry_turfs | List of all turfs the projectile passed on its last loop and we assigned comsigs to |
Var Details
boost_damage_mult ![code/datums/components/parry.dm 18](git.png)
How much this projectile's damage is increased when boosted (parried by owner)
boost_speed_mult ![code/datums/components/parry.dm 16](git.png)
How much this projectile is sped up when boosted (parried by owner)
fire_time ![code/datums/components/parry.dm 8](git.png)
When the projectile was created
grace_period ![code/datums/components/parry.dm 22](git.png)
For how long do valid tiles persist? Acts as clientside lag compensation
parried ![code/datums/components/parry.dm 10](git.png)
If this projectile has been parried
parriers ![code/datums/components/parry.dm 6](git.png)
List of all mobs who have clicked on a parry turf in last moveloop
parry_callback ![code/datums/components/parry.dm 26](git.png)
Callback for special effects upon parrying
parry_damage_mult ![code/datums/components/parry.dm 14](git.png)
How much this projectile's damage is increased when parried
parry_speed_mult ![code/datums/components/parry.dm 12](git.png)
How much this projectile is sped up when parried
parry_trait ![code/datums/components/parry.dm 20](git.png)
Trait required to be able to parry this projectile
parry_turfs ![code/datums/components/parry.dm 4](git.png)
List of all turfs the projectile passed on its last loop and we assigned comsigs to