- Joined
- Mar 24, 2012
- Messages
- 24
I am making my custom Shadow Fiend AI using GUI triggers for a custom map....
My current problem is related to its Ultimate Skill - Requiem of Souls function..
Here's how it supposed to work...
The SF AI will use its Requiem of Souls when;
- SF is "unit" "picked unit"
- Enemy Group is "unit group" "enemy within 800 AoE"
- DistanceX is "real" "closest distance of nearby enemy unit"
- Rikimaru's Cloak is "item" "provides Wind Walk buff/effect"
- Shadowrazes are "custom skills/abilities"
- Order ID of Requiem of Souls is "tranquility"
If some condition are met, the SF will do Requiem of Souls "order unit - tranquility". Otherwise, if its current order is "tranquility", I ordered them to "order - stop"....
OK, now for the problem, MY AI IS SOMEHOW ABLE TO BYPASS "unit count in Enemy Group condition", I don't know where my mistake is but i'm guessing the AI considered nearby allies as, enemies!!??
And the weirdest thing is, sometimes it will do Requiem of Souls even though no units is in range except itself/himself.... Here, im guessing, either dummy units are located, considered "alive" and as an "enemy" nearby the SF or it interferes with the SF itself, which will eventually try to use the custom made Requiem of Souls ability to mimic its original one (the ability which I made it from...), The Keeper of The Grove's Tranquility as a sign of desperation for it to "heal" itself even though I've set all values of its custom ability to absolute zero?
Please, help me find a way to fix it...
My current problem is related to its Ultimate Skill - Requiem of Souls function..
Here's how it supposed to work...
The SF AI will use its Requiem of Souls when;
-
If - Conditions
- (Number of units in Enemy Group) Greater than 0
-
Or - Any (Conditions) are true
-
Conditions
- (SF has buff Wind Walk) Equal to True
- (Number of units in Enemy Group) Greater than or equal to 3
- (Percentage life of SF) Less than or equal to 35.00
-
And - All (Conditions) are true
-
Conditions
- (Current order of SF) Equal to (Order(tranquility))
- (Percentage life of SF) Less than or equal to 40.00
-
Conditions
-
And - All (Conditions) are true
-
Conditions
- (Current order of SF) Equal to (Order(tranquility))
- (Percentage life of SF) Greater than 40.00
- DistanceX Less than or equal to 400.00
-
Conditions
-
And - All (Conditions) are true
-
Conditions
- RandomChance Less than or equal to 0.16
- (SF has an item of type Rikimaru's Cloak) Equal to True
-
Conditions
-
And - All (Conditions) are true
-
Conditions
- Shadowraze[Z]'s Cooldown Greater than 0.00
- Shadowraze[X]'s Cooldown Greater than 0.00
- Shadowraze[C]'s Cooldown Greater than 0.00
- RequiemOfSouls' Cooldown Less than or equal to 0.00
-
Conditions
-
And - All (Conditions) are true
-
Conditions
- DistanceX Less than or equal to 300.00
- Shadowraze[Z]'s Cooldown Greater than 0.00
-
Conditions
-
Conditions
- SF is "unit" "picked unit"
- Enemy Group is "unit group" "enemy within 800 AoE"
- DistanceX is "real" "closest distance of nearby enemy unit"
- Rikimaru's Cloak is "item" "provides Wind Walk buff/effect"
- Shadowrazes are "custom skills/abilities"
- Order ID of Requiem of Souls is "tranquility"
If some condition are met, the SF will do Requiem of Souls "order unit - tranquility". Otherwise, if its current order is "tranquility", I ordered them to "order - stop"....
OK, now for the problem, MY AI IS SOMEHOW ABLE TO BYPASS "unit count in Enemy Group condition", I don't know where my mistake is but i'm guessing the AI considered nearby allies as, enemies!!??
And the weirdest thing is, sometimes it will do Requiem of Souls even though no units is in range except itself/himself.... Here, im guessing, either dummy units are located, considered "alive" and as an "enemy" nearby the SF or it interferes with the SF itself, which will eventually try to use the custom made Requiem of Souls ability to mimic its original one (the ability which I made it from...), The Keeper of The Grove's Tranquility as a sign of desperation for it to "heal" itself even though I've set all values of its custom ability to absolute zero?
Please, help me find a way to fix it...