function isUsableItem_ATSwordmanobj itemIndex if!sq_IsInBattle isUsableItem_AllGrowJobobjitemIndex; return true; isUsableItem_Quickitembarobj itemIndex; return true;
This function is checking if the item at the specified index can be used by a Swordsman job in a battle situation. If the player is not currently in battle, it calls the isUsableItem_AllGrowJob() function to check if the item can be used by any job class. If the player is in battle, it calls the isUsableItem_Quickitembar() function to check if the item is in the quick item bar and can be used. It then returns true if the item is usable or false if it is not.
原文地址: https://www.cveoy.top/t/topic/fHOk 著作权归作者所有。请勿转载和采集!