A generic mercenary and homunculus AI. Ease of use provided not by GUI, but by a simple configuration file, made for use by players, not programmers.
Special thanks to Sera for her assistance in testing v1.00, and to Misch and Compass and all the others who've helped me with debugging and suggestions.
Features:
Ability to behave aggressively or passively depending on mercenary current hp.
Automatically use appropriate attack skill for the mercenary if configured to use skill attacks.
Automatically use self-buffs if enabled.
Automatically use anti mob skills when mobbed by enough aggressive monsters (threshold configurable)
Follows intelligently
Targets brandish spear to hit the most targets possible.
Random Walk - autofollow your mercenary with this turned on, and let it drag you around the map.
Friendlisting (to let your mercenary KS other players)
Tactlist support based on actor IDs - needs Mob_ID.lua for your server and map.
Developer Features:
Includes a utility lua file, which implements mercenary skill info and monster info skills for use in AIs developed by other members of the community.
Includes a skill list file, which allows you to call the ID of AI usable skills by their official name. Using this in your AIs will improve code readability.作者: 拿黄瓜敲桌子 时间: 2008-8-8 19:33