cecilkorik_training/assets/data/effects/maethalion_boost_trainDamage.json

265 lines
No EOL
6 KiB
JSON

{
"id": "maethalion_boost_trainDamage",
"info": {
"dataVersion": 1,
"sourceFile": "maethalion_boost_trainDamage",
"modId": "wildermyth",
"author": "maethalion"
},
"type": "OVERLAND_ABILITY",
"verb": "MANEUVER",
"ability": { "icon": "battledance", "category": "crafting", "priority": "0" },
"targets": [
{
"template": "SELF_SITE",
"aspects": [ "SELF", "workingStation", "NO_JOBS_ACTIVE" ],
"aspectValues": [
{ "id": "infestedTile*", "forbidden": true }
],
"forbidJobIds": [ "maethalion_boost_job_train*" ]
},
{ "role": "target", "template": "OVERLAND_TILE", "range": "0" },
{
"template": "CHOICE",
"promptScript": [
{
"class": "comicNode_Panel",
"panel": {
"size": "full",
"bg": "comicBG_classAbility_hunter.jpg",
"actorSlots": [
{
"assetSpec": "asset:ui/misc/battleModifier_courage.png",
"role": null,
"focus": "foot",
"anchor": { "x": 0.238, "y": 0.393 },
"size": 0.3,
"nameTag": "none",
"foot": { "rotate": 0 }
},
{
"assetSpec": "figure:human/items/item_axe_lumber.png",
"role": null,
"focus": "foot",
"anchor": { "x": 0.119, "y": 0.234 },
"size": 0.3499,
"nameTag": "none",
"foot": { "rotate": -30 }
},
{
"assetSpec": "scenery:drauven_basketSpears.png",
"role": null,
"focus": "foot",
"anchor": { "x": 0.374, "y": 0.274 },
"size": 0.4297,
"nameTag": "none"
},
{
"assetSpec": "item:item_sword_old.png",
"role": null,
"focus": "foot",
"anchor": { "x": 0.066, "y": 0.284 },
"size": 0.3499,
"drawDepth": 6,
"nameTag": "none",
"foot": { "rotate": -144.455 }
},
{
"assetSpec": "figure:human/items/item_staff_crook.png",
"role": null,
"focus": "foot",
"anchor": { "x": 0.077, "y": 0.299 },
"size": 0.2251,
"drawDepth": 7,
"nameTag": "none"
}
],
"textSlots": [
{
"textSourceFile": "maethalion_boost_trainDamage",
"textKey": "~01~prompt~panel_001~1_narration",
"style": "narration",
"padXFraction": 0.461,
"padYFraction": 0.332,
"widthFraction": 0.5
},
{
"textSourceFile": "maethalion_boost_trainDamage",
"textKey": "~01~prompt~panel_001~2_darken",
"style": "darken",
"padXFraction": 0.25,
"padYFraction": 0.04,
"shrinkToFitText": true
}
]
}
}
],
"options": [
{
"id": "one",
"script": [
{
"class": "comicNode_Panel",
"panel": {
"size": "fourth",
"bg": "comicBG_abstractAngry.jpg",
"actorSlots": [
{
"assetSpec": "asset:ui/misc/battleModifier_fortitude.png",
"role": null,
"focus": "foot",
"anchor": { "x": 0.5, "y": 0.45 },
"size": 0.2,
"nameTag": "none"
}
],
"textSlots": [
{
"textSourceFile": "maethalion_boost_trainDamage",
"textKey": "~02~choice_one~panel_001~1_narration",
"style": "narration"
}
]
}
}
],
"ifTargetIsPresent": "self"
},
{
"id": "two",
"script": [
{
"class": "comicNode_Panel",
"panel": {
"size": "fourth",
"bg": "comicBG_class_mystic.jpg",
"actorSlots": [
{
"assetSpec": "asset:ui/misc/battleModifier_fortitude.png",
"role": null,
"focus": "foot",
"anchor": { "x": 0.5, "y": 0.45 },
"size": 0.2,
"nameTag": "none"
}
],
"textSlots": [
{
"textSourceFile": "maethalion_boost_trainDamage",
"textKey": "~03~choice_two~panel_001~1_narration",
"style": "narration"
}
]
}
}
],
"ifTargetIsPresent": "self"
},
{
"id": "three",
"script": [
{
"class": "comicNode_Panel",
"panel": {
"size": "fourth",
"bg": "comicBG_abstractHappy.jpg",
"actorSlots": [
{
"assetSpec": "asset:ui/misc/battleModifier_fortitude.png",
"role": null,
"focus": "foot",
"anchor": { "x": 0.5, "y": 0.45 },
"size": 0.2,
"nameTag": "none"
}
],
"textSlots": [
{
"textSourceFile": "maethalion_boost_trainDamage",
"textKey": "~04~choice_three~panel_001~1_narration",
"style": "narration"
}
]
}
}
],
"ifTargetIsPresent": "self"
},
{
"id": "cancel",
"script": [
{
"class": "comicNode_Panel",
"panel": {
"size": "fourth",
"bgAuto": "atSite",
"textSlots": [
{
"textSourceFile": "maethalion_boost_trainDamage",
"textKey": "~05~choice_cancel~panel_001~1_darken",
"style": "darken",
"padXFraction": 0.25,
"padYFraction": 0.45,
"widthFraction": 0.5
}
]
}
}
],
"uiCancel": true
}
]
}
],
"outcomes": [
{
"class": "IfPlayerChose",
"ifPlayerChose": "one",
"then": {
"class": "DoAll",
"outcomes": [
{
"class": "NewJob",
"effectId": "maethalion_boost_job_train|stat.PHYSICAL_DAMAGE_BONUS|PHYSICAL_DAMAGE_BONUS|1.0",
"post": "self",
"injectedRoles": [ "self", "target" ],
"promptSlotsImmediately": true
}
]
}
},
{
"class": "IfPlayerChose",
"ifPlayerChose": "two",
"then": {
"class": "DoAll",
"outcomes": [
{
"class": "NewJob",
"effectId": "maethalion_boost_job_train|stat.SPELL_DAMAGE|SPELL_DAMAGE|1.0",
"post": "self",
"injectedRoles": [ "self", "target" ],
"promptSlotsImmediately": true
}
]
}
},
{
"class": "IfPlayerChose",
"ifPlayerChose": "three",
"then": {
"class": "DoAll",
"outcomes": [
{
"class": "NewJob",
"effectId": "maethalion_boost_job_train|stat.POTENCY|POTENCY|1.0",
"post": "self",
"injectedRoles": [ "self", "target" ],
"promptSlotsImmediately": true
}
]
}
}
]
}