Corrected fireball to be two different actions, one for the casting and one for the explosion
Some checks are pending
Project CI / build (24.x) (push) Waiting to run

This commit is contained in:
WBHarry 2026-04-23 00:38:55 +02:00
parent fae05c24a8
commit 276aee4747

View file

@ -91,7 +91,7 @@
"type": "attack", "type": "attack",
"_id": "GI2VkIcGDOjFRxpT", "_id": "GI2VkIcGDOjFRxpT",
"systemPath": "actions", "systemPath": "actions",
"description": "<p class=\"Card-Feature\">Make a <strong>Spellcast Roll</strong> against a target within Very Far range. On a success, hurl a sphere of fire toward them that explodes on impact. The target and all creatures within Very Close range of them must make a Reaction Roll (13). Targets who fail take<strong> d20+5</strong> magic damage using your Proficiency. Targets who succeed take half damage.</p><p>@Template[type:emanation|range:vc]</p>", "description": "<p class=\"Card-Feature\">Make a <strong>Spellcast Roll</strong> against a target within Very Far range. On a success, hurl a sphere of fire toward them that explodes on impact.</p>",
"chatDisplay": true, "chatDisplay": true,
"actionType": "action", "actionType": "action",
"cost": [], "cost": [],
@ -101,34 +101,7 @@
"recovery": null "recovery": null
}, },
"damage": { "damage": {
"parts": { "parts": {},
"hitPoints": {
"resultBased": false,
"value": {
"custom": {
"enabled": false
},
"multiplier": "prof",
"dice": "d20",
"bonus": 5,
"flatMultiplier": 1
},
"applyTo": "hitPoints",
"type": [
"magical"
],
"base": false,
"valueAlt": {
"multiplier": "prof",
"flatMultiplier": 1,
"dice": "d6",
"bonus": null,
"custom": {
"enabled": false
}
}
}
},
"includeBase": false "includeBase": false
}, },
"target": { "target": {
@ -151,14 +124,105 @@
}, },
"useDefault": false "useDefault": false
}, },
"save": {
"trait": null,
"difficulty": 13,
"damageMod": "half"
},
"name": "Fireball - Cast",
"img": "icons/magic/fire/explosion-fireball-large-red-orange.webp",
"range": "veryFar"
},
"HJ749c2a8WTjkSHY": {
"type": "attack",
"_id": "HJ749c2a8WTjkSHY",
"systemPath": "actions",
"baseAction": false,
"description": "<p>The target and all creatures within Very Close range of them must make a Reaction Roll (13). Targets who fail take<strong> d20+5</strong> magic damage using your Proficiency. Targets who succeed take half damage.</p>",
"chatDisplay": true,
"originItem": {
"type": "itemCollection"
},
"actionType": "action",
"triggers": [],
"areas": [
{
"name": "Fireball",
"type": "placed",
"shape": "emanation",
"size": "veryClose",
"effects": []
}
],
"cost": [],
"uses": {
"value": null,
"max": "",
"recovery": null,
"consumeOnSuccess": false
},
"damage": {
"parts": {
"hitPoints": {
"applyTo": "hitPoints",
"resultBased": false,
"value": {
"multiplier": "prof",
"flatMultiplier": 1,
"dice": "d20",
"bonus": 5,
"custom": {
"enabled": false,
"formula": ""
}
},
"valueAlt": {
"multiplier": "flat",
"flatMultiplier": 1,
"dice": "d6",
"bonus": null,
"custom": {
"enabled": false,
"formula": ""
}
},
"base": false,
"type": [
"magical"
]
}
},
"includeBase": false,
"direct": false
},
"target": {
"type": "any",
"amount": null
},
"effects": [],
"roll": {
"type": null,
"trait": null,
"difficulty": null,
"bonus": null,
"advState": "neutral",
"diceRolling": {
"multiplier": "prof",
"flatMultiplier": 1,
"dice": "d6",
"compare": null,
"treshold": null
},
"useDefault": false
},
"save": { "save": {
"trait": "agility", "trait": "agility",
"difficulty": 13, "difficulty": 13,
"damageMod": "half" "damageMod": "half"
}, },
"name": "Fireball", "name": "Fireball - Explosion",
"img": "icons/magic/fire/explosion-fireball-large-red-orange.webp", "range": "",
"range": "veryFar" "img": "icons/magic/fire/explosion-fireball-large-red-orange.webp"
} }
}, },
"attribution": { "attribution": {