Hi There,
I do have a problem getting a certain type of enemy working.
I want to implement a burning foe where you get fire elemental damage if you hit him with physical damage. So... it works like a counter I guess...?
But it's important that the attacking actor gets the damage more "naturally" without any move forward animation from the enemy.
You can use the "Buffs and States core plugin" from yanfly. There's a way to apply damage to the attacker after the hit succeed. If you put conditions like "If damage > 0 &&(and) enemy is 'your enemy' ". Take a look on his channel, it would be a lot helpful.
Thanks for the tip.
I'm not entirely sure how that helps with my problem are you sure this is the right plug-in?
Hey thanks mate, that is exactly what I was looking for! The only thing what's left is to trigger a burning animation so that the player can see why they got recoil damage. I'm not sure if can trigger that seperately in javascript. I'm not very good at this. D:
You can use this code to play the animation:
if the animation will play in the attacker
user.startAnimation("animation ID");
or if the animation will play in the target
target.startAnimation("animation ID");
Wow thanks, that works perfectly! But there is still one issue that bothers me, the characters don't change their battler animation, like when they got hit. It's actually a bit confusing because it looks like the attack wouldn't hurt them but that shouldn't the case. I need some way to play the "got hit animation" seperately. I looked for javascript command but coulnd't find anything, sorry if I bother you again. DD: