Jump to content
  • 0
Sign in to follow this  
maynard

disable the card if compound

Question

An array of custom head gear equipments
my custom head gear id = 6900,6901,6902,6903
Lord knight card can not be compounded or disabled the effect of the card on my custom head gear if you insert it.
 
You can compound the Lord knight card normally on other head gear except from the Head gear that listed in the array.
 
Then for easy use maybe a callfunc will do.
 
4357,,,,,,,,,{callfunc "prevent_compound";skill "LK_BERSERK",1; bonus bMaxHPrate,-50;}{}{}

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0
callfunc "prevent",1,cardIDhere;function	script	prevent	{if( isequippedcnt( getarg(1) ) > 0 ) {	successremovecards getarg(0);	end;}

try this

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.