It is currently 29 Apr 2024, 06:43
   
Text Size

Shandalar - Program Bugs

Backfire cast on AI creature will damage AI for 4036 damage next damage to it (fix completed)

 

How to reproduce :
- Cast Backfire on AI creature
- Damage AI with player creature or spell

Image

Edit: For some reason Backfire work correctly in a clean game so here attached are the decks that reproduce this behavior everytime
Attachments
decks.zip
(952 Bytes) Downloaded 183 times
Last edited by Korath on 24 Nov 2015, 03:27, edited 2 times in total.
Reason: version NB1->TH1; component Individual Card->Duel Engine

Comments

Posted by Korath » 22 Nov 2015, 12:52

commit 4e2be21c3ce933bfaca1a2fbb6e9604c3cb39aaf
Author: Korath <dgk@Dirge.none>
Date: Sun Nov 22 07:51:27 2015 -0500

[NB] #837: store mana paid to cast as a Mana in targets[17]

A temporary measure only; in AS it'll go into card_aux.

Can't be handled with stashing globals like card_from, since the AI restores to
the middle of the put_Card_on_stack sequence in main_phase() and mana needs to
be recorded for multiple cards at a time (since, after all, others can resolve
while one's on the stack), and it's not yet practical to shoehorn this data
onto the stack where it belongs.

Support:
Eliminate mana_paid_colors()
Expose mana_just_paid as a global
Mana::clear()

Cards directly affected:
Batwing Brume
Boros Fury-Shield
Dawnglow Infusion
Dryad's Caress
Firespout
Invert the Skies
Ribbons of Night
Rolling Spoil
Seed Spark
Shrieking Grotesque
Tin Street Hooligan
Unnerving Assault
Vigor Mortis

Posted by Korath » 22 Nov 2015, 16:17

commit ff6f1040a5953ab089b7ff4d61c1a0fe57b72a4a
Merge: b195ac6 4e2be21
Author: Korath <dgk@Dirge.none>
Date: Sun Nov 22 11:16:41 2015 -0500

[AS] #837: Merge branch 'nb' into as; card_aux_t::mana_paid_to_cast

Directly affects Court Hussar and Balduvian Fallen in addition to the NB cards.

Posted by Korath » 24 Nov 2015, 03:26

commit 28832b696ce169950815fc03370a0e7d193f52ad
Author: Korath <dgk@Dirge.none>
Date: Mon Nov 23 22:25:06 2015 -0500

[TH] FIX #837: Clone/perms caring about colors paid store in targets[17].player

Instead of eot_toughness, so there's no current overlap; and done within the
card functions rather than at the engine level, as in the TH version.

Directly affects:
Clone
Shrieking Grotesque
Tin Street Hooligan

Ticket details

  • Ticket ID: 837
  • Project: Shandalar
  • Status: Fix completed
  • Component: Duel Engine
  • Project version: Thieves Hideout 1
  • Priority: Normal
  • Severity: Major
  • Assigned to: Korath
  • Reported by: stassy
  • Reporter's tickets: List all tickets
  • Reported on: 29 Oct 2015, 11:32
  • Last visited by Korath » 02 Jul 2017, 00:12.
 

Login Form