Yop there.
I've got a litle probleme here
I've made a pretty weird creature :
1st ability : Whenever an opponent casts a spell during your turn, if this spell is the 1st that opponent has cast this turn, the spell is countered
2nd ability (named 'Psionic') : Whenever an opponent casts a spell during your turn, if you have more cards in your hand than this opponent, the spell is countered.
The thing is, when my opp casts a spell during my turn, the game doesn't seem to care about the 1st ability (it just doens't trigger)
Plus, all the spell my opp casts during my turn is countered, even if he has more cards than me.
I just don't get where my mistakes are.
Here's my code if someone can help me

- Code: Select all
T:Mode$ SpellCast | ValidActivatingPlayer$ Player.Opponent | TriggerZones$ Battlefield | PlayerTurn$ True | CheckSVar$ HeCastThisTurn | SVarCompare$ EQ2 | Execute$ TrigCounter | TriggerDescription$ Whenever an opponent casts a spell during your turn, if this spell is the first that opponent has cast this turn, the spell is countered
T:Mode$ SpellCast | ValidActivatingPlayer$ Player.Opponent | TriggerZones$ Battlefield | PlayerTurn$ True | ConditionCheckSVar$ Y | ConditionSVarCompare$ LE0 | References$ X,Y | Execute$ TrigCounter | TriggerDescription$ Psionic - Whenever an opponent casts a spell during your turn, if you have more cards in your hand than this opponent, the spell is countered.
SVar:X:Count$CardsInHand
SVar:Y:TriggeredSourceController$InYourHand/Minus.X
SVar:HeCastThisTurn:TriggeredSourceController$ThisTurnCast_Card.
SVar:TrigCounter:AB$ Pump | Cost$ 0 | RememberObjects$ TriggeredCard | SubAbility$ DBCounter
SVar:DBCounter:DB$ Counter | Defined$ TriggeredSpellAbility | SubAbility$ DBCleanup
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True
SVar:RemRandomDeck:True