feat: restructure guardian progression system with dynamic element support
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m20s
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m20s
This commit is contained in:
@@ -5,7 +5,7 @@ import type { DisciplineBonuses } from './mana-utils';
|
||||
import { SPELLS_DEF, ELEMENT_OPPOSITES, INCURSION_START_DAY, MAX_DAY } from '../constants';
|
||||
import { ENCHANTMENT_EFFECTS } from '../data/enchantment-effects';
|
||||
import { getGuardianForFloor } from '../data/guardian-encounters';
|
||||
import { BASE_GUARDIANS } from '../data/guardian-data';
|
||||
import { STATIC_GUARDIANS as BASE_GUARDIANS } from '../data/guardian-data';
|
||||
|
||||
// ─── Damage Calculation Params ──────────────────────────────────────────────
|
||||
|
||||
@@ -160,7 +160,7 @@ export function calcDamage(
|
||||
const elemMasteryBonus = 1;
|
||||
|
||||
// Guardian bane bonus
|
||||
const isGuardianFloor = floorElem && Object.values(BASE_GUARDIANS).some(g => g.element === floorElem);
|
||||
const isGuardianFloor = floorElem && Object.values(BASE_GUARDIANS).some(g => g.element.includes(floorElem));
|
||||
const guardianBonus = 1;
|
||||
|
||||
// Get boon bonuses from pacts
|
||||
|
||||
Reference in New Issue
Block a user