My idea for a tactic is when a mage's mana is below 10% and health is over 75% to either use Dark Sustenance (from Warden's Keep) or activate Blood Magic (if Blood Magic is used I'd have to have a third tactics slot to turn off blood magic when HP fall below 25%).
The thing is I'm not sure it is possible to set up such a tactic in the system as it is.
There is the Go To Tactic action but I'm concerned that it could lead to an infinate loop of inaction. The idea for go to option would be:
I'm afraid, however, that what would end up happening is when your MP is less than 10% and your HP is less than 75% but greater than 10% that your character would do NOTHING. The AI would follow the tactics like this1 - Self: HP < 10% :: Use Weakest Healing Item
2 - Self: MP < 10% :: Go To 10
3 - Self: HP < 25 % :: Deactive Blood Magic
...
9 - Enemy: Lowest HP :: Attack
10 - Self: HP >= 75% :: Activate Blood Magic
Maybe the Bioware and/or the modding community could implement a combinational action (AND NEXT / OR NEXT) That would force the 2 tactics to be read as 11 - Not Met goto 2
2 - Met goto 10
10 - Not met... end of tactics goto 1
1 - Not Met goto 2
2 - Met goto 10
10 - Not met... end of tactics goto 1
...
...
Where the AI would not read 3 unless 2 was met.1 - Self: HP < 10% :: Use Weakest Healing Item
2 - Self: MP < 10% :: And Next
3 - Self: HP >= 75% :: Activate Blood Magic
4 - Self: HP < 25 % :: Deactive Blood Magic
...
10 - Enemey: Lowest HP :: Attack
EDIT:
The solution to the GOTO method occured to me just after posting.
Still not sure if it would work. It depends on if the Go To commands disable the normal tactics traversal behavior (if the condition after Go To is not met does the AI continue down the list?) If this works it is still less than ideal (extra tactic slot required)1 - Self: HP < 10% :: Use Weakest Healing Item
2 - Self: MP < 10% :: Go To 9
3 - Self: HP < 25 % :: Deactive Blood Magic
...
8 - Enemy: Lowest HP :: Attack
9 - Self: HP >= 75% :: Activate Blood Magic
10 - Self: Any :: Go To 3
EDIT AGAIN:
DAMMIT! After the last edit I remembered seeing in game that you can only set Go To actions to things further down (you can not Go To 3 from 10) this was probably set up this way to AVOID infinate loops
Modifié par nimzar, 24 novembre 2009 - 07:15 .





Retour en haut






