July 13, 20187 yr 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!
July 13, 20187 yr 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
Create an account or sign in to comment