MouAI: MouRO's custom AI
Posted December 2nd, 2008 by Skotlex
Basically, this is the "default" AI that comes with RO, but edited and improved with the MouRO changes in mind. Since many of the homunculus skills were changed in MouRO, it makes sense to get an updated AI that will take these changes into mind.
Features
General
- Homunculus stick to you, they disengage combat once you have gone far away. The max distance the homunculus can be from you is based on their health (the more injured they are, the closer they will stick to you).
- Aggressive homunculus will hunt down the closest enemy as long as it is not too far away from the master.
- Passive homunculus will engage combat in 3 situations: When they are attacked, when the master is attacked, when the master attacks someone.
- Aggressive homunculus switch to "passive" mode when their life is below 60%
- There is additionally a defensive mode in which they don't attack unless attacked back when they are under 30% life.
- They don't try to attack every iteration, instead they take advantage that in MouRO attacking an enemy is like 'ctrl+clicking' them (in official servers, the homunculus needs to send an attack request for every single attack).
- They support the newer Homunculus skills, which were originally Mercenary skills, but given to them in MouRO to make them more versatile.
- When you command a buff skill, they will not use any automatic buff skills until after a minute (to prevent overriding your commanded buff).
Skill Usage: Lif
- Touch of Heal: Will use whenever someone has less HP% than her SP%. Will run to ally and use the skill next to them. Note that due to client limitations, the AI can't know the HP of anyone other than the Master and itself (it would rock otherwise).
- Emergency Avoid: Will cast level 2 for a slight and SP preserving speed boost every minute.
- Decrease Agility: Casted on current target every minute as long as SP is above 50%
Skill Usage: Filir
- Moonlight: Casted on enemies, frequency of use is based on SP remaining.
- Overdrive: Casted every minute while attacking as long as SP is above 50%
- Fleeting: Casted every minute while idle as long as SP is above 50%
- Parrying: Casted every two minutes while attacking as long as SP is above 50%
Skill Usage: Amistir
- Defense: Casted every 40 seconds while idle as long as SP is above 50%
- Bloodlust: Casted every 5 minutes while on attack as long as SP is above 50%
- Devotion: Casted every 30 seconds on closest non-monster who is being attacked by one.
Skill Usage: Vanilmirth
- Caprice: Casted on enemies, frequency of use is based on SP remaining.
- Chaotic Blessing: Will use whenever an ally has less HP% than its SP%.
- Magnificat: Casted every 90 seconds while idle as long as SP is above 25%
Installation:
- You can replace the AI.lua file inside your ro/AI/ directory, which makes this the default AI. Or you can create a directory called USER_AI inside AI/, and in there place the file. If you do this, also place a copy of AI/Const.lua and AI/Util.lua in USER_AI/ (those files do not need modification)
- If you use the USER_AI/ method, remember you must type /hoai ingame to switch between the default and user AI.
Download: AI.Lua
