Create a player berserk feature as a rule.
orendain opened this issue ยท 6 comments
Mod in private use that allows players to go berserk under similar monster-berserk circumstances (e.g., health < 50%). By itself, this mod seems odd for a player to enable.
Consider bundling it with other game mechanic changes as a custom game type, or just a custom ruleset.
Just stumbled across this whilst looking for something else... It appears to be setting the duration for berserk. Maybe we could set it to a smaller number of rounds to get the desired behaviour?
new StatusEffectData
{
effectStateType = EffectStateType.Berserk,
durationTurns = 999,
damagePerTurn = 0,
stacks = false,
tickWhen = StatusEffectsConfig.TickWhen.Never
},
Awesome find, @jimconner! Reopening!
Resolved with the combination of 2 rules (after #193):
new StatusEffectData
{
effectStateType = EffectStateType.Berserk,
durationTurns = <some reasonable number ... 3?>,
...
},
and enabling BerserkBelowHealth
with PieceConfigAdjustedRule
"Rule": "PieceConfigAdjustedRule",
"Config": [
{ "Piece": "HeroSorcerer", "Property": "BerserkBelowHealth", "Value": 0.8 }
]