Can you guys write a function that takes the available mana, recharge rate for mana (0 if time is frozen), and mana required for an attack and determines how long a character can sustain an attack before running out of mana. Then, can you use the results from this function to 'encourage' characters to use more powerfull attacks. For example, if I have a summoned fire elemental that can't virtually run-out of mana, the fire elemental would choose to use its starburst attack more often.
* * *
I have been playing a scenario where the number of opponents gets above 900 (don't ask - all I will say is it's deliberate) and whenever I make one character playing that scenario (usually an archmage) invisible by using the cheat code, the game slow downs. However, when I summon an image or a fire elemental, the game promptly speeds up.
Is this because it is faster to determine what to do when there are visible opponents vs invisible opponents?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Can you guys write a function that takes the available mana, recharge rate for mana (0 if time is frozen), and mana required for an attack and determines how long a character can sustain an attack before running out of mana. Then, can you use the results from this function to 'encourage' characters to use more powerfull attacks. For example, if I have a summoned fire elemental that can't virtually run-out of mana, the fire elemental would choose to use its starburst attack more often.
* * *
I have been playing a scenario where the number of opponents gets above 900 (don't ask - all I will say is it's deliberate) and whenever I make one character playing that scenario (usually an archmage) invisible by using the cheat code, the game slow downs. However, when I summon an image or a fire elemental, the game promptly speeds up.
Is this because it is faster to determine what to do when there are visible opponents vs invisible opponents?