Jump to content

Targeting stop working, when helping summons spawning on ROTS


Kurwiererererer

Recommended Posts

@ZelekCan you add good targeting lua script avoid this summons?

 

Quote

local creature
for v, k in pairs(g_game.getCreatures()) do
  if k:getName() == "Enraged Skeleton" then
    creature = k
    break
  end
end
if not g_game.isAttacking() and #g_game.getMonstersAround(1) >= 1 and creature then 
g_game.attack(creature)
g_game.sendKey("F2")
g_game.sendKey("F3")
g_game.sendKey("F4")
g_game.sendKey("F6")
end
auto(200)

This is my lua script, but ignoring monsters under 100% hp. If monster is 1-99% hp then dont attack him idk why.
And somethimes when script find monster and i kill him ideal in this time when script find monster. Script bugging and turn off

Edited by Kurwiererererer
Link to comment
Share on other sites

  • Zelek locked this topic
Guest
This topic is now closed to further replies.
×
×
  • Create New...