Skill and effect reference
Every key of a designed skill (skills.toml [design.*]) and of an effect and its layers (effects.toml), with the kinds or layers that read it, its default and what it does.
Every key the Skill Designer and the Effect Creator edit, as written in
gamedata/skills.toml and gamedata/effects.toml. The editors show the same text when you hover a field.
Any number of a designed skill can grow with the rank: key = 12 (the same at every rank), key = [12, 3] (12 at
rank 1, +3 each rank) or key = [12, 3, 30] (never past 30; with a negative step, never below it). Unset keys take
the defaults below. "All that strike" is every kind but buff, heal, summon, custom and blink.
Designed skill keys
Skill
| Key | Kinds | Default | Means |
|---|---|---|---|
kind |
all | one of projectile nova cone beam zone aura buff heal weapon_art dash summon passive custom blink |
Kind: What the skill does (each kind reads its own keys). |
id |
all | 0 | Id: 192 and up; saves, trees and quick slots keep it: always give it, never change it. |
replaces |
all | text | Replaces: A disc spell (its name, e.g. "shockoffire", or index) whose place this design takes: the trees, saves and slots that have that spell cast this instead (the heroes' casts; monsters keep the original). |
title |
all | text | Title: The name shown (a GTEXT key or words). |
description |
all | text | Description: The skill box's text (a GTEXT key or words). |
icon |
all | text | Icon: Quick-slot / tree icon: a mod image ("ui/skills/x.png", a full round icon that fills the tree slot) or a disc picture ("lump:ICONS.LMP/icbash.tex"). |
clip |
all | text | Cast clip: The hero's clip played on the cast ("cast", "quake", "bash"...). |
script |
all | text | Script: A Lua file under scripts/ whose hooks (can_cast, cast, on_hit...) run on top (a custom skill's: all it does). |
passive |
custom | false | Passive: No button: the script's hooks run while the skill is ranked. |
cost |
all | 10 | Energy: Energy per cast. |
cooldown |
all | 0 s | Cooldown: Seconds before it can be cast again. |
delay |
all | 0 s | Cast delay: Seconds from the press to the effect (the cast clip's moment). |
Damage
| Key | Kinds | Default | Means |
|---|---|---|---|
damage |
all that strike | 0 | Damage: Damage of each blow (a zone's, aura's or beam's: each tick). |
damage_spread |
all that strike | 20 % | Spread: Each blow rolls damage .. damage x (1 + spread / 100). |
element |
all that strike | one of none fire cold lightning poison disease |
Element: The damage's element: resisted, and it starts its status (burn, chill, shock, poison, disease). |
weapon |
all that strike | 0 % | Weapon damage: Adds this share of the hero's weapon roll to each blow. |
undead |
all that strike | 100 % | Against undead: Damage multiplier against the undead. |
knockdown |
all that strike | false | Knock down: The blows knock their victims down. |
unblockable |
all that strike | false | Unblockable: Guarding creatures can't parry the blows. |
lifesteal |
all that strike | 0 % | Life steal: Health gained from the damage dealt. |
manasteal |
all that strike | 0 % | Energy steal: Energy gained from the damage dealt. |
On hit
| Key | Kinds | Default | Means |
|---|---|---|---|
proc_chance |
passive | 0 % | Proc chance: (passive) The chance a melee hit of the hero deals the damage and the effects below. |
stun_chance |
all that strike | 0 % | Stun chance |
stun_time |
all that strike | 2 s | Stun time |
confuse_chance |
all that strike | 0 % | Confuse chance: Confused creatures fight each other. |
confuse_time |
all that strike | 5 s | Confuse time |
root_chance |
all that strike | 0 % | Root chance: Rooted creatures can't move. |
root_time |
all that strike | 4 s | Root time |
chill |
all that strike | 0 frames | Chill: Added to the victim's cold build-up (slows it), in frames. |
poison_time |
all that strike | 0 s | Poison: Sets the victim's poison timer. |
burn_time |
all that strike | 0 s | Burn: Sets the victim's burn timer. |
push |
all that strike | 0 u/s | Push: Slides the victim away from the blow at this speed. |
Shape
| Key | Kinds | Default | Means |
|---|---|---|---|
count |
projectile | 1 | Projectiles: Bolts per cast. |
spread |
projectile | 15 deg | Spread: The fan the bolts share (degrees across). |
speed |
projectile, dash | 350 u/s | Speed: Flight speed (a dash's: its rush). |
life |
projectile | 2 s | Life: Seconds a bolt flies before it ends. |
hit_radius |
projectile, dash | 12 u | Hit radius: How close an enemy must be to be touched. |
homing |
projectile | 0 deg/s | Homing: Turn rate toward the aimed enemy (0: straight). |
homing_delay |
projectile | 0 s | Homing delay: Seconds of straight flight before it steers. |
gravity |
projectile | 0 u/s2 | Gravity: Downward pull (a lobbed shot). |
lift |
projectile | 0 u/s | Lift: Upward launch speed (with gravity: an arc). |
pierce |
projectile | 0 | Pierce: Enemies a bolt flies through before it ends. |
bounce |
projectile | 0 | Bounces: Times a bolt bounces off the level instead of ending. |
chain |
projectile, beam | 0 | Chain: Enemies the blow jumps on to from the one struck. |
chain_range |
projectile, beam | 200 u | Chain range |
chain_falloff |
projectile, beam | 75 % | Chain damage: Damage kept at each jump. |
blast_radius |
projectile, dash | 0 u | End blast: A burst where the bolt ends (or a dash ends): every enemy within takes the blast damage. |
blast_damage |
projectile, dash | 100 % | Blast damage: The end blast's damage, as a share of the damage. |
split |
projectile | 0 | Split: Bolts released where a bolt ends (they don't split again). |
split_damage |
projectile | 50 % | Split damage: The split bolts' damage, as a share of the damage. |
aim_range |
projectile, nova, beam, zone | 340 u | Aim range: The auto-aim's reach: the first enemy this close in the aim arc. |
aim_arc |
projectile, nova, beam, zone | 20 deg | Aim arc |
radius |
nova, zone, aura | 150 u | Radius: The area's size. |
place |
nova, zone | one of self ahead target |
Centre: Where the area is: on the caster, offset ahead of it, or on the aimed enemy (else ahead). |
offset |
nova, zone | 100 u | Ahead: How far ahead an ahead centre is. |
wave_speed |
nova | 0 u/s | Wave speed: 0: the whole area at once; else a ring expanding at this speed strikes each enemy as it reaches it. |
range |
cone, beam, weapon_art | 200 u | Range: The reach. |
arc |
cone, weapon_art | 60 deg | Arc: The sector's width. |
max_targets |
cone, weapon_art | 99 | Max targets |
ticks |
cone | 1 | Strikes: Times the cone strikes. |
tick |
cone, beam, zone, aura | 0.5 s | Tick: Seconds between strikes. |
duration |
beam, zone, aura, buff | 5 s | Duration: Seconds it lasts. |
drift |
zone | 0 u/s | Drift: The zone moves along the cast's facing at this speed. |
width |
beam | 16 u | Width: The beam's thickness. |
tendrils |
beam | 0 | Tendrils: Other enemies near the beam's end it also strikes (a third of its damage). |
tendril_range |
beam | 150 u | Tendril range |
heal |
zone, aura, heal | 0 | Heal: Health given each tick to the caster while it is inside (zone, aura) or at the cast (heal). |
heal_share |
heal | 0 % | Heal share: Health as a share of the maximum. |
energy |
heal | 0 | Energy: Energy restored. |
over |
heal | 0 s | Over: 0: at once; else spread over this many seconds. |
hits |
weapon_art | 1 | Blows: Blows of the move. |
interval |
weapon_art | 0.2 s | Between blows |
lunge |
weapon_art | 0 u | Lunge: The hero is carried this far forward during the move. |
time |
dash | 0.4 s | Rush time: Seconds the dash lasts. |
distance |
blink | 200 u | Distance: How far ahead the caster appears. Where that spot isn't walkable ground (inside a wall, over a drop, off the level), the farthest walkable spot along the way is taken instead. |
min_distance |
blink | 48 u | Least distance: No walkable spot at least this far ahead: the cast is refused (no energy spent). |
rise |
blink | 240 u | Highest climb: How far above the caster's feet the spot may be (up a ledge or a stair). |
drop |
blink | 400 u | Deepest drop: How far below the caster's feet the spot may be. |
creature |
summon | text | Creature: A monster class or kind (monsters.toml) that fights for the caster. |
amount |
summon | 1 | Creatures |
lifetime |
summon | 60 s | Lifetime: Seconds they stay (0: for good). |
creature_level |
summon | 0 | Level: Their monster level (0: the area's). |
Buff
| Key | Kinds | Default | Means |
|---|---|---|---|
strength |
aura, buff, passive | 0 | Strength: Added. |
intelligence |
aura, buff, passive | 0 | Intelligence: Added. |
dexterity |
aura, buff, passive | 0 | Dexterity: Added. |
stamina |
aura, buff, passive | 0 | Stamina: Added. |
max_health |
aura, buff, passive | 0 | Max health: Added. |
max_energy |
aura, buff, passive | 0 | Max energy: Added. |
armor |
aura, buff, passive | 0 | Armour: Added. |
damage_bonus |
aura, buff, passive | 0 % | Damage: The hero's weapon damage, more (+) or less (-). |
speed_bonus |
aura, buff, passive | 0 % | Speed: Movement speed. |
crit |
aura, buff, passive | 0 % | Critical chance: Added to the critical chance. |
health_regen |
aura, buff, passive | 0 % | Health regen |
energy_regen |
aura, buff, passive | 0 % | Energy regen |
damage_taken |
aura, buff, passive | 0 % | Damage taken: Blows on the hero, less (-) or more (+). |
Visuals
| Key | Kinds | Default | Means |
|---|---|---|---|
cast_effect |
all | effect name | Cast: Played at the hand when it is cast (a blink: where the caster vanishes). |
trail_effect |
projectile, beam, dash | effect name | Flight: Follows each bolt (a dash: the hero; a beam: along it). |
hit_effect |
all that strike | effect name | Hit: On each enemy struck. |
end_effect |
projectile, nova, dash, blink | effect name | End: Where a bolt ends, a nova's centre, a dash's end, where a blink lands. |
area_effect |
nova, cone, zone, aura | effect name | Area: Runs over a zone or aura while it lasts (scaled to its radius); a cone's strike. |
aura_effect |
buff, heal, passive | effect name | On the hero: On the caster while a buff (or a passive) is in effect. |
look |
projectile, nova, cone, zone | text | Disc look: A disc spell whose own visuals the bolts / areas borrow ("shockoffire", "firestorm"...). |
cast_sound |
all | sound | Cast sound: An fx.lmp entry ("spel_we_firearrow_hit.anm") or "/". |
hit_sound |
all that strike | sound | Hit sound |
end_sound |
projectile, nova, dash, blink | sound | End sound |
Effect keys
Effect
| Key | Default | Means |
|---|---|---|
duration |
1 | Duration: Seconds the effect runs (looping: one cycle). |
loop |
false | Loop: Runs until the skill stops it (auras, zones, flights). |
scale |
1 | Scale: Multiplies every size, radius, offset and speed of its layers. |
Layers
| Key | Layers | Default | Means |
|---|---|---|---|
type |
all | one of particles glow trail light arc ring sound look |
Type: What the layer is. |
order |
all | 0 | Order: Layers run in this order (then by name). |
start |
all | 0 s | Start: Seconds into the effect it begins. |
length |
all | 0 s | Length: Seconds it runs (0: to the effect's end). |
offset |
all | [x, y, z] | Offset: From the effect's centre: x forward, y left, z up (along its facing). |
rate |
particles | 60 /s | Rate: Particles a second while it runs. |
burst |
particles | 0 | Burst: Particles all at once when it begins. |
shape |
particles | one of point sphere shell ring disc line cone |
Shape: Where they appear: a point, inside a sphere, on a sphere's shell, a ring, a disc, along a line ahead, or a cone. |
radius |
particles,ring,arc | 10 u | Radius: The shape's size (a ring's / arc's / ring layer's start radius). |
fit |
particles,ring | false | Fit the area: The radius is a share of the skill's area (1 = its edge): a zone's, an aura's, a nova's (none: 100 units). |
direction |
particles | one of up out forward back down velocity random |
Direction: Where they fly: up, out from the centre, forward, back, down, along the effect's motion, anywhere. |
speed |
particles | 40 u/s | Speed |
speed_random |
particles | 30 % | Speed random: Each particle's speed varies by up to this share. |
angle |
particles | 25 deg | Spread: How far from the direction they may stray. |
inherit |
particles | 0 % | Inherit motion: Share of the effect's own velocity they keep (a bolt's trail: small). |
gravity |
particles | 0 u/s2 | Gravity: Up (+) or down (-) pull. |
size |
particles,glow,ring | 4 u | Size: Half-size in units at birth. |
size_end |
particles,ring | 1 u | End size: At the end of its life (particles) / the layer (ring). |
color |
particles,glow,trail,light,arc,ring | [r, g, b, a] 0-255 | Colour: RGBA 0-255 (additive layers may go over: brighter). |
color_end |
particles,ring | [r, g, b, a] 0-255 | End colour |
life |
particles,trail | 0.5 s | Life: Seconds each particle lives. |
blend |
particles,glow,trail,ring | one of add alpha streak haze |
Blend: add: glowing (fire, magic); alpha: solid (smoke, dust); streak: motion lines; haze: heat shimmer. |
sprite |
particles | text | Sprite: The particle atlas's picture (a name or its cell number). |
local |
particles | false | Move with it: Particles already out move with the effect (an aura on a running hero). |
pulse |
glow,light | 0 Hz | Pulse: Throbs this many times a second. |
pulse_amount |
glow,light | 30 % | Pulse amount |
halo |
glow,ring | one of halo1 halo8 halo2 halo3 halo4 wisp halo5 halo7 |
Halo: The glow picture. |
fade_in |
glow,light,ring | 0 s | Fade in |
fade_out |
glow,light,ring | 0.2 s | Fade out |
spin |
glow | 0 deg/s | Spin |
band |
trail | 0 | Band: trail.tex's band 0-8 (its texture). |
width |
trail,arc | 250 | Width |
light_radius |
light | 150 u | Radius: The light's reach at its start. |
light_radius_end |
light | 60 u | End radius |
count |
arc,ring | 3 | Count: Arcs (arc) / glows round the ring (ring). |
reach |
arc | 60 u | Reach: How far a random arc goes. |
amp |
arc | 12 u | Jaggedness |
depth |
arc | 3 | Detail: Subdivisions (2^depth segments). |
every |
arc | 0.05 s | Every: Seconds between new arcs. |
to_target |
arc | false | To the target: Arcs go to the effect's target (a beam's end, a chained enemy) when it has one. |
radius_end |
ring | 120 u | End radius |
sound |
sound | text | Sound: An fx.lmp entry or "/". |
spell |
look | text | Disc spell: Its name ("shockoffire") or index. |
part |
look | one of cast bolt area |
Part: Which of its visuals: the cast, a bolt in flight, its area. |
Sprites
glow smoke1 smoke2 smoke3 smoke4 smoke5 puff bubbles star dot smoke_ring orange_star cyan_flare green_star magenta_dot yellow_star bubble_anim fire_anim cyan_dot sparkle_anim
