June 8, 20205 yr Hi! I am trying to get the armor and weapons that the bot is currently using. Something like this; myPlayer().getArmor();
June 8, 20205 yr getEquipment().isWearingItem(EquipmentSlot.HAT, "Bronze med helm"); getEquipment().isWieldingWeapon("Bronze scimitar"); getEquipment().isWearingItem(EquipmentSlot.CHEST, "Bronze plateobody"); https://osbot.org/api/org/osbot/rs07/api/Equipment.html
June 9, 20205 yr @Lol_marcus idea could work but https://osbot.org/api/org/osbot/rs07/api/util/ItemContainer.html is better becuase Equipment extends it and gets methods like contains(stuff...), getItems(), onlyContains(stuff...). Items[] MyArmor =getEquipment().getItems()
Create an account or sign in to comment