Schwenckenator / DungeonRoguelike

A roguelike in a dungeon
1 stars 0 forks source link

We need an AOE monster type #83

Open crushingCodes opened 4 years ago

crushingCodes commented 4 years ago

On top of having an AOE move, he needs to know when in range of a hero, and then attack

Schwenckenator commented 4 years ago

Rather than we need X type, we should focus on making a more general AI system, with a sort of "plug & play" AI Code.

Ideally, we would want a general control class that has a public AI Type variable. The type of AI can be set through the character scriptable object. The controller class would then call the AI whenever it's turn has come, feed it info on the current situation and the AI would return what it wants to do, move here, attack this, etc.

That way, the AI controller doesn't care what AI it's using, and new AI types should be easy to create

crushingCodes commented 4 years ago

So this would be a bit like your ability setup I'm guessing, ok I can have a go at that.

crushingCodes commented 4 years ago

I had a bit of a go at the enemy types, I pushed up just the foundations for the new setup