Log in

View Full Version : change hp % from targeting in script



eldrian
09-09-2016, 07:23 AM
how can i change range of monster health percent which i want to kill in script? i need this to slime training. when i have less mana potions than x i want to kill all monsters on the screen and logout. the problem is that i have set targeting on slime when he has 70-100% hp not to kill mother of slime and i don't know how to change this in script. thanks in advance

shadowart
09-09-2016, 11:14 AM
No easy way. You have to write the xbst-panel(s) corresponding to your new desired settings to a file and the use loadSettings on that file. My hunting scripts make extensive use of this pattern in order to change all kinds of settings (though not targeting I think). Download one and read the lua code if you want to check it out, I won't hold your hand through the process though.

eldrian
09-09-2016, 05:00 PM
i think it would be too difficult for me so i will think about another way. thanks.

shadowart
09-09-2016, 05:48 PM
Tbh I'd expect you to be fine with just closing the client. Those two slimes will have 30s to attack you before you are kicked from the game. I doubt that would be enough to kill you.

eldrian
09-09-2016, 08:06 PM
i thought about it and i think that's the easiest way, thanks for help.