Vǫrðr Forge Steam page

Characters and Gameplay

Magic

Magic is four tables, all in assets/data/, all shipped full so you cut rather than start from nothing:

schools.vfa
The schools of magic (books). Add, remove or rename them here.
magic.vfa
Every spell, a spell <id> row each.
classes.vfa
Which books a class may open, and what it gains at each level.
effects.vfa
Conditions a spell can leave: poison, haste, shields, stuns and so on.

Open any of them in the asset manager for a form. A project's own copy is read first.

A spell

comp spell ember_flare -1 -
field name Ember Flare
field book Fire
field element fire
field cost 4
field kind damage
field damage 2d6+mod
field stat wisdom
field save reflex
field target enemy
field effect burning 2
field level 3
field fx ember_burst
field sound flare.wav
name
What the player is shown.
book, element
Its school, and its damage type.
cost
Mana spent.
kind
damage, heal, buff or debuff.
damage, heal
Dice, such as 8d6 or 3d10+mod. mod is the caster's bonus in the stat attribute. power <n> is a flat amount instead.
save, onsave, dc
A saving throw the target may roll, what a made save leaves (half or none), and a nudge to its difficulty.
target
enemy, ally, self, allenemies or allies.
effect <id> [rounds]
A condition from effects.vfa left on the target, for 3 rounds unless it says.
class, level, skill, reqstat
Gates: only this class, from this level, with this skill, with this attribute at least this high.
range, speed
How far it reaches (420 pixels when it says nothing) and how fast it flies; without a speed it lands at once.
area <shape> [size]
A sphere, cone, line or cube instead of one target, its size in pixels (192 when it says nothing). See Areas below.
areahits
Who an area catches: targets, the side its target names, or everyone in it.
actcost
What it costs in a d20 fight under the actions economy: action, bonus action, reaction or free.
cooldown, cooldownf, cdgroup
Seconds before it can be cast again, the same as a formula, and a word several spells share so one cast starts the timer for all.
fx, sound
Its particle effect and sound.
icon
A picture in assets/icons/, shown beside the spell in the spellbook, on the skill bar and in the battle screen's Magic list.
anim
A clip the caster plays as the spell is cast.

Each spell's Icon, Animation, FX and Sound are picked from lists in the asset manager's table and tree, and so are its Area, Area hits and Action cost.

Areas

A sphere or a cube sits on a point within the spell's range that the caster can see. A cone or a line starts at the caster and runs toward the aim; a line is as wide as the d20 rules' cell, and a cone is as wide at each point as it is far from the caster. A body in full cover from the area's centre (the caster, for a cone or a line) is not caught. The damage dice are rolled once for everyone caught, and each rolls their own save; under graded cover, half and three-quarters cover help a save the speed attribute governs.

In a d20 fight, an area spell on the skill bar opens an aim on your turn: the shape on the ground, and a ring under everyone it would catch. Click to cast; right-click to put it away.

Classes

comp class emberblade -1 -
field name Emberblade
field blurb A sword-hand who learned to set the blade alight.
field book Fire
field book War
field grant 1 skill blade_grip
field grant 3 spell ember_flare
field grant 4 points 1
name, blurb
What the player is shown, and one sentence at class choice.
book
A school the class may cast from, one field each. A class with no book field casts from every school.
grant <level> spell|skill|flag|points|attr|item
A grant on reaching that level, one field each.

The player's class is characterclass <id> in game.vdc, or chosen at New Game when classpick on.

Conditions

A comp effect <id> -1 - row in effects.vfa, fields kind and amount, and when wanted stat (an attribute), period (seconds) and label (its name). The kinds: dot (damage over time), hot (healing over time), stat, armor, stun, tohit, speed, shield, dmgmul, takemul, silence, mp, thorns and confuse; each is on the Conditions page with stacking, cures and resistance. The spell says how long. Conditions count rounds in a fight and seconds on the map. In a d20 fight they also bend the dice; see Combat.

The mana pool

A bar named mana or mp in attributes.vfa is the pool. Levelling up and rekindling after a fall fill it. A rest, an item's bar mp and an mp condition give some back.

Casting

On the battle screen, Magic lists the spells the fighter knows, may cast, meets the gates for and can pay for. In turns on the map and in real time, spells sit on the skill bar. The Magic screen (B in play) is the spellbook: each school's spells, for you and for each companion. A learned spell is added with learnspell <id> or Player.LearnSpell(id).