Release Healer Man 0.1.40
This commit is contained in:
1 parent
ed0d2fea3d
commit
197a64117c
215 files changed
+5131
-181
No files matched your search
@@ -984,7 +984,7 @@ function executePartyAbility(
|
||||
} else if (effect.kind === "execute") {
|
||||
for (const hostileTargetId of hostileTargets) {
|
||||
const target = useCombatStore.getState().mobs[hostileTargetId];
|
||||
if (target && target.health / Math.max(1, target.maxHealth) <= 0.2) {
|
||||
if (target && !target.boss && target.health / Math.max(1, target.maxHealth) <= 0.2) {
|
||||
effectiveAmount += combat.damageMob(
|
||||
hostileTargetId,
|
||||
Math.max(target.health, partyAbilityAmount(runtimeMember, ability, effect)),
|
||||
@@ -1078,7 +1078,7 @@ function executePartyAbility(
|
||||
resourcePools,
|
||||
resource: resource === runtimeMember.resourceType ? resourcePools[resource] ?? runtimeMember.resource : runtimeMember.resource,
|
||||
};
|
||||
} else if (effect.kind === "trigger-spell" && depth < 2) {
|
||||
} else if (effect.kind === "trigger-spell" && !effect.expanded && depth < 2) {
|
||||
const triggered = abilitiesForClass(member.classId).find((candidate) => candidate.dbcSpellId === effect.spellId)
|
||||
?? triggeredAbilityBySpellId(effect.spellId);
|
||||
if (triggered && triggered.id !== ability.id) {
|
||||
|
||||
Reference in new issue
Block a user