flayer
Vars | |
base_cost | The initial cost of purchasing the spell. |
---|---|
category | The class that this spell is for or FLAYER_CATEGORY_GENERAL to make it unrelated to a specific tree |
checks_nullification | If the spell checks for a nullification implant/effect, set to FALSE to make it castable despite nullification |
current_cost | The current price to upgrade the spell |
flayer | A reference to the owner mindflayer's antag datum. |
level | What level is our spell currently at |
max_level | Max level of our spell |
power_type | Determines whether the power is always given to the mind flayer or if it must be purchased. |
stage | The current stage that we are on for our powers. Currently only hides powers of a higher stage. |
static_upgrade_increase | Should this spell's cost increase by a static amount every purchase? 0 means it will stay the base cost for every upgrade. |
upgrade_info | A brief description of what the spell's upgrades do |
Procs | |
on_apply | This is the proc that handles spell upgrades, override this to have upgrades change duration/strength etc |
spell_purchased | This is a proc that is called when the ability is purchased and first added to the flayer |
Var Details
base_cost
The initial cost of purchasing the spell.
category
The class that this spell is for or FLAYER_CATEGORY_GENERAL to make it unrelated to a specific tree
checks_nullification
If the spell checks for a nullification implant/effect, set to FALSE to make it castable despite nullification
current_cost
The current price to upgrade the spell
flayer
A reference to the owner mindflayer's antag datum.
level
What level is our spell currently at
max_level
Max level of our spell
power_type
Determines whether the power is always given to the mind flayer or if it must be purchased.
stage
The current stage
that we are on for our powers. Currently only hides powers of a higher stage.
static_upgrade_increase
Should this spell's cost increase by a static amount every purchase? 0 means it will stay the base cost for every upgrade.
upgrade_info
A brief description of what the spell's upgrades do
Proc Details
on_apply
This is the proc that handles spell upgrades, override this to have upgrades change duration/strength etc
spell_purchased
This is a proc that is called when the ability is purchased and first added to the flayer