Large

FB Monsters Enhancer VX

By ViXaY Xavier Last update Dec 29, 2009 — Installed 8,869 times.

Auto attack has issues ...

in
Subscribe to Auto attack has issues ... 5 posts, 2 voices



Friz User
FirefoxWindows

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.

 
ViXaY Xavier Script's Author
FirefoxWindows

Auto-attack is not intelligent. It just uses the last weapon in your weapon list. :)

 
Friz User
FirefoxWindows

Would it be hard to make it smarter? I think it is failing trying to use Salt against a non zombie ...

 
ViXaY Xavier Script's Author
FirefoxWindows

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
}

 
Friz User
FirefoxWindows

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.

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel