GainChannels ​
Inherits: RefCounted
The names of the gain channels the toolkit asks about (StatsComponent.modify_gain(channel, amount)), so a stat can change what an entity gets without any system knowing which stat that is. A dev can use any other name from their own code. See docs/systems/entity-stats.md, section 24.2.
Constants ​
StringEXPERIENCE ="experience"- Experience points the player receivesStringCURRENCY ="currency"- Currency (gold) received from rewards: gold findStringLOOT_QUANTITY ="loot_quantity"- The quantity of every item stack of loot a killer gets (a fraction is a chance of one more)StringLOOT_RARITY ="loot_rarity"- Magic find: a percentage that raises the weight of the rarer-than-average entries of a loot table. Use "add" effectsStringTHREAT ="threat"- The threat a hit generatesStringRESOURCE ="resource"- The resource an ability gains for its user (Rage, Combo ...)StringSTATUS_DURATION ="status_duration"- The duration of a status effect put on this entity (tenacity: a percentage decrease shortens stuns)StringEFFECT_DURATION ="effect_duration"- The duration of the timed effects this entity puts on others or on itself (a buff or a debuff that lasts 20 % longer)StringSHIELD_STRENGTH ="shield_strength"- The size of the shields this entity puts up (Absorb Shield effects): shield powerStringMULTISTRIKE_DAMAGE ="multistrike_damage"- The damage of the extra hits of a multistrike, as a percentage of the hit (the percentage of the damage effect, plus what the stats of the attacker add)StringRESOURCE_DRAIN_TAKEN ="resource_drain_taken"- How much resource others drain from this entity (a drain effect on its mana): a percentage decrease is resistance to mana burn