mindflayer_passive
Vars | |
base_cost | The base cost of an ability, used to calculate how much upgrades should cost. |
---|---|
category | If the passive is for a specific class, or FLAYER_CATEGORY_GENERAL if not |
current_cost | How much it will cost to upgrade this passive. |
flayer | The mindflayer datum we'll reference back to. Set in force_add_abillity |
gain_text | The text shown to the player character when bought |
level | The level of the passive, used for upgrading passives. Basic level is 1 |
owner | The mob who the passive affects, usually an IPC. Set in force_add_abillity |
power_type | Uses a power type define, should be FLAYER_UNOBTAINABLE_POWER, FLAYER_PURCHASABLE_POWER, or FLAYER_INNATE_POWER |
purchase_text | The text we want to show the player in the shop |
should_process | Does this passive need to process |
stage | If the passive only unlocks after the stages below it have been bought, for subclass passives |
static_upgrade_increase | Do we increase the cost by a static amount? And by how much? |
upgrade_info | A brief description of what the ability's upgrades do |
upgrade_text | The text shown to the player character on upgrade |
Procs | |
on_apply | This is where most passive's effects get applied |
Var Details
base_cost
The base cost of an ability, used to calculate how much upgrades should cost.
category
If the passive is for a specific class, or FLAYER_CATEGORY_GENERAL if not
current_cost
How much it will cost to upgrade this passive.
flayer
The mindflayer datum we'll reference back to. Set in force_add_abillity
gain_text
The text shown to the player character when bought
level
The level of the passive, used for upgrading passives. Basic level is 1
owner
The mob who the passive affects, usually an IPC. Set in force_add_abillity
power_type
Uses a power type define, should be FLAYER_UNOBTAINABLE_POWER, FLAYER_PURCHASABLE_POWER, or FLAYER_INNATE_POWER
purchase_text
The text we want to show the player in the shop
should_process
Does this passive need to process
stage
If the passive only unlocks after the stages below it have been bought, for subclass passives
static_upgrade_increase
Do we increase the cost by a static amount? And by how much?
upgrade_info
A brief description of what the ability's upgrades do
upgrade_text
The text shown to the player character on upgrade
Proc Details
on_apply
This is where most passive's effects get applied