RPG Maker Forums

Hi all,

I want to make an 'internal conflicts' skill that forces enemy to attack each other.
This skill simply add a state to all enemies with restriction "attack an ally".
However, whenever an enemy uses any skill with scope = "X random enemy" to target another enemy,
the game crashes with the error below:

YEP_CoreEngine.js:1094 TypeError: targets.slice is not a function
at Function.BattleManager.startAction (YEP_BattleEngineCore.js:2291)
at Function.BattleManager.startAction (YEP_BuffsStatesCore.js:1129)
at Function.BattleManager.startAction (YEP_InstantCast.js:341)
at Function.BattleManager.startAction (YEP_WeaponUnleash.js:495)
at Function.BattleManager.startATBAction (YEP_X_BattleSysATB.js:1397)
at Function.BattleManager.updateATBPhase (YEP_X_BattleSysATB.js:1206)
at Function.BattleManager.update (YEP_X_BattleSysATB.js:1177)
at Scene_Battle.updateBattleProcess (rpg_scenes.js:2265)
at Scene_Battle.update (rpg_scenes.js:2257)
at Scene_Battle.update (YEP_CoreEngine.js:1427)


Anyone know how to fix this?
My temporary solution is to seal all skill type in the same state, so enemies can only attack each other with normal attack,
but this is not the feature I really want..
Thanks!

Latest Threads

Latest Posts

Latest Profile Posts

Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.
Hello! I would like to know if there are any pluggings or any way to customize how battles look?
I was thinking that when you start the battle for it to appear the eyes of your characters and opponents sorta like Ace Attorney.
Sadly I don't know how that would be possible so I would be needing help! If you can help me in any way I would really apreciate it!
The biggest debate we need to complete on which is better, Waffles or Pancakes?
rux
How is it going? :D
Day 9 of giveaways! 8 prizes today :D

Forum statistics

Threads
106,047
Messages
1,018,540
Members
137,834
Latest member
EverNoir
Top