Liquid Enemy Enmity

Now I got my first crash:

When one of my enemies has the notetag: <AI Priority>State === State 11: Skill 12, Highest HP%</AI Priority> for the Battle CoreAI,

the game crashes with the error: "TypeError: Cannot read property '5' of undefined"

Plugin order:

YEP_CoreEngine

YEP_BattleEngineCore

...

YEP_BattleAICore

YEP_Taunt

YEP_Victory

Liquid_EnemieEnmity
Now I got my first crash:

When one of my enemies has the notetag: <AI Priority>State === State 11: Skill 12, Highest HP%</AI Priority> for the Battle CoreAI,

the game crashes with the error: "TypeError: Cannot read property '5' of undefined"

Plugin order:

YEP_CoreEngine

YEP_BattleEngineCore

...

YEP_BattleAICore

YEP_Taunt

YEP_Victory

Liquid_EnemieEnmity
This was due to an attempt I made to not require having to completely overwrite two functions that Battle Core AI uses. I've reverted it, in the following patch as well as added documentation for the faceicons, I hope it helps those still having trouble with that.

You can get the new version through this link or the first post.

version 1.12

http://pastebin.com/8kv9ydQh

Edit:

I hadn't seen the question regarding the requirement of faceicons from the first page. I will make them optional next update, but keep in mind thats the only way to see the enmity order, unless someone can come up with a nice way without the need for them, and without totally cluttering up the gui.
I hadn't seen the question regarding the requirement of faceicons from the first page. I will make them optional next update, but keep in mind thats the only way to see the enmity order, unless someone can come up with a nice way without the need for them, and without totally cluttering up the gui.
Is it possible to grab the actual portraits and scale them down?
I will look into that tomorrow 🙂 .
no more crashes, awesome!

Just thoght of an idea to combine the dmg-function with the default(if it isn't to much work):

Being able to put the keyword DMG in the Notetag. 

ENMITY +(DMG+500): target    #DMG increases the enmity by the damage dealt

if one leaves out the DMG, enmity would just be "+500", otherwise "+(damagedealt+500)".

Edit:

Much more important for me: 

I am using the "LeBattleAutoSelection"-Plugin, which improves the flow of battles enormously!

The problem is now: When fighting one enemie, e.g.  a boss, the Auto Selection skips the selection,

so I don't know who is the one going to be smashed next.
Edit:

Much more important for me: 

I am using the "LeBattleAutoSelection"-Plugin, which improves the flow of battles enormously!

The problem is now: When fighting one enemie, e.g.  a boss, the Auto Selection skips the selection,

so I don't know who is the one going to be smashed next.
This is due partially because of what that plugin does, and partially due to a design choice by me. In an effort to not clutter the UI and due to how the games windows work, In order to be able to have the log window (where it shows damage) and the enmity window both be on the top of the screen (my preference), I had to hide the log window during certain parts of the battle. I also only made it show the enmity window during selection in order to not have it blocking other windows, or just cluttering the interface in general. So due to that the window is not being shown because that plugin is completely skipping the selection process.

Now what I can do, is go a head and make it so the window can always be seen, so you can see when something is going to "get smashed" next. The problem with that is, you would need to manipulate the WindowX and WindowY parameters to move the enmity window else where so it doesn't cover the selection or log windows.  I suggest moving it to the bottom of the screen above your status. If thats fine with you I can go a head and add parameters to make what you want possible. Otherwise, I'm sorry there is not much I can do there.
Does this apply to all battles, then?

If there are more enemies, it should be the usual way.

I think, I will just put aside the Skip PlugIn.

Would propably look like that:

ScreenyEnmity.png

ScreenyEnmity.png
Does this apply to all battles, then?

If there are more enemies, it should be the usual way.

I think, I will just put aside the Skip PlugIn.

Would propably look like that:
how did you get a boss hp bar in the top center? that looks awesome
Offtopic: Thats a script Boss HP Gauge by Jeremy Cannady, you have to make the bar yourself, tho. Feel free to use/edit mine, even though it might be a bit to special, or use the one DamianCastaway did as a sample.

Sry, haven't got anything ontopic right now;D
for the enmity plugin, i downloaded the plugin and there's nothing in the help tab and the faces don't display during battle... I don't think it's working for me..
Very cool.  Question about function:

Does the target attack only the highest enmity or is there a way to have the enmity be an increase in the chance that you will be attacked (like TGR).

Is it also possible to have classes reduce their enmity when attacked?  For example, healer uses Cure Bombga VII and gets a ton of enmity.  However, when taking a hit the enemy is satisfied with that revenge and the act of taking damage reduces the healer's enmity by a set amount or %.  Now the enmity is below the tank's and the tank does not need to increase enmity to keep heat off the healer until he does something stupid next.
The target with the highest enmity gets hit, you can do something like that with Yanflys AI Core:

<AI Priority>

Random 80%: Skill 5, Highest Enmity

Always: Skill 5

</AI Priority>
for the enmity plugin, i downloaded the plugin and there's nothing in the help tab and the faces don't display during battle... I don't think it's working for me..

Very cool.  Question about function:

Does the target attack only the highest enmity or is there a way to have the enmity be an increase in the chance that you will be attacked (like TGR).

Is it also possible to have classes reduce their enmity when attacked?  For example, healer uses Cure Bombga VII and gets a ton of enmity.  However, when taking a hit the enemy is satisfied with that revenge and the act of taking damage reduces the healer's enmity by a set amount or %.  Now the enmity is below the tank's and the tank does not need to increase enmity to keep heat off the healer until he does something stupid next.
There will be a video out sometime later today (GMT -5 time zone) showing how to use the enmity plugin and what it does. As well as explaining how the faces work. There will also be a bug fix out for some issues I noticed while making the video, so look forward to it 😛
Is it also possible to have classes reduce their enmity when attacked?  For example, healer uses Cure Bombga VII and gets a ton of enmity.  However, when taking a hit the enemy is satisfied with that revenge and the act of taking damage reduces the healer's enmity by a set amount or %.  Now the enmity is below the tank's and the tank does not need to increase enmity to keep heat off the healer until he does something stupid next.
That would be kinda unlogical in my opinion...

Enemies are attacking the highest threats, and just cause he punched him in the face, doesn't mean, he's a lower threat now.

Just my two cents^^
The tutorial video has been uploaded as well as a new version that fixes and adds some stuff. Links are on the first post.

Hope it helps!
The bug, that the window only shows, when you switch targets is still existing. Also for some reason, with the always show function, the window only shows up when you select the enemie once.
The bug, that the window only shows, when you switch targets is still existing. Also for some reason, with the always show function, the window only shows up when you select the enemie once.
The first thing isn't a bug, it was how I designed it. How I want it to work for my game, this plugin was made for my game and I just felt nice enough to make it publicly available. I do not plan on changing that. The second thing isn't really a bug, but I will look into it to see what I can do.
some reason i can't get the AI working, any help?

<AI Level: 100>

<AI Priority>

State !== Fear: Ignite, Lowest Enmity

HP % param <= 20%: Heal, Lowest HP%

State === Burn: Fire Pillar, Lowest HP%

Always: Ignite, Highest Enmity

</AI Priority>

I even tried a simple one

<AI Level: 100>

<AI Priority>

Always: Attack, Highest Enmity

</AI Priority>
Could you show me a screen shot of your plugin manager?
Could you show me a screen shot of your plugin manager?
[IMG]http://i1233.photobucket.com/albums/ff383/SolRising/PLUGINS%20INSTALLED.png[/IMG]

I have a lot of plugins installed but a lot of them are turned off. Please help, would be much appreciated. I would love to have your plugin compatible.

Most of the things I can probably live without but for the core battle plugins, I kinda need them to stay for my game,

yanfly's cores battle, item., atb, sequences etc.

unconnect's weapon ammunition 

jeenus graphics changer

sasuke kannazuki weapon changer

rocket mancer pretty gauges

rexal animated enemies

mog combo counter, enemy hp

jay's dual tech.

thanks for the help 🙂

Original thread: https://forums.rpgmakerweb.com/threads/liquid-enemy-enmity.48806/