- Joined
- Apr 23, 2019
- Messages
- 4
- Reaction score
- 0
- First Language
- Chinese
- Primarily Uses
- RMMV
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:
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!
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!

