Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Enemies aren't randomly choosing skills

A topic by DoctorSpacebar created Jul 13, 2023 Views: 287 Replies: 5
Viewing posts 1 to 3
(1 edit) (+1)

I've set up a list of different skills, but each enemy always picks the same option under most conditions.

For instance, there's an ooze enemy that has "Attack" and "Poison Attack", and he always uses Attack. Or a ghost enemy that has "Curse of Fire", "Curse of Ice" and "Curse of Thunder" all at the same priority and he always uses Curse of Fire.

How do I get them to randomly select skills? They're all using "hunter"/"offense" if that helps.

EDIT: I don't know why, but commenting out the check for TP in Game_BattlerBase did the trick. Since I'm not using TP at all, that works just fine!

Developer(+1)

Seems you got it figured out and thanks for the edit update. 

How exactly did you fix it, I'm having the same problem.

Developer

The skills are not being randomly chosen on your end as well for enemies? What about for actors?

It seems the enemy will only use the skill at the top of the list.   For example, I could not get the Goblin to use Body Slam until I put it as the top skill.   Also, Gnome won't heal even when they or their allies are at low health.   I haven't tried AI controlled actors.

(1 edit)

I did some more testing and other enemies still had the same problem. I honestly don't know if I fixed the first instance, in retrospect- I just had to work around it.