skymia Posted June 3, 2017 Group: Members Topic Count: 63 Topics Per Day: 0.02 Content Count: 298 Reputation: 4 Joined: 02/19/17 Last Seen: May 26, 2024 Share 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 Link to comment Share on other sites More sharing options...
0 Deleted User Posted June 3, 2017 Group: Members Topic Count: 22 Topics Per Day: 0.00 Content Count: 235 Reputation: 55 Joined: 12/02/11 Last Seen: February 26, 2021 Share 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 Link to comment Share on other sites More sharing options...
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
Link to comment
Share on other sites
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.