1
0
Fork 0
forked from NotAShelf/rogged

combat: buff status effects

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Ie2f5af13ad3c0392a5e873b15170b0226a6a6964
This commit is contained in:
raf 2026-04-05 22:24:12 +03:00
commit 4a718b9685
Signed by: NotAShelf
GPG key ID: 29D95B64378DB4BF
2 changed files with 4 additions and 4 deletions

View file

@ -30,7 +30,7 @@ pub fn name(effect: c.StatusEffectType) ?[*:0]const u8 {
pub fn paramsFor(effect: c.StatusEffectType) EffectParams {
return switch (effect) {
c.EFFECT_BLEED => .{ .duration = 4, .intensity = c.BLEED_STACK_DAMAGE },
c.EFFECT_STUN => .{ .duration = 1, .intensity = 0 },
c.EFFECT_STUN => .{ .duration = 2, .intensity = 0 },
c.EFFECT_WEAKEN => .{ .duration = 3, .intensity = c.WEAKEN_ATTACK_REDUCTION },
c.EFFECT_BURN => .{ .duration = 2, .intensity = c.BURN_BASE_DAMAGE },
c.EFFECT_POISON => .{ .duration = 5, .intensity = c.POISON_BASE_DAMAGE },