How to disable auto-cast for AI dummy unit?
I tried the following and fails: (tested with Player=Neutral Hostile, skill=Bloodlust or InnerFire, both with Locust and without Locust)
1. Put the skill in unit skills, but not in default active skills. However, AI auto casts the skill.
2. Add skill to unit the skill in trigger. However, AI auto casts the skill.
In above two situations, activation-order never occurs and IssueImmediateOrder(deactivation-order) is always ignored.
Deactivation-order can occur only after activation-order is made to occur (e.g. by trigger or default active). But even if deactivation-order occurred, AI still auto casts the skill.
(Disabling auto-cast is necessary in case that dummy fails to cast spell, e.g. due to dead or uncastable target.)
I tried the following and fails: (tested with Player=Neutral Hostile, skill=Bloodlust or InnerFire, both with Locust and without Locust)
1. Put the skill in unit skills, but not in default active skills. However, AI auto casts the skill.
2. Add skill to unit the skill in trigger. However, AI auto casts the skill.
In above two situations, activation-order never occurs and IssueImmediateOrder(deactivation-order) is always ignored.
Deactivation-order can occur only after activation-order is made to occur (e.g. by trigger or default active). But even if deactivation-order occurred, AI still auto casts the skill.
(Disabling auto-cast is necessary in case that dummy fails to cast spell, e.g. due to dead or uncastable target.)