You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Do a major cleanup of the xyz procedure removing various redoundancies and trying to make the code less convoluted.
All the various effects affecting the xyz procedure have been assigned a proper constant to make them more easily usable by other cards
```
EFFECT_XYZ_MAT_FROM_GRAVE = 511002793
EFFECT_SPELL_XYZ_MAT = 511000189 --Solid Overlay and similar cards
EFFECT_EQUIP_SPELL_XYZ_MAT = 511001175
EFFECT_ORICHALCUM_CHAIN = 511002116
EFFECT_DOUBLE_XYZ_MATERIAL = 511001225
EFFECT_SATELLARKNIGHT_CAPELLA = 86466163
EFFECT_STAR_SERAPH_SOVEREIGNTY = 91110378
```
The behaviour for the "automatic material selection" has been also changed to make it less bug prone, now if must_use is provided to Duel.XyzSummon and if minc and maxc both correspond to the size of the must_use group, then no user selection will be performed (Advanced Heraldry Art, Shining Hope Road, etc.). This changes the current behaviour, so that if only mg is provided to Duel.XyzSummon, the player will still be able to select the cards, making so cards that summon using a specific material pool (Galaxy Tyranno, Goblin Biker Grand Stampede, etc.) no longer have to pass maxc and minc to not break things. Cards got updated accordingly.
Add the new constant `Xyz.InfiniteMats`, to be used in `Xyz.AddProcedure` instead of passing the magic value 99, to abstract away the logic from the user. Using `99` as magic value is now deprecated.
0 commit comments