SotheY
  • SotheY
  • Advanced Member Topic Starter
2016-09-29T16:49:31Z
Hello everyone, I scripted a card with this effect:
Eidolon - Shiva
When a "l'Cie" or "Eidolon" monster you control attacks and your opponent activates a card effect: You can discard this card from your hand; negate the activation of that card and if you do, destroy it.

However, when I have this card in my hand I get the error message "47: attempt to index a nil value"
That's the function:


I don't know what's wrong there. Help appreciated. Thanks! :)
Valossa
2016-09-29T19:47:28Z
you put the cndition that allow this card act on hand?
Shad3Light
2016-09-30T00:22:18Z
What is line 47 of the script?
SotheY
  • SotheY
  • Advanced Member Topic Starter
2016-09-30T19:41:04Z
Originally Posted by: Valossa 

you put the cndition that allow this card act on hand?


Of course. This problem is not about the condition -.-

Originally Posted by: Shad3Light 

What is line 47 of the script?


Ups, stupid me, I should have indicated that :D
Line 47 is bold:


I don't get which nil value is meant...