HouseRules

HouseRules

1.4k Downloads

Create a player berserk feature as a rule.

orendain opened this issue ยท 6 comments

commented

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.

commented

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
		},
commented

Awesome find, @jimconner! Reopening!

commented

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 }
      ]
commented

New goal: Add berserk as a custom rule for the RulesAPI (RulesAPI still WIP).

commented

Closing. If this becomes feasible later on, we can reopen.

commented

It's easy to allow berserk on players (via setting PieceConfig), but berserk effect does not go away. And can not currently set via serializable event as host can not call on behalf of other players.

So ignoring this feature for now.