Skip to content

Commit

Permalink
fix: stab being falsely discounted from dagger mastery
Browse files Browse the repository at this point in the history
  • Loading branch information
Darxo committed Aug 18, 2024
1 parent 2e220c9 commit 532e9f3
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions mod_hardened/hooks/skills/actives/stab.nut
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,18 @@
__original();
this.m.ActionPointCost = 3;
}

q.onAfterUpdate = @(__original) function( _properties )
{
// Add an action point to counter act the discount that is given out by modular_vanilla mod
if (_properties.IsSpecializedInDaggers)
{
if (this.m.ActionPointCost > 0)
{
this.m.ActionPointCost += 1;
}
}

__original(_properties);
}
});

0 comments on commit 532e9f3

Please sign in to comment.