I want to it work like, no the same orb on the same items. 1 orb ID per item only
But im having troubles with loops.
Here's my script.
setarray .@cardid[0], getequipcardid(.@part,1),getequipcardid(.@part,2),getequipcardid(.@part,3); for( .@i = 0; .@i < getarraysize(.@cardid); .@i++ ){ if( getequipcardid(.@part,.@i) == .@cardid[.@i] ) { mes .npc$; mes "Sorry, I cannot enchant the same orb on the same item."; close; } }
Im currently modifying my enchantment system.
I want to it work like, no the same orb on the same items. 1 orb ID per item only
But im having troubles with loops.
Here's my script.
Share this post
Link to post
Share on other sites