Jump to content

Photo

How to SetOperation and Condition, i don't know how to do it

- - - - -

  • Please log in to reply
No replies to this topic

#1
huytgio147

huytgio147

    Fresh Member

  • Members
  • Pip
  • 1 posts
    Last Visit May 15 2019 02:06 PM

example from my card:

If this card is sent to graveyard by battle or card effect,you can discard all Machine-Type monster in your hand, return this card to your hand.

 

e1:SetType(EFFECT_TYPE_SIGNLE)
e2:SetCode(EVENT_DESTROY)
e2:SetRange(LOCATION_MZONE)
e2:SetOperation(c14785201.?)
e2:SetCondition(c14785201.?)
 
 Can i replace the question mark after the dot in the line 4 and line 5 by what? and how to create function to set for its?
I'm newbie, Please help me!





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users