AI questions: Miracle usage? Nightmare usage? Buff usage? Twin Universe usage?
Miracle usage:
It casts Miracle when:
Current health - damage monitor < 10 + (random number between 0 and 1)*12
0 is inclusive, 1 is not.
In other words, it may cast it when current health - damage monitor is anywhere from 11 to 21.
Current health - damage monitor could even be 10 without it casting, but this is very, VERY unlikely.
Nightmare uses this formula to get the score of a creature:
Score = ((cost + 0.2) / (amount of quanta player has in the quanta pool of the creature's cost + 1)) + 0.2 / (number of cards in player hand * number of cards in player hand * 5 + 1)However, if the creature belongs to the AI and has the passive skill Obsession, its score automatically becomes 1.
So it will cast Nightmare on high-cost creatures, and will try to cast it on a creature costing quanta of which you have little. It also prefers to cast it when you have few cards in your hand. However, it will cast it on its Ghost of the Past regardless.
Blessing, Plate Armor, Heavy Armor, Quintessence, Chaos Power, Momentum and Twin Universe have the same sort of targeting. Note that all but Twin Universe will only ever be cast on the AI's own creature.
Each have different estimates. Estimates for Blessing, Plate Armor, Heavy Armor, Quintessence and Chaos Power is 3. Momentum is 1. Twin Universe is 0.
Targeting scores on the AI's creatures are as follows:
First the creature is given a skillscore. If the creature has any skill skillscore is 3, otherwise it is 0. However, if the creature has skill deja vu, devour or has 0 HP, skillscore is set to 10.
Then it uses this to determine the score:
Score = (current ATK + skillscore - turns frozen - turns delayed) / 10However, score is set to 0 if the spell is Momentum and creature already has momentum, creature has skill hatch, or if the spell is Parallel Universe and the creature is a Chimera.
Parallel Universe also scans the player's creatures.
If creature has a skill, skillscore = 3. Other than that it is the same as the above formula:
Score = (current ATK + skillscore - turns frozen - turns delayed) / 10So to summarize, buffs will be played on high ATK creatures, preferably with skills, and will give high priority to its creatures with deja vu, devour or with 0 HP.
How are you getting the answers to the questions?
The game source.