It is currently 27 Apr 2024, 00:10
   
Text Size

[fixed]Oran-Rief, the Vastwood - not just green crits

Moderators: BAgate, drool66, Aswan jaguar, gmzombie, stassy, CCGHQ Admins

[fixed]Oran-Rief, the Vastwood - not just green crits

Postby BAgate » 13 Sep 2016, 05:01

Describe the Bug:
Oran-Rief, the Vastwood gives counters to all creatures that came into play this turn.

Which card did behave improperly ?
Oran-Rief, the Vastwood

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 ?
Just green creatures.

Are any other cards possibly affected by this bug ?
-
Attachments
oran-rief.rar
(2.75 KiB) Downloaded 131 times
Last edited by Aswan jaguar on 07 Oct 2019, 18:37, edited 2 times in total.
Reason: fixed
Working on: housekeeping and archived reports
User avatar
BAgate
Tester
 
Posts: 2444
Joined: 06 Mar 2012, 11:09
Has thanked: 117 times
Been thanked: 158 times

Re: Oran-Rief, the Vastwood - not just green crits

Postby Korath » 13 Sep 2016, 05:23

Yup, and affects Ruins of Oran-Rief too. In zendikar.c:activate_oran_rief_pump():
Code: Select all
if( color == 0 || (get_sleighted_color_test(p, c, COLOR_TEST_GREEN) & COLOR_TEST_GREEN) ){
What this does is allow the creature in question (represented by the pair {p, c}) to get a counter if either
  • No color restrictions have been requested. (Not the same thing as asking for COLOR_TEST_COLORLESS, like Ruins of Oran-Rief does.) Or...
  • A "green" appearing in the creature's rules text still means "green" after accounting for Sleight of Mind.
To fix Oran-Rief, the Vastwood, the second half of that condition should look like "get_sleighted_color_test(player, card, color) & get_color(p, c)". (Or, better, just compute get_sleighted_color_test(player, card, color) once, since it'll be the same for all {p, c}.)

Fixing Ruins of Oran-Rief needs an explicit check of color == COLOR_TEST_COLORLESS, in which case we're looking for !(get_color(p, c) & COLOR_TEST_ANY_COLORED).
User avatar
Korath
DEVELOPER
 
Posts: 3707
Joined: 02 Jun 2013, 05:57
Has thanked: 496 times
Been thanked: 1106 times

Re: [confirmed]Oran-Rief, the Vastwood - not just green crit

Postby Aswan jaguar » 07 Oct 2019, 17:31

Fixed Ruins of Oran-Rief in commit 9929ffd4 with new code with targeted ability as it should have.
Edit: Fixed Oran-Rief, the Vastwood doesn't pump anything or everything in commit e3ffeca.
Edit1: separate code for Novijen, Heart of Progress in commit b06c56b7 so they don't conflict with each other.
Last edited by Aswan jaguar on 07 Oct 2019, 18:36, edited 2 times in total.
Reason: edit1
---
Trying to squash some bugs and playtesting.
User avatar
Aswan jaguar
Super Tester Elite
 
Posts: 8078
Joined: 13 May 2010, 12:17
Has thanked: 730 times
Been thanked: 458 times


Return to Archived Reports

Who is online

Users browsing this forum: No registered users and 43 guests


Who is online

In total there are 43 users online :: 0 registered, 0 hidden and 43 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: No registered users and 43 guests

Login Form