AI should not use healing infusions at full health

All new ideas for the upcoming releases of ToME 4.x.x should be discussed here

Moderator: Moderator

Post Reply
Message
Author
Amphouse
Thalore
Posts: 186
Joined: Mon Feb 04, 2013 9:31 pm

AI should not use healing infusions at full health

#1 Post by Amphouse »

While in most cases it makes sense for the enemy AI to use infusions immediately upon spotting the player(and even for Regen this is arguably correct since they are usually about to take huge damage), this behavior makes no sense for healing infusions. Since healing infusions are instant the AI could use them at any time after taking damage and still be able to attack in the same turn. I know virtually nothing about the game's code, but surely there is some way to get the AI to recognize that they have a healing infusion, and to only use it either:
  • Immediately after taking damage
  • When their health drops below X%
  • When they would receive the full healing value
Any of these would work.

Radon26
Sher'Tul
Posts: 1439
Joined: Mon Jun 23, 2014 11:50 am

Re: AI should not use healing infusions at full health

#2 Post by Radon26 »

there are many talents which have prerequisite before being usable.
for example the disruption shield can only be activated below 10% mana.

so i am pretty sure its perfectly doable, to make the healing infusion only possible to activate when below 90%.
why 90%? cause i say so. also, it just seems like a good number.
anything bigger then that would be a waste to use at almost full health, anything weaker would make no difference, regardless of when you use it.

Post Reply