Thx
@Dopan for the help! I'll make sure to experiment with your idea a bit and try to make something.
Anyone any idea how to include Yanfly Battle AI Core with the newest Demo version? I tried to just add the neccessary plugins (Battle Engine and AI Core) to the demo (above the SRPG Plugins) for testing purposes, than add the following notetag to the Slime enemy:
<AI Level: 100>
<AI Priority>
Always: Skill 2
</AI Priority>
where Skill 2 is just the Guard Skill. But still the enemy comes at me and attacks, so yeah...not sure, how to go with this. (what the plugin should do: ALWAYS use Skill 2 and nothing else for the rest of the enemies life :3)
What I want with this plugin:
A healer enemy with a few tasks. With Yanfly this might look something like this;
<AI Priority>
User HP% Param <= 50%: Skill 33, User
HP% Param <= 60%: Skill 8, Lowest HP%
ATK Param <= user.def +++ DEF Param < user.atk: Skill 1, Lowest HP%
Always: Skill 34
</AI Priority>
What this does:
- if the User HP% Param of the Skill user (the healer) is <= 50%, he should use a healing skill with scope to himself.
- if the %HP Param of the target (this time a healing skill with scope to one ally) is <= 60% he should focusing on healing the ally (with Skill 8)
- if the atk stat of the target is <= user.def AND (+++) the def stat of the target is below user.atk, than the Healer should attack the enemy with the lowest HP%
- else it should always use Skill 34 (my personal Guard Skill)
This might also be possible with the awesome AI Control Plugin from
@Doktor_Q , but I'm not that sure, how exactly I might accomplish this (also using aiMove for better control and so on)...so...sorry for asking :3
EDIT: I tested a bit more. I made a normal event, which triggers a normal battle with 2 Slimes. and the 2 Slimes have the ALWAYS AI Priority from above. And it works. I tried to disable OnMapBattle (But I want to have it on ON instead of the battle-background-thing) to see any differences and it didn't work.