forked from phenom/healer-man
Update Healer Man server
This commit is contained in:
1 parent
83eac6d476
commit
4957b69e86
21 files changed
+170
-40
No files matched your search
@@ -538,7 +538,8 @@ function scoreAbility(
|
||||
// summons are valid player buttons but are not autonomous combat actions.
|
||||
if (categories.has("summon") && !damaging && !petSummon && !offensiveSummon && !maintenanceBuff) return null;
|
||||
if (categories.has("buff") && !damaging && !defensive && !maintenanceBuff
|
||||
&& !categories.has("resource") && !petSummon && !offensiveSummon) return null;
|
||||
&& !categories.has("resource") && !petSummon && !offensiveSummon
|
||||
&& !(offensiveMajorCooldown && profileIndex >= 0)) return null;
|
||||
if (categories.has("movement") && !damaging && !context.moving) return null;
|
||||
if (context.requiredControl && categories.has("control")) {
|
||||
return { ability, score: 1_016_000, ruleId: "reactive-control", reason: "encounter requested control", targetId: context.hostileTarget?.id ?? null };
|
||||
|
||||
Reference in new issue
Block a user