/tg/ Station 13 - Modules - TypesVar Details - Proc Details

bane

Deals extra damage to mobs of a certain type, species, or biotype. This doesn't directly modify the normal damage of the weapon, instead it applies its own damage separately ON TOP of normal damage ie. a sword that does 10 damage with a bane element attached that has a 0.5 damage_multiplier will do: 10 damage from the swords normal attack + 5 damage (50%) from the bane element

Vars

added_damageAdded after the above.
damage_multipliermultiplier of the extra damage based on the force of the item.
mob_biotypesif we want it to only affect a certain mob biotype
requires_combat_modeIf it requires combat mode on to deal the extra damage or not.
target_typecan be a mob or a species.

Procs

check_biotype_pathChecks typepaths and the mob's biotype, returning TRUE if correct and FALSE if wrong. Additionally checks if combat mode is required, and if so whether it's enabled or not.

Var Details

added_damage

Added after the above.

damage_multiplier

multiplier of the extra damage based on the force of the item.

mob_biotypes

if we want it to only affect a certain mob biotype

requires_combat_mode

If it requires combat mode on to deal the extra damage or not.

target_type

can be a mob or a species.

Proc Details

check_biotype_path

Checks typepaths and the mob's biotype, returning TRUE if correct and FALSE if wrong. Additionally checks if combat mode is required, and if so whether it's enabled or not.