Skip to content

Commit 2674501

Browse files
committed
Fix Enhance for Hunt and Mark
Looks like it is a game bug, but Hunt and Mark both can be enhanced on inactive units. Implement it.
1 parent 470aef0 commit 2674501

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

sim.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2098,6 +2098,7 @@ inline bool skill_predicate<Skill::enhance>(Field* fd, CardStatus* src, CardStat
20982098
if (!dst->has_skill(s.s)) return false;
20992099
if (is_active(dst)) return true;
21002100
if (is_defensive_skill(s.s)) return true;
2101+
if (s.s == Skill::hunt || s.s == Skill::mark) return true; // Combat-Modifier exceptions (game bug?)
21012102
if (is_instant_debuff_skill(s.s)) return true; // Enhance Sabotage, Inhibit, Disease also without dst being active
21022103
if (is_triggered_skill(s.s) && s.s != Skill::valor) return true;// Enhance Allegiance, Stasis, Bravery ( + not in TU: Flurry, Summon; No enhance on inactive dst: Valor)
21032104

0 commit comments

Comments
 (0)