BillyWM / FCEUX-Lua-Script-Collection

Lua scripts for FCEUX (an NES emulator). Multiple games including River City Ransom, Battle Kid
26 stars 3 forks source link

Threat system, smarter targeting #3

Open BillyWM opened 13 years ago

BillyWM commented 13 years ago

Targeting is currently dumb - picks first enemy it can find. This often is one way off the screen - will walk to enemy, leaving itself open to attack from other one.

Calculate a threat value based on multiple weighted factors: