/datum/status_effect/protective_blades
Vars | |
blade_orbit_radius | The radius of the blade's orbit. |
---|---|
blades | A list of blade effects orbiting / protecting our owner |
delete_on_blades_gone | If TRUE, we self-delete our status effect after all the blades are deleted. |
max_num_blades | The number of blades we summon up to. |
time_between_initial_blades | The time between spawning blades. |
Procs | |
create_blade | Creates a floating blade, adds it to our blade list, and makes it orbit our owner. |
on_shield_reaction | Signal proc for COMSIG_HUMAN_CHECK_SHIELDS. If we have a blade in our list, consume it and block the incoming attack (shield it) |
remove_blade | Remove deleted blades from our blades list properly. |
Var Details
blade_orbit_radius
The radius of the blade's orbit.
blades
A list of blade effects orbiting / protecting our owner
delete_on_blades_gone
If TRUE, we self-delete our status effect after all the blades are deleted.
max_num_blades
The number of blades we summon up to.
time_between_initial_blades
The time between spawning blades.
Proc Details
create_blade
Creates a floating blade, adds it to our blade list, and makes it orbit our owner.
on_shield_reaction
Signal proc for COMSIG_HUMAN_CHECK_SHIELDS. If we have a blade in our list, consume it and block the incoming attack (shield it)
remove_blade
Remove deleted blades from our blades list properly.