Skip to content

Effects: every type ​

The 58 kinds of effect the engine brings (EffectTypes), each with the fields it reads, as the engine’s own words have it. Every effect has the common fields besides (radius, affects, on, chance, when… Damage and heal). A field’s own words are in the table below the types. A new kind: Write your own effect.

TypeFieldsWhat it does
damageamount, scaling, damageType, how, byMissingHealth, byMaxHealth, byCurrentHealth, byStacks, byDistance, targetScaling, byDamageHurts what it reaches: amount, with what of the caster's stats adds to it (scaling), of a type (magic when left out)
healamount, scaling, byMissingHealth, byMaxHealth, byCurrentHealth, byStacks, byDistance, targetScaling, byDamageHeals what it reaches, more for the caster's heal and shield power
manaamount, scalingGives mana to what it reaches
gainamount, scaling, poolFills a pool of what it reaches (pool, one of UnitTypeDef.pools) by amount (empties it, under 0), in a game with the resources pack (resourcesPack): allies when it says nothing, the caster with on: 'caster' (Tryndamere's fury from an onHit)
foliageact, layer?, how?, over?Does something to the grass and bushes where it lands, in a game with the foliage pack (foliagePack): sets it alight (ignite, by the caster), puts it out (extinguish), ruins it (ruin, as how says: cut when left out), has it grow back (regrow, over over seconds) or takes it away (clear). Over its radius or shape, the cell it landed on when it has neither; on layer, every layer of the pack when left out. It acts on cells, not on what stands there: the fields of whom (affects, kinds, tags, where, limit...) say nothing to it. A fire arrow, a mower, a rain spell
burnact, how?, seconds?Sets alight what burns where it lands, by the caster (light), or puts it out (putOut), in a game with the burning pack (burningPack): over its radius or shape, else the unit it was cast on, else what stands where it landed. how: the kind of burning it sets off (a blight, frost: the look's burning.how and the death's), the thing's own when left out; seconds: how long it burns. Of what it finds, what its fields of whom say (affects: enemies lights the caster's enemies' alone; kinds, tags, layers, where, sort, limit), everything that burns, trees among it, when it says none. A fire arrow, a torch, a rain spell
buffduration, stack, amount, scaling, byMissingHealth, byMaxHealth, byCurrentHealth, byStacks, byDistance, targetScaling, byDamage, buffPuts a buff on what it reaches: for its own time or duration, one more of it with stack. With an amount (and scaling, the formulas), its shield holds that rather than the buff's own shield
missilespeed, distance, count, spread, homing, toPoint, delay, sight, blocked, pierce, arc, bounce, effects, onEnd, returns, falloff, hitsOnReturn, seek, onWall, split, steerSends a missile: how fast, how far, how many, and what it does to what it passes through and where it ends
aurabuffA passive's buff on what is around the carrier, kept up by the ability system
spawnduration, owner, looksLike, data, line, ring, unitBrings a unit into the world where it landed, the caster's (the neutral player's with owner), for duration seconds or for good, with data and the looks of the target or the caster. In a game with the ground objects pack (groundObjectsPack): so many along a line or round a ring, each knowing who put it down (madeBy)
togglebuffPuts a buff on the caster for as long as it likes, or takes it off
revealdurationThe caster's team sees the spot for a while
onHitwhileBuff, effects, every, consumes, cooldown, slot, priorityA passive's (an ability's, an item's or a buff's: BuffDef.passive): effects happen to the target of every attack of the carrier that lands, while it carries whileBuff; of every everyth, using up a stack of whileBuff with consumes, once in cooldown seconds
resetAttack—The caster is ready to strike again at once
blinkdistanceThe caster is elsewhere at once, distance away at the most
teleporttoThe caster is elsewhere at once, however far (to)
dashdistance, leap, climb, speed, effects, buff, to, through, collide, stops, onWallThe caster rushes to the spot (a leap with leap), and effects happen around where it ends. In a game with the moves pack (movesPack): to a unit (to: 'target', after it as it moves, or through it), with what happens to who it meets (collide, stops) and at a wall (onWall)
knockbackdistance, speed, leap, direction, collide, stops, onWallThrows what it reaches distance away from the caster. In a game with the moves pack (movesPack): which way (direction), with what happens to who the thrown one meets (collide, stops) and at a wall (onWall)
swap—The caster and the unit it was cast on trade places, at once, in a game with the moves pack (movesPack). Nothing where either is a structure, rushing or dragged, or the target cannot be moved (BuffDef.unstoppable)
sendProxyspeed, effectsSends the unit the effect goes off from (a proxy of the caster's: EffectCommon.origin) to where it was aimed, at speed (at once when left out), and its effects happen where it arrives, in the caster's name, from it: Orianna's ball flown to where she aims, Azir's soldiers sent. Nothing where it goes off from the caster
revealUnitdurationThe caster's team sees each unit it reaches for duration seconds (4 when left out), wherever it goes: in the fog, in a bush, invisible or camouflaged, in a game with the vision pack (visionPack). A unit, not a spot (reveal): Rengar's Thrill of the Hunt on the champions about him, Pyke's Death from Below, a Dust of Appearance
attachrider, duration, onEndOne unit rides another, in a game with the moves pack (movesPack): the rider (the caster, or the unit it was cast on) is out of the world (World.setHidden: not found, not hit, in nobody's way) and goes where its host goes, until the host dies or leaves the world, duration seconds are up, or whoever cast it casts the ability again (on the host, or with a point: the ability's cooldown starts then). Then it is back where its host is, and onEnd happens in the rider's name, at the point the recast gave (where it is otherwise), the host its target: Yuumi's You and Me!, Kalista's Fate's Call (the ally thrown where she aims)
pullseconds, toPoint, effectsDrags what it reaches to the caster's edge (or to where it landed, toPoint) over seconds, after the caster as it moves; effects happen to it as it arrives, in the caster's name. While dragged it does nothing of its own (its orders wait, it casts nothing, uses nothing) and nothing else moves it (a knockback, a dash). Who is rushing somewhere already, and structures, are not pulled
refreshabilityAn ability of the caster is ready again: ability, or the one the effect belongs to
onKillattack, whileBuff, effects, cooldownA passive's: effects happen around whoever the carrier kills (by an attack, with attack; while it carries whileBuff)
onCasteffects, cooldownA passive's: effects happen to the carrier whenever it casts
grantAbilityatLevel, duration, uses, abilityGives what it reaches an ability (ability) at atLevel (the effect's level), for duration seconds or uses casts, or for good, in a game with the ability changes pack (abilityChangesPack): allies when it says nothing
swapAbilityfrom, atLevel, duration, uses, abilityThe caster's ability from (the one the effect belongs to) gives way to ability in its place on the card, at its level (or atLevel), for duration seconds or uses casts, then back; for good with neither. In a game with the ability changes pack: a stance, an awakened ability, a weapon of a set
stealAbilitypick, duration, usesTakes one of the abilities of the unit it was cast on (pick: its ultimate when left out) and puts it in the place of the one the effect belongs to, at that one's level, for uses casts (one when left out) or duration seconds, then back: Sylas's Hijack. In a game with the ability changes pack
convertdurationWhat it reaches becomes the caster's owner's (World.setOwner), for duration seconds or for good: Charm, Dominate. Heroes and structures are left as they are. In a game with the ability changes pack
onDamagedattack, melee, effects, cooldownA passive's: effects happen to whoever hurt the carrier (by an attack with attack, from up close with melee), in the carrier's name, the damage it took in EffectContext.damage (byDamage): Thorns Aura, Frost Armor, Spiked Carapace, Defensive Ball Curl. Not for damage a trigger's effects did: two of them never echo
onAbilityHiteffects, cooldownA passive's: effects happen to an enemy an ability of the carrier hurt, each time one does (not its attacks, not a trigger's effects), the damage in EffectContext.damage: Essence Theft, Phenomenal Evil
onLowHealthbelow, effects, cooldownA passive's: effects happen to the carrier once its health falls below below of its max (as it falls past it), once in cooldown seconds: Mana Barrier
onFatalhealth, effects, cooldownA passive's: instead of dying of a blow or a kill, the carrier is left with health of its max (all of it when left out) and effects happen to it, in its name, once in cooldown seconds: Reincarnation, Guardian Angel (an item's), Anivia's Rebirth (a morph into the egg), Zilean's Chronoshift (a buff's)
removeBuffstacks, buffTakes buff off what it reaches: stacks of it, or all of it (every one of it there is) when left out. A mark popped, stacks spent
cleanse—Takes off what holds them up from what it reaches (allies when it says nothing): harmful stuns, roots, silences, disarms, controls, grounds and slows, not a suppression nor being thrown up (isCleansable): Remove Scurvy
chargedeffects, otherwiseeffects when the ability went off charged, otherwise when it did not
ifcaster, target, effects, otherwiseeffects when what it asks holds, otherwise when it does not: of the caster and of the target (UnitCondition: a buff, health below a share, a hero, tags, enemy or ally; or code) and by chance. On the unit it was cast on, or, with a radius or shape, on each within it (as affects says, enemies when it says nothing), each then the target of what it does. Execute below 20%, Holy Light on the undead, Bash's chance (conditionHolds)
afterdelay, effects, impacteffects happen at the spot, delay seconds from now
zoneduration, effects, onEnd, follow, onEnter, onLeave, edgeFor duration seconds effects happen to what is at the spot, over and over, and onEnd at the end
detectdurationFinds what is invisible around the spot: the caster's team sees it for duration seconds
raiseDeadduration, count, as, unit?Raises count of the corpses around the spot as units of unit, for duration seconds or for good
revivecountBrings back the corpses of the caster's side around the spot (within radius, 6) as what they were, their owners' again and whole, count of them at most (all when left out): Resurrection
illusioncount, duration, dealt?, taken?Makes count copies of the target, for duration seconds: they deal dealt of its damage (a third when left out) and take taken times what they are dealt (twice when left out)
summoncount, unit, lifetime?, spread?, follow?, aggro?, diesWithMaster?Brings count (1) units of unit around where it landed, spread cells from it (1.5), for lifetime seconds (for good when left out): the caster's summons (summoned). With nothing to attack they walk with the caster (follow, true); aggro says whom they go for (mastersAttacker when left out: whoever hits the caster, then the nearest); they die with the caster unless diesWithMaster is false
dispelamountTakes the buffs off what it reaches, and hurts what is summoned by amount
morphduration, toggle, back, intoTurns the caster into another unit type where it stands (into), a form (takeForm): its level, experience, items, buffs and the share of its health and mana kept, what it was told going on, and the form's abilities learned at the levels its form says (HeroDef.forms). For duration seconds, or until cast again (toggle), or both; back says what turns it back
exchangesell, buy, rate, amountTrades amount of a resource of the caster's owner (sell) for another (buy), rate of it for each one sold: a marketplace's (presetMarket, exchange in code). Nothing of it with less than amount to sell
tomegain?, xp?, levels?A tome's, in a game with the tomes pack (tomesPack): what it reaches gains gain for good (a point of strength), a hero xp experience and levels levels
manaBurnamount, scaling, damageType, ratio?Mana burn, in a game with its pack (manaBurnPack): takes amount of the mana of what it reaches, and hurts it by as much as it took, times ratio (1 when left out), magic damage unless damageType says
townPortalcountA town portal, in a game with the portals pack (portalsPack): the caster and as many as count (12 when left out) of its own units within radius (7) of it are at once at its side's home nearest where it was aimed (homeOf)
allyWardbuff, spentA passive's, in a game with the default items (defaultItemsPack): keeps buff on the allies within radius of the carrier (itself too) while the carrier does not carry spent: Dawnmender's ward, whose onFatal spends it (wardSpent)
wardSpentduration, buff, spentOf a ward's trigger (allyWard), on the ally it saved: puts spent on whoever gave the ward for duration seconds and takes the ward (buff) off everyone it gave it to: one save a while, for all of them
refreshAbilitiesultimate?The caster's abilities are ready again: the ones it learns (HeroDef.learns), not its ultimate unless ultimate, not what its items do. Nightfang's kill. In a game with the default items
quickenspell, partA passive's: the caster's ability spell (by id, a hero spell's: reap) cools down part faster (0.5: half again). Nothing for a caster without it. In a game with the default items
outOfFightsbuff, after?A passive's: buff on the carrier while it is out of fights, neither hurt nor attacking for after seconds (5 when left out): Shadow Cowl's, Wanderer's Boots' speed. In a game with the default items
rewardamountGives the caster's owner amount of the game's currency: a kill near the Ring of the Old King. In a game with the default items
nightCompanionunitA passive's: a unit of the carrier's at its side at night, its summon (summoned), gone by day: Wolfhide Charm. In a game with the default items

The fields ​

What each field of EffectFields means, where a type above reads it.

FieldTypeWhat it does
to'home' | 'point' | 'target'For teleport: where to, however far: the caster's side's home (homeOf), where it was aimed, or by its target. For dash, in a game with the moves pack (movesPack): target rushes to the unit it was cast on, after it as it moves, to its edge (or through it); its effects happen to it there
throughnumberFor a dash to a unit (to: 'target'), in a game with the moves pack: it goes on through the unit, this far past its middle, along the way from where the caster set off (Yasuo's Sweeping Blade); the place is fixed as it sets off
collideEffectDef[]For dash and knockback, in a game with the moves pack (movesPack): what happens to each enemy of the caster the one moved meets on its way, once each, in the caster's name, the one met its target and the one moved where they go off from (EffectContext.origin): Lee Sin's Dragon's Rage (who the kicked one flies into is hurt and thrown up), Rammus's Powerball
stopsbooleanFor dash and knockback with collide: the one moved stops at the first one it meets @beta
directionKnockbackDirectionFor knockback, in a game with the moves pack (movesPack): which way it throws (KnockbackDirection): away from where the effects go off from (the caster, or the context's origin: what it always did), aim the way the ability was aimed (Thresh's Flay, Vayne's Condemn, Poppy's charge), over the caster to land distance beyond it on its other side (Singed's Fling: give it a leap), or towards it, to its edge at the most (a yank)
rider'caster' | 'target'For attach, in a game with the moves pack: who is put on whom: the caster on the unit it was cast on (Yuumi's You and Me!, when left out) or that unit on the caster (Kalista's Fate's Call)
as'themselves'For raiseDead: the corpses rise as what they were, the caster's (Animate Dead), rather than as its unit @beta
healthnumberFor onFatal: the share of its max health the carrier is left with, rather than dying: all of it when left out @beta
casterUnitCondition | UnitConditionCheckFor if: what must hold of the caster (UnitCondition, or code), for effects to happen rather than otherwise
targetUnitCondition | UnitConditionCheckFor if: what must hold of the target (UnitCondition, or code): the unit it was cast on, or each one within its radius or shape, where it has one. With no target there, it does not hold
amountEffectValueHow much: of damage, healing, mana, a shield (buff). A number, one per level, or code asked for each target (EffectValue); with what the caster's stats add (scaling) and the formulas of damage, heal and buff (byMaxHealth, byCurrentHealth, byMissingHealth, byStacks, byDistance, targetScaling) on top
buffstringId of the buff to put on the targets
unitstringUnit type, for effects that bring one into the world
owner'neutral'For spawn: whose it is: the caster's when left out, or the neutral player's (a soul nobody owns)
looksLike'target' | 'caster'For spawn: drawn as the target or the caster is (its model, its owner's colour, its size), while it stays what its own type is
dataRecord<string, unknown>For spawn: components it starts with, by id, in the form a save keeps them in
lineSpawnLineFor spawn, in a game with the ground objects pack (groundObjectsPack): so many along a line (SpawnLine), buildings one to a cell: Anivia's Crystallize (across), Taliyah's Weaver's Wall, Yasuo's Wind Wall, Bard's portals (two: one where he stands, one where he aimed)
ring{ count: number; radius: number }For spawn, in a game with the ground objects pack: count round a circle of radius about where it landed, the first the way it was aimed: Jarvan's Cataclysm
poolstringFor gain, in a game with the resources pack (resourcesPack): which of the pools (UnitTypeDef.pools) of what it reaches it fills (or empties, with an amount under 0)
whileBuffstringFor onHit and onKill: only while the carrier carries this buff
everynumberFor onHit: only every so many of the carrier's attacks that land (while it carries whileBuff, where it says), counted on the carrier and saved with it: Jhin's fourth shot, a third strike. Every attack when left out
consumesbooleanFor onHit: the attack that sets it off uses up one of whileBuff's stacks, the buff for its last (or one that does not count them): "the next attack" of Power Fist, Siphoning Strike, Nether Blade, Flurry's two. Used up by the attack that kills too, after what the kill sets off (onKill still sees it)
slotstringFor onHit: the slot it takes among what the carrier's attacks set off (its attack modifiers: an orb, a poison, a frost), from its abilities, items and buffs alike. Of those that share a slot only one goes off, the one of the highest priority; those of different slots, and those of none, all add up (RuleSettings.combat.attackModifiers)
prioritynumberFor onHit with a slot: which of those sharing it goes off, the highest first (0 when left out); the first of the carrier's abilities, then items, then buffs among equals
cooldownScaledFor the triggers of a passive (onHit, onKill, onCast, onDamaged, onAbilityHit, onLowHealth): seconds before it can go off again once it did, kept on the ability's own cooldown (AbilityState.cooldown, shown on its button) for an ability, on the carrier for an item's or a buff's. Every time when left out
belownumberFor onLowHealth: the part of its max health (0.3: 30%) the carrier's health falls below for it to go off: once as it falls past it, not again until it is back above
meleebooleanFor onDamaged: only for an attack that hits from up close (one with no missile: AttackDef.projectileSpeed left out): Thorns Aura, Spiked Carapace
stacksScaledFor removeBuff: how many stacks of buff come off: all of it when left out, the buff itself once none is left
otherwiseEffectDef[]For charged: what happens when the ability is not charged. For if: what happens when its conditions do not hold
blockedbooleanFor missiles: buildings and trees in its way stop it, without anything happening to them
attackbooleanFor onKill: only when it was an attack of the carrier that killed. For onDamaged: only when an attack hurt it
abilitystringFor refresh: the ability that is ready again, when it is not the one the effect belongs to. For grantAbility and swapAbility, in a game with the ability changes pack (abilityChangesPack): the ability given
fromstringFor swapAbility, in a game with the ability changes pack: the caster's ability that gives way, the one the effect belongs to when left out
usesnumberFor grantAbility, swapAbility and stealAbility, in a game with the ability changes pack: casts of it before it is gone (and what it took the place of is back): one for a stolen one when left out, for ever otherwise
atLevelnumberFor grantAbility and swapAbility, in a game with the ability changes pack: the level it is given at: the level of what it takes the place of, or the effect's own, when left out
pick'ultimate' | 'first' | 'random'For stealAbility, in a game with the ability changes pack: which of the target's abilities it takes: its ultimate (when left out), its first, or one at random (world.rng)
leapnumberFor dash: how high the caster rises on the way, which makes it a leap. For whoever draws it
climbnumberFor a leap: how much higher than where it takes off the ground on its way may stand. What stands higher is a wall to it: it comes down in front of it. Over anything when left out
durationEffectValueSeconds the buff lasts, when that is different from its usual duration. In code (EffectValue), asked for each target
scalingScalingWhat the stats of the caster add to the amount: { abilityPower: 0.6 } adds 60% of its ability power. level is for every level of the hero past the first
damageTypeDamageTypeFor damage. Magic when left out
howstringFor damage: how what it kills dies, for the screen, over the ability's own how
delayScaledFor missiles: seconds they take shape where they were cast before they set off. The caster is free to go
speednumberFor missiles: how fast they travel, in units per second, and how far
distanceScaledFor missiles: how far they fly, in cells
countScaledFor missiles: how many are sent, spread over an angle in radians. What one of them hit the others pass by
spreadnumberFor missiles: the angle, in radians, the missiles are spread over
homingbooleanFor missiles: flies after the unit the ability was cast on, and only hits that one
toPointbooleanFor missiles: flies to the spot the ability was aimed at and stops there, distance away at the most. For pull: drags to where the effect landed (a zone's middle, the spot of an after) rather than to the caster
sightnumberFor missiles: how far the team of the caster sees around it
effectsEffectDef[]What happens to what is hit. For missiles: everything they pass through. For onHit: the target of an attack. For dash: what is around where it ends. For pull: what was pulled, as it arrives. For after: what is there when the time is up. For zone: what is inside, over and over
onEndEffectDef[]For missiles that were not stopped, and for zones: what happens where and when they end
impactstringFor after: the name its arrival goes by for whoever draws it and plays its sound, where one ability sets off several that do not look alike: the last of a barrage. The ability's own when left out
pierceboolean | numberFor missiles: goes on after it hit something. False for the ones that are used up by the first thing in their way; a number for those that go through so many and are used up by the next (1: Lux's Light Binding, two at the most)
falloffnumberFor missiles that go through what they hit (pierce): what part of the amounts each one it went through takes off the next (0.3: a third less on the second, less again on the third). Read by damage, heal and mana (share)
hitsOnReturnbooleanFor missiles that come back (returns): on the way back they hit what they pass through again, each once more (Ahri's Orb of Deception); the caster's place is still where it ends
seeknumberFor missiles: they find their own targets: while one flies with nobody to go after, it turns after the nearest it may hit within this far of it and flies after that one (Fox-Fire, Dance of Arrows); another, if that one is gone first
onWallEffectDef[]For missiles: what happens where it meets a wall (ground it cannot cross, a cliff above where it set off, the edge of the play area, a building or a tree): it stops there, and these go off there, to the last one it hit where there is one (Bard's Cosmic Binding). For dash and knockback, in a game with the moves pack (movesPack): the one moved stops at such a wall (what flies meets none), and these go off there in the caster's name, to the one moved (Vayne's Condemn, Poppy's Heroic Charge)
splitEffectDef[]For missiles: what goes off from where it is, the way it flew, once it is done (it hit what used it up, reached whom it flew after, or came to the end of its way) or is split by the game (splitMissile): missiles in it fly on from there at their own spread (Vel'Koz's Plasma Fission: two at a half turn's spread, a quarter either side)
steer{ rate?: number }For missiles: turned by their owner as they fly, towards the point the steer command gives (steerMissile), at most rate radians a second (π when left out): Yuumi's Prowling Projectile, Viktor's storm
follow'caster' | 'target'For zone: goes with a unit, the caster or the target, and faces the way it does; it ends (with its onEnd) when that one dies or leaves the world
onEnterEffectDef[]For zone: what happens to each who comes into it (its own radius or shape, as affects says), those inside as it is laid included. Each in it is seen to every round of the world, not four times a second
onLeaveEffectDef[]For zone: what happens to each who goes out of it, alive @beta
edgeEffectDef[]For zone: what happens to each who crosses its edge, in or out, once it is laid (Veigar's Event Horizon, Thresh's Box): those inside as it is laid have not crossed it
returnsbooleanFor missiles: once done (it hit what used it up or what it flew after, came to the end of its way, or came down) it flies back to the caster, after it wherever it goes, and touches nobody on the way; its onEnd happens where the caster is when it gets there, not where it turned. Gone, with nothing more, if the caster is
secondsScaledFor pull: how long the drag takes, from where the target is to where it ends. Its speed is set by it as it starts: a caster that walks off makes it take longer
arc{ height: number; time?: number }For missiles: thrown, not shot. It goes height up in the middle of its way and comes down at its end, time seconds after it set off however far that is (speed otherwise). It flies over everything, and what is within its radius where it comes down is what it hits
bounce{ count: Scaled; range: number; falloff?: number }For missiles: where it would be done (it reached its target, was used up by what it hit, came down, or came to the end of its way) it springs on to the nearest thing it may hit within range that it has not hit yet, and flies after that one, count times. Every spring takes falloff of the amounts off what it does (0.25: a quarter less each time). Its onEnd is where it is done for good
stackbooleanFor buff: adds one to how many of it the target carries instead of renewing it, up to what the buff allows
sellstringFor exchange: the resource the caster's owner trades away, by id
buystringFor exchange: the resource the caster's owner trades for, by id
ratenumberFor exchange: how much of buy comes for each one of sell (0.5: 100 lumber for 50 gold)
byMissingHealthScaledFor damage: a part of what the target has lost of its health, added to the amount for each it hits (0.1: a tenth of its missing health), worked out as it lands
byMaxHealthScaledFor damage, heal and a shield (buff): a part of the target's maximum health, added for each it reaches (0.08: 8% of its max health). Death and Decay, a % health nuke
byCurrentHealthScaledFor damage, heal and a shield (buff): a part of the health the target has now, added for each it reaches
byStacks{ buff: string; of?: 'target' | 'caster'; amount: Scaled }For damage, heal and a shield (buff): amount more for each stack of buff on the target (of: 'target', when left out) or the caster: Rend's spears, a passive's marks
byDistance{ per: number; most?: number }For damage, heal and a shield (buff): the whole of it times 1 and per for every unit of distance from where it went off to the target (a missile's way, or from the caster or the origin), most times at the most: a javelin that hurts more the farther it flew
targetScalingPartial<Record<StatKey, Scaled>>For damage, heal and a shield (buff): parts of the target's stats added ({ armor: 1 }: as much as its armor; { health: 0.05 }: 5% of its max health), as scaling adds the caster's
byDamageScaledFor damage, heal and a shield (buff) a trigger sets off: a part of the damage that set it off (EffectContext.damage), added (0.2: a fifth of it): Spiked Carapace's returned damage, a heal by what was taken
intostringFor morph: the unit type the caster turns into where it stands, a hero's form (HeroDef.forms)
togglebooleanFor morph: the form lasts until the ability is cast again in it, which turns it back (a toggle); with a duration too, until whichever comes first
backMorphBack[]For morph: what turns the form back (MorphBack): the ability cast again, its duration up, its death. All three when left out (the ability only with toggle); without ability, the ability cast again in the form starts its time over