Berzerk / Psychedelic duration stacking customization - #2191
Conversation
|
Nightly build for this pull request:
This comment is automatic and is meant to allow guests to get latest nightly builds for this pull request without registering. It is updated on every successful build. |
a15f909 to
4ab5de1
Compare
|
'add' option doesn't work in our test for some reason, which still behaves like override |
612bfbd to
d8e5761
Compare
|
all are override |
d8e5761 to
d35a77c
Compare
|
Fixed the |
|
works, but min|subtract|multiply|divide need unit been Berzerk, maybe shouldnt in [CombatDamage] |
this case should be mentioned in the doc that it'll make Berzerk can't be applied normally if the global tag is set to these values |
# Conflicts: # CREDITS.md # docs/Whats-New.md
|
there's still one remaining thing: even if we use these stacking values to make the duration of berzerk becomes 0, it'll still retint for a frame. This make it look bad when we want to use it to clear berzerk effect |
# Conflicts: # docs/Whats-New.md
done and tested to work, and since 0 Damage can't make it enter berzerk already, I made it simply bail out if the duration is not positive. I don't think a customizable tag is needed here but correct me if I'm wrong |
Berzerk (Psychedelic) duration stacking customization
Psychedelicwarheads override the current duration of the berzerk effect regardless of if the new duration is higher or lower than the current one. This can now be customized withPsychedelic.StackingMode, with both global setting under[CombatDamage]and per-Warhead customization.In
rulesmd.ini:Dev note: The enum was generalized for potential (future) use elsewhere but is also possibly over-engineered for these kind of purposes and mixes two things together (when and how) which might not be ideal, can simplify it if need be I suppose.