ProjectIgnis / CardScripts

Project Ignis card script libraries and canonical card scripts for EDOPro. Send bug reports through Discord only!
86 stars 60 forks source link

Fix cards that require being equipped to others to use their effects #1048

Closed NaimSantos closed 1 year ago

NaimSantos commented 1 year ago

Some monsters, like Dragunity Phalanx, were only checking if they were in the Spell/Trap zone to use their effects even when the text mentions that they must be equipped to a monster. This pull requests changes those cards to prevent eventual bugs if the monsters are placed in the the S/T with effects like those from the Snake-Eyes monsters. This also uses the effect's condition in all the scripts instead of having it mixed between condition and activation legality check