[confirmed]Harness the Storm spell cast from gy for free
Report wrong Card behavior to get it fixed.
PLEASE ADD SAVEGAMES TO YOUR TOPIC !
PLEASE ADD SAVEGAMES TO YOUR TOPIC !
Moderators: BAgate, drool66, Aswan jaguar, gmzombie, stassy, CCGHQ Admins
[confirmed]Harness the Storm spell cast from gy for free
by Aswan jaguar » 27 Sep 2016, 14:41
Describe the Bug:
I had Harness the Storm in play and Riot Control in graveyard.I cast another Riot Control but Harness the Storm didn't trigger.
Which card did behave improperly ?
Harness the Storm
Which update are you using?(date,name)Which type(Duel,Gauntlet,Sealed Deck)
Manalink 2016/08/27: Eldritch Moon v2, duel
What exactly should be the correct behavior/interaction ?
Harness the Storm
Are any other cards possibly affected by this bug ?
-
Which card did behave improperly ?
Harness the Storm
Which update are you using?(date,name)Which type(Duel,Gauntlet,Sealed Deck)
Manalink 2016/08/27: Eldritch Moon v2, duel
What exactly should be the correct behavior/interaction ?
Harness the Storm
Are any other cards possibly affected by this bug ?
-
- Attachments
-
- harness the storm no riot control.rar
- (2.46 KiB) Downloaded 149 times
Last edited by Aswan jaguar on 08 Aug 2019, 16:18, edited 2 times in total.
Reason: strikethrough fixed-rename to current bug
Reason: strikethrough fixed-rename to current bug
---
Trying to squash some bugs and playtesting.
Trying to squash some bugs and playtesting.
-
Aswan jaguar - Super Tester Elite
- Posts: 8078
- Joined: 13 May 2010, 12:17
- Has thanked: 730 times
- Been thanked: 458 times
Re: [confirmed]Harness the Storm ability not triggering
by Aswan jaguar » 20 Sep 2018, 12:36
---
Trying to squash some bugs and playtesting.
Trying to squash some bugs and playtesting.
-
Aswan jaguar - Super Tester Elite
- Posts: 8078
- Joined: 13 May 2010, 12:17
- Has thanked: 730 times
- Been thanked: 458 times
Re: [confirmed]Harness the Storm ability not triggering
by Aswan jaguar » 08 Aug 2019, 16:16
Fixed triggering issues in 9b29bb8e. It also plays the instant or sorcery from graveyard for free. I can't find a way to make it be cast for it's cost, everything I tried using charge_mana_from_id() led to crashes.
Current code:
Current code:
- Code: Select all
int card_harness_the_storm(int player, int card, event_t event){
/* Harness the Storm |2|R 0x200ea26
* Enchantment
* Whenever you cast an instant or sorcery spell from your hand, you may cast target card with the same name
* as that spell from your graveyard. */
if( in_play(player, card) && ! is_humiliated(player, card) ){
if( trigger_condition == TRIGGER_SPELL_CAST && affect_me(player, card)
&& player == reason_for_trigger_controller && player == trigger_cause_controller){
if( ! not_played_from_hand(trigger_cause_controller, trigger_cause) ){
int name = get_card_name(trigger_cause_controller, trigger_cause);
char buffer[500];
scnprintf(buffer, 500, "Select a card name %s.", cards_ptr[name]->name);
test_definition_t this_test;
new_default_test_definition(&this_test, TYPE_SPELL, buffer);
this_test.id = name;
if( new_special_count_grave(player, &this_test) ){
if( new_specific_spell_played(player, card, event, player, RESOLVE_TRIGGER_AI(player), &this_test) ){
int selected = new_select_a_card(player, player, TUTOR_FROM_GRAVE, 0, AI_FIRST_FOUND, -1, &this_test);
if( selected != -1 ){
play_card_in_grave_for_free(player, player, selected);
}
}
}
}
}
}
return global_enchantment(player, card, event);
}
---
Trying to squash some bugs and playtesting.
Trying to squash some bugs and playtesting.
-
Aswan jaguar - Super Tester Elite
- Posts: 8078
- Joined: 13 May 2010, 12:17
- Has thanked: 730 times
- Been thanked: 458 times
3 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 74 guests