You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: