Board index
Programs with AI or Rules Enforcement
Magic: The Gathering - Duels of the Planeswalkers
New MTG Cards and Decks (2010, 2012, 2013, 2014, 2015, Magic Duels)
2014




Jarad, Golgari Lich ability broken
Moderator: CCGHQ Admins
2 posts
• Page 1 of 1
Jarad, Golgari Lich ability broken
by Lurker » 14 Dec 2024, 19:24
I know it's a long shot, but maybe someone knowlegeable can take a look at Jarad's code here and figure out why his activated ability allows him to choose an opponent's creature to sacrifice? (it is not sacrificed, but the opponent loses life still). This is an old bug, there was a message about it in CW discord back in 2018, but no solution still. I've tried to figure something myself, but so far understood only that this code is quite a lot more complicated than similar "sacrifice" code for other creatures (like Kheru Dreadmaw)
Re: Jarad, Golgari Lich ability broken
by RiiakShiNal » 16 Dec 2024, 13:50
It is broken because the filter in both the cost's prerequisite and cost's resolution does not limit the filter to just the EffectController's creatures (which is why it is allowing to choose another player's creatures). If the additional filter condition is put in then it should fix it.
- Code: Select all
filter:Add(FE_CONTROLLER, OP_IS, EffectController())
Just getting started: Xander9009's DotP 2014 Community Wad
Need a deck builder: DotP 2014 Deck Builder
Problems Modding: DotP 2014 Frequent Modding Mistakes
Need a deck builder: DotP 2014 Deck Builder
Problems Modding: DotP 2014 Frequent Modding Mistakes
- RiiakShiNal
- Programmer
- Posts: 2188
- Joined: 16 May 2011, 21:37
- Has thanked: 75 times
- Been thanked: 497 times
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 14 guests