Fix for some planeworkers description, replace – with - (example:
Nissa, Nature's Artisan in Russian)
\scripts\classes\renderers\
PlanesWalkerRenderer.php
PlanesWalker4Renderer.php
M15PlanesWalker2Renderer.php
M15PlanesWalker4Renderer.php
M15PlanesWalkerRenderer.php
Before:
- Code: Select all
if (!preg_match_all('/((\+|-|-|+|-)?([0-90-9XXYZ]+): )?(.*?)(?=$|[\+|-|-|+|-]?[0-90-9XXYZ]+:)/su'
Paste this:
- Code: Select all
$card->legal = preg_replace("~(−|–)(\d+):~","-$2:",$card->legal);$card->legal = preg_replace('~(−|–)X:~', '-X:', $card->legal);
UPDATE:
Fix regexp after some testing
UPDATE2:
Add additional checks
If render Shadows over Innistrad cards will be error about frame Gld in transform-day
copy
\images\m15\transform-day\cards\Old\Gld_H.png
\images\m15\transform-day\cards\Old\Gld.png
to
\images\m15\transform-day\cards\
- NOT ACTUAL | Open
- Delete favor, all cards from [SOI]:
Archangel Avacyn
Autumnal Gloom
Lambholt Pacifist
Skin Invasion
Startled Awake
No info about second side of cards:
Line 6: Card not found: Avacyn, the Purifier [SOI]
Line 8: Card not found: Lunarch Inquisitors [SOI]
Line 24: Card not found: Westvale Cult Leader [SOI]
Line 38: Card not found: Wayward Disciple [SOI]
Line 51: Card not found: Incited Rabble [SOI]
Line 55: Card not found: Perfected Form [SOI]
Line 61: Card not found: Bearer of Overwhelming Truths [SOI]
Line 96: Card not found: Persistent Nightmare [SOI]
Line 101: Card not found: Awoken Horror [SOI]
Line 104: Card not found: Unimpeded Trespasser [SOI]
Line 108: Card not found: Infectious Curse [SOI]
Line 120: Card not found: Insidious Mist [SOI]
Line 129: Card not found: Heir to the Night [SOI]
Line 133: Card not found: Demon-Possessed Witch [SOI]
Line 162: Card not found: Neck Breaker [SOI]
Line 165: Card not found: Branded Howler [SOI]
Line 175: Card not found: Gatstaf Ravagers [SOI]
Line 177: Card not found: Vildin-Pack Alpha [SOI]
Line 188: Card not found: Flameheart Werewolf [SOI]
Line 202: Card not found: Skin Shedder [SOI]
Line 211: Card not found: Moonrise Intruder [SOI]
Line 216: Card not found: Ancient of the Equinox [SOI]
Line 226: Card not found: Krallenhorde Howler [SOI]
Line 233: Card not found: Lone Wolf of the Natterknolls [SOI]
Line 235: Card not found: Timber Shredder [SOI]
Line 241: Card not found: Lambholt Butcher [SOI]
Line 252: Card not found: Werewolf of Ancient Hunger [SOI]
Line 257: Card not found: One of the Pack [SOI]
Line 272: Card not found: Arlinn, Embraced by the Moon [SOI]
Line 286: Card not found: Scrounged Scythe [SOI]
Line 291: Card not found: Ashmouth Blade [SOI]
Line 303: Card not found: Stonewing Antagonizer [SOI]
Line 319: Card not found: Ormendahl, Profane Prince [SOI]
My bad, didn't saw two side render possibility when update russian translation.