Description
I've been working on implementing some custom cards that help make a control hunter archetype, but one of the spells is giving me issues.
I wanted it to work sort of like Stampede and Lock and Load as a trigger effect that lasts one turn, but instead of adding cards to your hand, it would turn your removal spells into mini board clears.
{
"name": "Scatter Shot",
"baseManaCost": 2,
"type": "SPELL",
"heroClass": "HUNTER",
"rarity": "EPIC",
"description": "Whenever you cast a spell on a minion this turn, cast a copy of it on adjacent minions as well.",
"targetSelection": "NONE",
"spell": {
"class": "AddSpellTriggerSpell",
"target": "FRIENDLY_PLAYER",
"trigger": {
"eventTrigger": {
"class": "SpellCastedTrigger",
"sourcePlayer": "SELF",
"targetEntityType": "MINION"
},
"spell": {
"class": "RecastSpell",
"target": "ADJACENT_MINIONS",
"card": "PENDING_CARD"
},
"oneTurn": true
}
},
"collectible": true,
"set": "CUSTOM",
"fileFormatVersion": 1
}
Whenever I try to cast a targeted spell on a minion the turn I play this, the entire game crashes.
I think the issue is that it's trying to cast copies of the copied spells in a never ending loop.
Any ideas on how to fix this are appreciated.