Release Healer Man 0.1.7
This commit is contained in:
1 parent
b12fb84859
commit
eca6b5db9b
99 files changed
+1931
-150
No files matched your search
@@ -4,6 +4,7 @@ import {
|
||||
abilityById,
|
||||
isAbilityUnlocked,
|
||||
resourceProfileForClass,
|
||||
triggeredAbilityBySpellId,
|
||||
type AbilityDefinition,
|
||||
type AbilityEffect,
|
||||
type ResourceType,
|
||||
@@ -51,8 +52,6 @@ import {
|
||||
} from "./partyAbilityAi";
|
||||
import { normalizeActorResourcePool } from "./combatActors";
|
||||
import { advanceCombatResourcePool } from "./combatResources";
|
||||
import { romTriggeredAbilityBySpellId } from "./romAbilityCatalog";
|
||||
import { coaTriggeredAbilityBySpellId } from "./coaAbilityRuntimeCatalog";
|
||||
import {
|
||||
combatHasLineOfSight,
|
||||
combatSpatialActor,
|
||||
@@ -1010,8 +1009,7 @@ function executePartyAbility(
|
||||
};
|
||||
} else if (effect.kind === "trigger-spell" && depth < 2) {
|
||||
const triggered = abilitiesForClass(member.classId).find((candidate) => candidate.dbcSpellId === effect.spellId)
|
||||
?? romTriggeredAbilityBySpellId(effect.spellId)
|
||||
?? coaTriggeredAbilityBySpellId(effect.spellId);
|
||||
?? triggeredAbilityBySpellId(effect.spellId);
|
||||
if (triggered && triggered.id !== ability.id) {
|
||||
const result = executePartyAbility(runtimeMember, triggered, targetId, now, members, depth + 1);
|
||||
runtimeMember = result.member;
|
||||
|
||||
Reference in new issue
Block a user