CJ7 Posted July 13, 2018 Share Posted July 13, 2018 What's up guys, I'm looking for a way to determine if the NPC my character is fighting is poisoned. I'm using mithril bolts (e), but I want to switch them for normal mithril bolts if the target is poisoned. I've done a bit of research, isPoisoned in the Combat API only checks if the player is poisoned and I can't find anything else in the API that can check for NPC poison. I was thinking of checking the animation of the bolts' special attack and then switching to regular bolts once the animation is visible. If the target's health percent is zero, It would equip the enchanted bolts so the next kill starts with the enchanted bolts equipped. Is there a more efficient way to do this? Thanks in advance, cheers! Quote Link to comment Share on other sites More sharing options...
digdig18 Posted July 13, 2018 Share Posted July 13, 2018 Only osbot devs can make that work, since the way we notice if a npc is poisoned is noticing the green hitmark that is a mask sent by server on npc update Quote Link to comment Share on other sites More sharing options...