Temetito
Member
- Joined
- Oct 9, 2014
- Messages
- 56
Hi,
I am fairly new to the bot and programming in general and decided to tweak the CR as a learning experience. I would like to prevent the routine from spamming an ability that has no cooldown. For example Unsteady Miasma (engi support ability). I would like it to cast only once every 6 seconds or so.
I assume its as easy as adding a command to:
But I don't know what the command is.
Is it possible? I appreciate any help or suggestions.
Thanks!
I am fairly new to the bot and programming in general and decided to tweak the CR as a learning experience. I would like to prevent the routine from spamming an ability that has no cooldown. For example Unsteady Miasma (engi support ability). I would like it to cast only once every 6 seconds or so.
I assume its as easy as adding a command to:
Code:
if (SpellController.CanCast("Unsteady Miasma") && Me.InnateResource > 50)
return "Unsteady Miasma";
Is it possible? I appreciate any help or suggestions.
Thanks!