skymia Posted June 3, 2017 Posted June 3, 2017 is there a script that restrict the usage of the card? Example: Assassin Cross Card the effect is enchant deadly poison but i want is the champion cannot use this card Quote
0 Deleted User Posted June 3, 2017 Posted June 3, 2017 (edited) 9 hours ago, skymia said: is there a script that restrict the usage of the card? Example: Assassin Cross Card the effect is enchant deadly poison but i want is the champion cannot use this card everything is in doc/item_bonus.txt TXT version: Quote 4359,B_EREMES_CARD,Assassin Cross Card,6,20,,10,,,,,,,,4,,,,,{ if( Class == Job_Champion ) { end; } else { skill "ASC_EDP",5; },{},{} SQL Version: Quote REPLACE INTO `item_db` VALUES (4359,'B_EREMES_CARD','Assassin Cross Card',6,20,NULL,10,NULL,NULL,NULL,NULL,NULL,NULL,NULL,4,NULL,NULL,NULL,NULL,'if( Class == Job_Champion ) { end; } else { skill \"ASC_EDP\",5; } ',NULL,NULL); When Job_Champion equipped this card it won't work but other classes will worked on this effect. if you want some class that you don't like the effect to be worked. Just by adding || Quote if( Class == Job_Champion || Job_Novice || Job_Professor ) {.................... Edited June 3, 2017 by Kaze Quote
Question
skymia
is there a script that restrict the usage of the card?
Example:
Assassin Cross Card the effect is enchant deadly poison but i want is the champion cannot use this card
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.