PDA

View Full Version : Request monk trainer



Sharlies
09-07-2016, 01:14 PM
Yo, this might be a little advanced but i really need this and i cant write it on my own (found one but its buggy, retargeting 5 times/sec).

I need a script that checks my pos and monks around me. rename those monks to monk1 and monk2.
Switch target at 25% hp or always hit the one with most hp.

you guys think this is possible?
also, a skill timer would be awesome!

edit: adding my using monk script
edit2: the script need to attack summoned monks cause thats how im training


CONFIG = {

MOB = "Monk",

HPPC_STOP = 25

}



Module.New("S(Killing)", function()

for i = CREATURES_LOW, CREATURES_HIGH do

local c = Creature.GetFromIndex(i)

if (c:Name() == CONFIG.MOB and c:HealthPercent() > CONFIG.HPPC_STOP and c:isSummon()) then

c:Attack()

else

Self.StopAttack()

end

end

end)

Sharlies
09-08-2016, 11:56 AM
anyone?

lopid600
09-08-2016, 12:49 PM
Not need a script, just check the value attack at Targeting and adjust them the bot will automatically change target unleast you are using summoned monks(problems with pzs)

Sharlies
09-08-2016, 03:00 PM
i am using summoned monks thats why i cant use targeting.