Page 1 of 1

Simultaneous application of slowing and weakening poison IMPLEMENTED

Posted: Fri Jan 08, 2021 9:21 pm
by Inbreak
I tried to apply both poisons on my archer and shoot. The target suffer only from weakening poison. Does it work correctly and archer can cause only one poison and order of them matters? Or it is bug and opponent should suffer both of them simultaneously?

Re: Simultaneous application of slowing and weakening poison

Posted: Fri Jan 08, 2021 9:34 pm
by Inbreak
Didn't test it on melee units. Maybe the same problem is with regular herbalist poison also.

Re: Simultaneous application of slowing and weakening poison

Posted: Sat Jan 09, 2021 8:46 am
by Endru1241
Currently in the engine weapon effects (any effects that are applied along with unit attack) are set to be excluding each other.
I added code change request to allow multiple weapon effects.

Re: Simultaneous application of slowing and weakening poison

Posted: Sun Jan 10, 2021 11:52 am
by Stratego (dev)
i am not sure, in AOF we have a warrior with flame and thunder sword effect isnt that set to be addable?

btw: in this case (pisoned weapon) is more "realisic" to have only one poison on a blade.

Re: Simultaneous application of slowing and weakening poison

Posted: Sun Jan 10, 2021 1:08 pm
by Endru1241
I just tested in AoF.
Warmage gets [burning weapon] after using enchant burning spell. It gets [slowing weapon] after casting lighting weapon spell.
But he looses * weapon effect that was casted first once second is used. Regular effect is still shown, but doesn't do anything.

Re: Simultaneous application of slowing and weakening poison

Posted: Mon Jan 11, 2021 8:07 am
by makazuwr32
Yep. Exactly as endru mentioned.
On-hit effects do not stack with each other.
If you ever make a unit with for example burning, slowing 1, poison and some other on-hit effect (all 4 passive and exist on same unit) than only 1 of them will always work and apply its effect.
Other effect will apply that only if conditions to apply effect 1 are failed.

Re: Simultaneous application of slowing and weakening poison

Posted: Mon Jan 11, 2021 11:49 am
by Stratego (dev)
ok, so it is bug then:
- unit has 2 or more weapon effects active (eg: poison1, poison2)
- and on attack the target will receive randomly one of these

and should work like receiving all ofthe effects (that is applicable to unit)

Re: Simultaneous application of slowing and weakening poison

Posted: Mon Jan 11, 2021 2:49 pm
by Endru1241
Stratego (dev) wrote: Mon Jan 11, 2021 11:49 am ok, so it is bug then:
- unit has 2 or more weapon effects active (eg: poison1, poison2)
- and on attack the target will receive randomly one of these

and should work like receiving all ofthe effects (that is applicable to unit)
That's right.

And if some modder is interested in old behaviour (only one active at a time) then removesEffectGroups could be used, once proper group would be added to effects applying weapon effect.

Re: Simultaneous application of slowing and weakening poison

Posted: Tue Jan 12, 2021 7:37 am
by makazuwr32
Stratego (dev) wrote: Mon Jan 11, 2021 11:49 am ok, so it is bug then:
- unit has 2 or more weapon effects active (eg: poison1, poison2)
- and on attack the target will receive randomly one of these

and should work like receiving all ofthe effects (that is applicable to unit)
Not randomly though. Currently if effect1 is appliable to hit target than it always will be applied on hit.
If it is not appliable than effect2 is tried to apply. And so on.

Re: Simultaneous application of slowing and weakening poison IMPLEMENTED

Posted: Wed Jan 13, 2021 8:47 pm
by Inbreak
Summing up both poisons will work after the next update? Speaking about realism i can imagine that herbalist is mixing poisons together so both effects could be added to a missile.