adjusted hacked strike damage
This commit is contained in:
parent
ff4a7eebf0
commit
440662df72
|
|
@ -844,7 +844,8 @@ export class CombatEngine {
|
||||||
const hackFires = [];
|
const hackFires = [];
|
||||||
const _enemySide = pending.side === 'player' ? 'opponent' : 'player';
|
const _enemySide = pending.side === 'player' ? 'opponent' : 'player';
|
||||||
for (const copied of hackCtx.hackCopiedSkills) {
|
for (const copied of hackCtx.hackCopiedSkills) {
|
||||||
const syntheticSkill = { ...copied, value: hackSkill.value };
|
const strikeMultiplied = copied.name === 'strike';
|
||||||
|
const syntheticSkill = { ...copied, value: strikeMultiplied ? hackSkill.value * 3 : hackSkill.value };
|
||||||
const ctx2 = { rng: this.rng, enemyCommander: pending.enemyCommander, enemyLaneCards: pending.enemyLanes };
|
const ctx2 = { rng: this.rng, enemyCommander: pending.enemyCommander, enemyLaneCards: pending.enemyLanes };
|
||||||
this.skillProcessor.process(syntheticSkill, pending.attacker, pending.target, liveAllies, liveEnemies, ctx2);
|
this.skillProcessor.process(syntheticSkill, pending.attacker, pending.target, liveAllies, liveEnemies, ctx2);
|
||||||
// Process results same as normal preAttack skills
|
// Process results same as normal preAttack skills
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue