Enemy Attack Delay

Hey guys is there a way to have an enemy wait a certain amount of time before performing an attack again? I have a boss spamming a summon attack and that's not the outcome I was hoping for.
 
Take a look at this

attackthrottle {rate} {time}

rate: chance to cancel attack (must be between 0.0 and 1.0)
time: in seconds, how long should this entity stay tame until next check, the engine will generate a random number between 0 and this value.
note: some action will cancel the timer, for example, getting hit. Seeing the target block or attacking will also affects the timer. A value of 0.5-0.75 should be OK.
the idea is to allow using high aggressive settings to give the AI super quick initial "reflexes" but still enough delay between subsequent attacks to avoid unbeatable cheapness
 
I'll check out attack throttle and I tried mp and mpcost as well as randomizing but He was still spamming the attack more than I liked. Thanks guys I'll let you know if I come up with anything
 
Back
Top Bottom