JSFiddle - React, Tailwind, and code Playground
by Dread Knight
JavaScript
[
{
"id": 0,
"name": "Dark Priest",
"lvl": "-",
"embed": null,
"realm": "-",
"size": 1,
"type": "--",
"stats": {
"health": 100,
"regrowth": 1,
"endurance": 60,
"energy": 100,
"meditation": 20,
"initiative": 50,
"offense": 3,
"defense": 3,
"movement": 2,
"pierce": 2,
"slash": 2,
"crush": 2,
"shock": 2,
"burn": 2,
"frost": 2,
"poison": 2,
"sonic": 2,
"mental": 30
},
"animation": {
"walk_speed": 500
},
"display":{
"width": 108,
"height": 200,
"offset-x": 0,
"offset-y": -164
},
"ability_info": [
{
"title": "Plasma Shield",
"desc": "Protects from most harmful abilities.",
"info": "-1 plasma for each countered attack",
"costs": {"special":"1%health%per countered attack"},
"requirements" : {"plasma" : 1}
},
{
"title": "Electro Shocker",
"desc": "Does shock damage to a nearby foe. Effective versus larger creatures.",
"info": "12 shock damage × creature size",
"damages" : {"shock" : "12 × creature size"},
"costs": {"energy": 10}
},
{
"title": "Disruptor Beam",
"desc": "Does pure damage to a nearby foe. Bonus based on its missing health.",
"info": ">25 damage; plasma cost = unit size",
"requirements": {
"plasma": 2,
"energy": 20
},
"damages": {"pure": "25 + missing health"},
"costs": {
"energy": 20,
"plasma": "target unit size"
}
},
{
"title": "Unit Maker",
"desc": "Materializes an unit on the combat field that will serve and obey orders.",
"info": "plasma cost = unit size + unit level",
"costs": {"plasma": "creature size + level"}
}
]
},
{
"id": 1,
"name": "Bounty Hunter",
"lvl": 2,
"embed": null,
"realm": "A",
"size": 1,
"type": "A2",
"stats": {
"health": 100,
"regrowth": 2,
"endurance":...