I have a skill, but I want it to change what item is required based on the weapon class that the user is wielding. The issue is that it always displays all possible items it can cost, even if that cost is displayed as 0. Is there a way to make it only disply the relevant item cost?
<Custom Item 61 Cost>if (user.isWtypeEquipped(1)) { cost = 1;}</Custom Item 61 Cost><Custom Item 62 Cost>if (user.isWtypeEquipped(2)) { cost = 1;}</Custom Item 62 Cost>