| When does AI actually pick Wisdom? | This thread is pages long: 1 2 3 4 5 · «PREV |
|
phoenix4ever

 
     
Legendary Hero
Heroes is love, Heroes is life
|
posted September 03, 2026 04:58 PM |
|
|
Yeah I guess Fire Wall, Force Field and Remove Obstacle, would be kinda hard "to teach" AI to use in a good way.
But let me know, if you find out how to make it cast Quicksand and Land Mine.
|
|
BigPig2

 
 
Adventuring Hero
|
posted September 03, 2026 07:23 PM |
|
|
Technically speaking, I already do. As AlexSpl said you need to give them a value function, as all the spells AI doesnt use currently redirect to an "others" case, which gives them a value of 0. So what is needed is to change the value in the switch table for the spells you want to "activate" to direct to either:
- an existing function of another spell, in which case the question becomes: which other spell is useful in similar circumstances? I think you would maybe cast Q/LM in situations similar to when you cast slow, but likely with a somewhat lower priority. So i am thinking to take the value of slow and reduce it by some factor maybe? or;
- write up your own function that estimates the value based on battlefield situation (hard in hex), or;
- give them a flat constant value, this would work in principle but would likely not be very beneficial to the AI player as these spells are not all that powerful in many situations. Maybe if the value was small the AI could only cast them when out of better alternatives.
|
|
Phoenix4ever

 
     
Legendary Hero
Heroes is love, Heroes is life
|
posted September 03, 2026 07:34 PM |
|
|
Yeah I agree with you.
AI loves to spam Slow and Blind and damage spells and situations where you would want to use QS and LM seems similar to those of Slow yeah, but they should have lower priority, since Slow is one of the best spells in the game.
|
| |
|
|