diff --git a/public/games/age-of-dwarves/data/spells/aether.json b/public/games/age-of-dwarves/data/spells/aether.json new file mode 100644 index 00000000..e1c597b0 --- /dev/null +++ b/public/games/age-of-dwarves/data/spells/aether.json @@ -0,0 +1,44 @@ +[ + { + "id": "scrying", + "name": "Scrying", + "description": "Peer through the veil to reveal distant lands hidden by fog of war.", + "school": "aether", + "tier": 1, + "scope": "global", + "mana_cost": 3, + "research_cost": 20, + "effects": [ + { "type": "reveal_area", "radius": 5, "target": "tile" } + ], + "duration": 5 + }, + { + "id": "haste", + "name": "Haste", + "description": "Warp time around a unit, granting it supernatural speed.", + "school": "aether", + "tier": 2, + "scope": "local", + "mana_cost": 8, + "research_cost": 55, + "effects": [ + { "type": "buff_movement", "value": 2, "target": "friendly_unit" } + ], + "duration": 3 + }, + { + "id": "teleport", + "name": "Teleport", + "description": "Tear open a rift in space and instantly transport a unit to any visible location.", + "school": "aether", + "tier": 3, + "scope": "global", + "mana_cost": 20, + "research_cost": 140, + "effects": [ + { "type": "teleport_unit", "target": "friendly_unit", "destination": "visible_tile" } + ], + "duration": 0 + } +] diff --git a/public/games/age-of-dwarves/data/spells/chaos.json b/public/games/age-of-dwarves/data/spells/chaos.json new file mode 100644 index 00000000..701c9e9c --- /dev/null +++ b/public/games/age-of-dwarves/data/spells/chaos.json @@ -0,0 +1,45 @@ +[ + { + "id": "fireball", + "name": "Fireball", + "description": "Hurl a ball of flame at a target, engulfing it in searing fire.", + "school": "chaos", + "tier": 1, + "scope": "local", + "mana_cost": 6, + "research_cost": 30, + "effects": [ + { "type": "damage", "value": 25, "target": "enemy_unit" } + ], + "duration": 0 + }, + { + "id": "fire_wall", + "name": "Fire Wall", + "description": "Conjure a wall of roaring flame across the battlefield that scorches anything crossing it.", + "school": "chaos", + "tier": 2, + "scope": "local", + "mana_cost": 10, + "research_cost": 70, + "effects": [ + { "type": "create_barrier", "radius": 3, "target": "hex_area" }, + { "type": "damage_on_cross", "value": 10, "target": "any_unit" } + ], + "duration": 3 + }, + { + "id": "meteor_strike", + "name": "Meteor Strike", + "description": "Call down a blazing meteor from the heavens, devastating everything on the target tile.", + "school": "chaos", + "tier": 3, + "scope": "global", + "mana_cost": 25, + "research_cost": 150, + "effects": [ + { "type": "damage", "value": 40, "target": "tile_all_units" } + ], + "duration": 0 + } +] diff --git a/public/games/age-of-dwarves/data/spells/death.json b/public/games/age-of-dwarves/data/spells/death.json new file mode 100644 index 00000000..43ada0b5 --- /dev/null +++ b/public/games/age-of-dwarves/data/spells/death.json @@ -0,0 +1,45 @@ +[ + { + "id": "weakness", + "name": "Weakness", + "description": "Sap an enemy's strength with a withering curse, leaving them feeble in combat.", + "school": "death", + "tier": 1, + "scope": "local", + "mana_cost": 5, + "research_cost": 25, + "effects": [ + { "type": "debuff_attack", "value": -4, "target": "enemy_unit" } + ], + "duration": 3 + }, + { + "id": "drain_life", + "name": "Drain Life", + "description": "Tear the life force from an enemy and absorb it, healing the caster.", + "school": "death", + "tier": 2, + "scope": "local", + "mana_cost": 10, + "research_cost": 65, + "effects": [ + { "type": "damage", "value": 20, "target": "enemy_unit" }, + { "type": "heal", "value": 20, "target": "caster" } + ], + "duration": 0 + }, + { + "id": "plague", + "name": "Plague", + "description": "Unleash a supernatural pestilence upon an enemy city, killing citizens and crippling growth.", + "school": "death", + "tier": 3, + "scope": "global", + "mana_cost": 20, + "research_cost": 130, + "effects": [ + { "type": "reduce_population", "value": 1, "target": "enemy_city" } + ], + "duration": 0 + } +] diff --git a/public/games/age-of-dwarves/data/spells/life.json b/public/games/age-of-dwarves/data/spells/life.json new file mode 100644 index 00000000..3cc22797 --- /dev/null +++ b/public/games/age-of-dwarves/data/spells/life.json @@ -0,0 +1,45 @@ +[ + { + "id": "heal_unit", + "name": "Heal Unit", + "description": "Channel restorative light into a wounded ally, mending flesh and bone.", + "school": "life", + "tier": 1, + "scope": "local", + "mana_cost": 5, + "research_cost": 25, + "effects": [ + { "type": "heal", "value": 30, "target": "friendly_unit" } + ], + "duration": 0 + }, + { + "id": "bless", + "name": "Bless", + "description": "Invoke a holy blessing that strengthens a unit's resolve and skill in battle.", + "school": "life", + "tier": 2, + "scope": "local", + "mana_cost": 8, + "research_cost": 60, + "effects": [ + { "type": "buff_attack", "value": 3, "target": "friendly_unit" }, + { "type": "buff_defense", "value": 3, "target": "friendly_unit" } + ], + "duration": 3 + }, + { + "id": "divine_shield", + "name": "Divine Shield", + "description": "Erect a radiant barrier over a city, shielding all garrisoned units from harm.", + "school": "life", + "tier": 3, + "scope": "global", + "mana_cost": 15, + "research_cost": 120, + "effects": [ + { "type": "buff_defense", "value": 5, "target": "city_units" } + ], + "duration": 5 + } +] diff --git a/public/games/age-of-dwarves/data/spells/nature.json b/public/games/age-of-dwarves/data/spells/nature.json new file mode 100644 index 00000000..e25ae9d1 --- /dev/null +++ b/public/games/age-of-dwarves/data/spells/nature.json @@ -0,0 +1,49 @@ +[ + { + "id": "entangle", + "name": "Entangle", + "description": "Thorny vines erupt from the earth, rooting an enemy in place.", + "school": "nature", + "tier": 1, + "scope": "local", + "mana_cost": 4, + "research_cost": 20, + "effects": [ + { "type": "immobilize", "target": "enemy_unit" } + ], + "duration": 2 + }, + { + "id": "wild_growth", + "name": "Wild Growth", + "description": "Accelerate the fertility of the land, causing crops and vegetation to flourish.", + "school": "nature", + "tier": 2, + "scope": "global", + "mana_cost": 12, + "research_cost": 75, + "effects": [ + { "type": "buff_yield", "yield_type": "food", "value": 3, "target": "tile" } + ], + "duration": 10 + }, + { + "id": "summon_wolf", + "name": "Summon Wolf", + "description": "Call forth a spectral wolf from the wilds to fight at your command.", + "school": "nature", + "tier": 3, + "scope": "global", + "mana_cost": 18, + "research_cost": 110, + "effects": [ + { + "type": "summon_unit", + "unit_id": "summoned_wolf", + "target": "tile", + "summoned_stats": { "hp": 40, "attack": 8, "defense": 4, "movement": 3 } + } + ], + "duration": 0 + } +]