DotP2013 OFFICIAL CARDS Bug Fixes (last update 13/8/2013)

DotP2013 OFFICIAL CARDS (Core) Bug Fixes
PLEASE READ BEFORE POSTING: This topic is about fixes for OFFICIAL CARDS. With "OFFICIAL CARDS" I mean the cards that you can find in DotP2013 without having any mod installed (Return to Ravnica DLC and the official deck packs are included in this definition). Please, I beg you: use this topic just to report bugs found in OFFICIAL CARDS and NOT in cards added by custom mods! Each mod has a topic, use the appropriate place to report their bugs.
I'm making the first move into what pcastellazzi did for DotP2012: a WAD with fixes for core cards. If you find an undiscovered bug (or maybe a bug in the fixes: it can happen!
) and/or you want to give your solution to a bug, answer to this topic and contribute.
What you need in order to make it work:
Since it's a custom WAD, you need Rick's DLL (WAD signature check bypass), unless you're running theta version with the first update at least.
(OUTDATED) Something about the new official update:
As some of you already know, Steam released an official patch for DotP2013 some days ago. Now I know what the patch changed, I checked this WAD, and I can assure you it won't substitute fixed cards with buggy cards (unless I made some mistake in the fixing process, of course).
For people who are using the original game, well, nothing to say: you should let the game patch if you didn't do it yet.
For Theta version users, please check this topic: viewtopic.php?f=62&t=7809
For Skidrow version users, I'm not sure if it works (do it at your own risk), but you could check that topic as well and use what you find there, just make a backup of the non-WAD files in your DotP2013 directory so you can revert back to Skidrow version after the update has been made.
Fixed bugs:
Reported but still unfixed bugs:
Link:
The file is so small that I made an attachment, so you can download without problems of any kind.
Have fun!
Special thanks to luh-koala for the Brazilian translation of the added queries, and to Hib for the German.
PLEASE READ BEFORE POSTING: This topic is about fixes for OFFICIAL CARDS. With "OFFICIAL CARDS" I mean the cards that you can find in DotP2013 without having any mod installed (Return to Ravnica DLC and the official deck packs are included in this definition). Please, I beg you: use this topic just to report bugs found in OFFICIAL CARDS and NOT in cards added by custom mods! Each mod has a topic, use the appropriate place to report their bugs.
I'm making the first move into what pcastellazzi did for DotP2012: a WAD with fixes for core cards. If you find an undiscovered bug (or maybe a bug in the fixes: it can happen!

What you need in order to make it work:
Since it's a custom WAD, you need Rick's DLL (WAD signature check bypass), unless you're running theta version with the first update at least.
(OUTDATED) Something about the new official update:
As some of you already know, Steam released an official patch for DotP2013 some days ago. Now I know what the patch changed, I checked this WAD, and I can assure you it won't substitute fixed cards with buggy cards (unless I made some mistake in the fixing process, of course).
For people who are using the original game, well, nothing to say: you should let the game patch if you didn't do it yet.
For Theta version users, please check this topic: viewtopic.php?f=62&t=7809
For Skidrow version users, I'm not sure if it works (do it at your own risk), but you could check that topic as well and use what you find there, just make a backup of the non-WAD files in your DotP2013 directory so you can revert back to Skidrow version after the update has been made.
Fixed bugs:
- Arm with AEther: now it should properly consider non-combat damage.
- Cultivate: now it reveals the card it puts into hand.
- Curiosity: now it should properly consider non-combat damage.
- Goblin Goon: since someone reported a case in which Goblin Goon was able to do something he shouldn't do, I rewrote the code in a more understandable way. I hope I fixed the bug by doing that.
- Grand Ossuary: it shouldn't complain on SCRIPT_LOG.TXT about the nil value of "player" anymore.
- Ophidian Eye (RTR DLC decks): now it should properly consider non-combat damage.
- Spiritmonger (RTR DLC decks): now it should properly consider non-combat damage.
- Timbermaw Larva: now it shouldn't pump itself if bounced back to hand before resolution of its triggered ability.
- Yeva, Nature's Herald: now she's 4/4 as she should be.
- The wither characteristic (if someone wants to use it in custom cards) now has a badge of its own, instead of the forestwalk badge. Thanks to kevlahnota for the finding, the fix method, and the new badge art!
- I included a functions file NEW_MILLCARDS.LOL that overrides the MillCards function so that it only makes GuidedReveal on 2 cards, no matter how many are milled. This way you won't have occluded sight for centuries against a mill deck.
Thanks to MisterBenn for the advice.
- The creature type Germ should now be properly displayed on Germ tokens. If you need to add other creature types to your custom mods in the future, please remember to copy and edit the CREATURE_TYPES.TXT and SPEC_CONSTANTS.LOL that you find here, so you won't add your new type on the same position as Germ.
- Sword of Feast and Famine was a collection of bugs, but it should work correctly now.
- Favorable Winds and Baneslayer Angel now have the correct German translations.
- Firewing Phoenix: now it's 4/2 as it should be.
- Fume Spitter: added the check for the target legality, which was missing.
- Pacifism: changed the layer from 6 to 8 (restrictions on attacking or blocking always have been on 8th layer).
- Verdeloth the Ancient (RTR DLC decks): its kicker ability has been coded by using multikicker now, this should eliminate any animation bug while preserving the functionality.
- Bloodhill Bastion: I tried to change the way it checks for tokens, hoping that it works better.
- Bribery: it doesn't mark the library as searched anymore, since the card that asks for it (Archive Trap) should just consider the searches on owned library.
- Future Sight: now the effect switches off when the library is empty.
- Mutilate: it doesn't change the P/T decrease in real time anymore.
- Nephalia: its chaos ability makes a guided reveal of the card now.
- Norn's Dominion: now it allows to put fate counter on lands, as it should.
- Primalcrux: his P/T set is disabled while he's not in play. I know it's wrong and it should work everywhere, but according to the report in the Wizards forums, it seems that the game isn't ready for that. And the other cards with variable P/T already apply it only in play.
- Reality Shaping: it checks for possible targets, and if there aren't any, it doesn't even consider asking the query. This should be redundant, but hopefully it will fix the bug reported on the Wizards forums.
- Takenuma: its chaos ability now really targets the creature as it should.
- Kharasha Foothills: the "may" is still forced because I think it would be a waste of time to ask for every creature, but it's smarter: it will always avoid making copies of legendary creatures.
- Nemata, Grove Guardian (RTR DLC decks): if somehow you have a non-creature Saproling, you can sacrifice it anyway, as it should be.
- Bituminous Blast (RTR DLC decks): I moved the cascade ability, one of the lengthiest of the whole game, to a LOL file, so that it's easier to fix if something else comes up. In the meanwhile, I included the check for being able to play the "cascaded" spell, which was missing. I also added an animation to the cascade ability (on Bituminous Blast) because I felt it was nice to distinguish the cascade resolve from the real spell resolve.
- Jund, Predator Dragon, Thunder-Thrash Elder, Voracious Dragon: I moved the big part of the devour mechanic to a LOL file, cleaning it a bit in the process, and on the fixed cards it doesn't target the sacrifices anymore.
- Vengevine: now you can choose to leave it in the graveyard if you want to. (The query question has been translated only in Italian and Brazilian, feel free to give me the translation in your language if you want me to add it)
- Malfegor (RTR DLC decks): now it has a proper query string for the sacrifices.
- Avatar of Discord (RTR DLC decks): now you choose to discard 2 cards on resolution time, as any other choice that doesn't require targetting. (The query question has been translated only in Italian and Brazilian, feel free to give me the translation in your language if you want me to add it)
- Chameleon Colossus: now the changeling ability correctly does its job in all zones.
- (06/8/2012) I made a change to the cascade mechanic (in the LOL file), to prevent it from crashing the game when no suitable spell can be found. You won't notice any difference while playing, but internally it won't store any card data when there's no need to. To all the modders who adopted my CASCADE_FUNCTIONS.LOL: please update it, so there won't be older versions around to override the new one.
- (10/8/2012) This is an update that is useful almost only for modders: I included the new creature types list updated by RiiakShiNal that includes every possible creature type. This list should be used as the default if we want to preserve compatibility between mods, so please don't make different lists.
- Clickslither, Liliana's Shade, Nantuko Shade, Nightwing Shade: now they shouldn't pump themselves if bounced back to hand before resolution of their activated ability.
- Oracle of Mul Daya (RTR DLC decks): that's a funny story... I realized it was there after having coded it by myself... so I have put my version here because I think my code is more resilient to particular scenarios.
- Cloudshift: now it really targets the creature as it should.
- Batterskull, Petrahydrox (RTR DLC decks), Rancor (RTR DLC decks): now they can't return to hand if they change zone before resolution of their ability.
- (15/8/2012) Another creature types update, thanks to RiiakShiNal's work: added Hyena and Noggle.
- Daybreak Coronet (RTR DLC decks): the official game update changed a function that makes this card work. I made a replacement for that function that checks which version of the original function is available to use. This way the card works both in updated and non-updated versions of the game.
- (11/11/2012) Fixed Voracious Dragon by using the correct target chest in the "goblin counting" code. Thanks to Firehelp for noticing that.
- Disciple of Bolas: now it does no longer target the creature to sacrifice.
- Cloudshift, Day of the Dragons, Fiend Hunter, Flickerwisp, Journey to Nowhere, Oblivion Ring: the game can crash sometimes when the AI thinks about protecting a card pointer that points to a token. I'm not sure if this could happen with all those cards, but just to be sure, I applied the fix to all of them. Thanks to kpruss for finding the bug, and to pcastellazzi who inspired me to find the solution.
- The Arcane sub-type is now totally defined and ready to use in your custom mods. Thanks to Firehelp for noticing that.
- There were wrong German translations on Panoptic Mirror and on the query "choose a player that loses 1 life". Thanks to maginater5000 for reporting them.
- Draining Whelk, Mystic Snake (Deck Pack 1): now they still counter the spell if they leave play before resolution. Thanks to NEMESiS for the report.
- Momir Vig, Simic Visionary (Deck Pack 1): now you can decide not to search your library for a creature. Thanks to NEMESiS for the report.
- Well of Lost Dreams: to be honest I don't know if the query was asked also when having no mana available, but now I'm sure it won't. From a request by NEMESiS.
- Archon of Redemption, Flayer of the Hatebound, Spikeshot Elder, Wild Pair: now they correctly use the last known information for power/toughness. Thanks to Threepwood for the report.
- Dauntless Escort (RTR DLC decks): now it gives indestructibility just to the creatures controlled by the player, without caring for allied players.
- Nomad Mythmaker (RTR DLC decks): now you can only target your creatures with the Aura you choose. Thanks to NEMESiS for the report and to pcastellazzi for the best fix: simple and clean.
- 2/2 Ooze token from Mitotic Slime (RTR DLC decks): its card picture had transparency enabled, this led to strange visual effects. I included a version with no transparency to fix this.
- Kharasha Foothills, Nefarox, Overlord of Grixis, Eldrazi token: now they store the defending player so that they don't depend on the attacking creature being still alive when the trigger resolves.
- Shoreline Salvager (Deck Pack 3): not sure what was wrong here exactly, anyway I cleaned up the code and added the "may" choice which was missing. Thanks to NEMESiS for the report.
- Time Reversal: now it doesn't throw errors on SCRIPT_LOG.TXT for trying to find a player that doesn't exist.
- Spark Elemental: maybe I'm exaggerating, but... now it should survive in the rare scenario where it leaves the battlefield and then returns to the battlefield in response to its end-step trigger.
- Goblin War Strike: the Goblin count is now not targetted, as it should be.
- The added creature types are now compatible with deck pack 3 which included Surrakar. Thanks to sumomole and RiiakShiNal for discovering the need for this update.
- Prey Upon, Ulvenwald Tracker: now they have a help text for "fight". I didn't write the explanation myself, I found it was a loading screen tip and I just copied what it said. The titles, on the contrary, have been all wrote by me with the help of Google Translate: translating just "fight" should be easy enough. Anyway if you find a title that doesn't fit (which is likely in Japanese, Korean or Russian since a different alphabet doesn't help
), just tell me what title I should write, and I'll change it.
- Just for the sake of completion, the Gate sub-type is now supported and localised in all languages.
- Ambassador Oak, Hostility: now they have the token sub-types in the German translation. This is funny because my web generator has the same bug right now: since multiple token sub-types are collected in parentheses on the German translations, they seem reminder text and they get removed. I'll have to fix this on my web generator.
- I fixed a small bug in my devour functions. I don't think it affects official cards, but you definitely need it if you play with my mod.
- Furnace Layer, Jund: fixed wrong German translations. Thanks to Hib for the report and for providing the correct translations.
- Added German translations for the queries. Thanks to Hib for providing them.
- Removed redundant German and Italian text from Fires of Yavimaya. Thanks to Hib again!
Reported but still unfixed bugs:
- Any bug you find in this list but isn't mentioned in the fixed bugs, either it was a false positive, or I didn't have a clue about how to fix it, or I didn't have time to fix it properly yet. And since the list is so huge, I would gladly accept any help.
- Goblin Bushwhacker doesn't make any attack animation if it was cast with kicker. I really don't know why it happens and I don't know how to fix it. I just reported it so you know.
- Granting an ability to cards in hand sometimes doesn't display it, so you have to click on the flavour text to activate it. I can't fix this, but at least I can let you know. (Reported by GravitonGamer)
- In rare cases, Phyrexian Metamorph could throw an error on SCRIPT_LOG.TXT when put onto the battlefield from the library. This is something weird and not perfectly explainable for now, so I'm just ignoring it until I know more about that. (Reported by pcastellazzi)
Link:
The file is so small that I made an attachment, so you can download without problems of any kind.
Have fun!
Special thanks to luh-koala for the Brazilian translation of the added queries, and to Hib for the German.