It is currently 07 Jul 2021, 11:59
   
Text Size

Shandalar - Program Bugs

Vigor Mortis doesn't add +1/+1 counter when G paid (fix completed)

 

Vigor Mortis {2} {B} {B}
Sorcery
Return target creature card from your graveyard to the battlefield. If {G} was spent to cast ~, that creature enters the battlefield with an additional +1/+1 counter on it.

Problem here is that it's trying to add the counter too soon in the process, before the card is flagged STATE_IN_PLAY; so add_p1_p1_counter() thinks it's being called for a card that's already left the bf.
Last edited by Korath on 29 Oct 2015, 12:18, edited 2 times in total.
Reason: get {2} and {G} working

Comments

Posted by Korath » 29 Oct 2015, 12:35

commit 6e82b74fa8e11b050c8c7ffee838435cd9606c91
Author: Korath <dgk@Dirge.none>
Date: Thu Oct 29 08:34:36 2015 -0400

[NB] FIX #838: put_into_play() takes a lambda; resurrect() sends its one to it

So it doesn't get called until immediately before EVENT_RESOLVE_SPELL.

Ticket details

  • Ticket ID: 838
  • Project: Shandalar
  • Status: Fix completed
  • Component: Individual Card
  • Project version: Nomad's Bazaar 1
  • Priority: Normal
  • Severity: Normal
  • Assigned to: Korath
  • Reported by: Korath
  • Reporter's tickets: List all tickets
  • Reported on: 29 Oct 2015, 12:17
  • Last visited by Korath » 04 Mar 2016, 20:37.
 

Login Form