Files
majochem a5dd258226 Add support for "Fleshrender" unique (and general poison stacking mechanics) (#9533)
* Rename `doublePoisonChance` to `additionalPoisonChance`

Renamed for clarity as it is not actually a "doubling" effect

* Add additional poisons and poison stack limits

- parsing and logic for application of more than 1 additional poison per
  hit via "inflict X additional poisons on the same target ..."
- parsing and logic for poison stack limit via "cannot poison enemies
  with at least X poisons on them"
- adds parsing and logic for additional `CannotMultiplie` flag that will
  apply to Viper Strike of the Mamba as of 3.28

* Adjust `PoisonStacks` breakdown

* Add parsing for "Wither on Hit with this weapon against Enemies with at least 12 Poisons on them"

Just setting `Condition:CanWither` flag for now, as actually checking
for number of poisons seems overkill and eliminates too many edge cases

* Add `ModStoreClass:Min()` to `ModStore.lua`

This is the counterpart to `ModStoreClass:Max()` and gives back the
lowest modifier value. This makes sense for things like the poison stack
limit, where neither "BASE" nor "OVERRIDE" would work for multiple mods

* Change `PoisonStackLimit` to use `"MIN"` modType

* Add `"MAX"` & `"MIN"` modType explanation to docs

"MAX" already existed and was used, but was missing from `modSyntax.md`,
so I added the explanation for both now

* Add `PoisonStackLimit` to Viper Strike of the Mamba

* Further improve PoisonStacks breakdown

- Now shows active poison stack limit
- Now shows what uncapped poison stacks would be (to gauge if you're
  close to being under cap)
- Changed wording of "Capped to 1" for `Condition:SinglePoison` hint to
  "Assume non-Poisoned Enemy" because that is what it is actually used
  for

* Appease the spell checking gods `hitrate` -> `hit rate`

---------

Co-authored-by: LocalIdentity <localidentity2@gmail.com>
2026-03-09 23:50:28 +11:00
..
2022-02-23 13:48:46 +11:00