Auto attack has issues ...
![]() ![]() |
When attacking creatures it seems to not pick the right weapon ... my werewolf was attacking a vampire and used salt ... My zombie had a shotgun, but yet used salt against a vampire. |
![]() ![]() |
Auto-attack is not intelligent. It just uses the last weapon in your weapon list. :) |
![]() ![]() |
Would it be hard to make it smarter? I think it is failing trying to use Salt against a non zombie ... |
![]() ![]() |
give me your logic here and i'll see if i can do it in the future. But i thought the game takes care of this by not allowing you to use items against certain opponents? example logic
if (opponent.type = "vampire") {
Search items list for
Allowable_items("vampire")
Select best item
}
|
![]() ![]() |
My script gets into a loop because it somehow goes to the recruit page when trying to use salt against a non zombie. And you logic is pretty good ... basically the BUY page tells you what weapons work on what critters, so you can figure out which ones to use. It could also be the thing mentioned in another thread somewhere where if you only have 2 uses left on your salt, but then attack three times, it fails ... Just adding the information in case it helps. |

