It really sucks that I don't have a v140+ source handy on me.
I don't know if it even exists, but is there a code that I can put in my script that'll check if the player has max Diligence?
It really sucks that I don't have a v140+ source handy on me.
I don't know if it even exists, but is there a code that I can put in my script that'll check if the player has max Diligence?
Tested and works. Good luck with your development!Code:if (cm.getPlayer().getTrait(Packages.client.MapleTrait.MapleTraitType.craft).getExp() == 96000) { // code here }
In my Lithium-based source, ItemFlag.java (Client.inventory) has SLOTS_PROTECT and SCROLL_PROTECT. Not entirely sure how you'd reference them back in a check, but I'm sure there's a good starting point.