Forum Discussion
8 years ago
It's damn frustrating that he'll swap with an undamaged, almost full TM character rather than cleansing a heavily debuffed character just because that character has a high effective HP.
- 8 years agoI came up with a bit of pseudo code that should resolve the issue with Grand Admirals Command. I hope it helps in fixing this issue once and for all.
so here is what Thrawn's AI appears to be doing:
if ( any ally has effects tagged clearable_debuff ) {
target = ally with lowest effective HP
use Grand_Admirals_Command on target
}
what he should be doing is this:
if ( negative status effects ) {
mostDebuffs = 0
for each ally {
if ( ally's number_debuffs tagged
clearable_debuff >= mostDebuffs ) {
if ( number = mostDebuffs ) {
resolve_tie
}
target = ally
mostDebuffs = number_debuffs
use Grand_Admirals_Command on target
}
}
}
hopefully someone there can pick up what I'm laying down.- 8 years agoThe description of the special specifically says it is used to cleanse a debuff on ally, and to recover protection.
What this means to me is that the move should be used to either 1. Cleanse a debuff or 2. Recover protection. In the current form the AI is using it to do neither of those things. When it is Thrawns turn it should go through a series of checks to see how the special should be used if available.
Check could be as simple as if debuff ally, use cleanse on them, if no debuffed ally, use switch on toon with lowest % of protection, if no ally has debuff and all allies have full protection, either use fracture (if available) or basic.
About SWGOH Technical Issues
Get help and discuss troubleshooting for Star Wars: Galaxy of Heroes with other players.23,552 PostsLatest Activity: 17 hours ago
Recent Discussions
- 40 minutes ago
- 60 minutes ago
- 3 hours ago