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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

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