Viper Snake
Member
Code:
DOT {Index} {Time} {Mode} {Force} {Rate}
~DOT means Damage Over Time. It works like drain feature but even better.
~Drain effect can't kill hit entity but DOT can. Also should DOT effect kill another entity, this entity will get the credit for the kill.
~{Index} defines DOT index. Entity may have up to 10 DOT effects at one time. An entity can be hit by more than one DOT effect at once. If entity is hit by same indexed DOT effects, only the latest one will be applied.
~{Time} defines how long DOT effect active in centiseconds.
~{Mode} defines how DOT effect is applied to hit entity. HP damage is same type as original attack and affected by damage mitigation.
1 = Nonlethal HP (can reduce to 1 but not below).
2 = MP.
3 = MP and nonlethal HP.
4 = HP.
5 = MP and HP.
~{Force} defines amount of damage per tick.
~{Rate} defines delay between each tick in centisecond.
I noticed this while working on getting my mod compatible with the latest openbor build. I had an entity that only drained mp suddently start draining hp non-lethally too. The DOT Mode 2 & 3 have been swapped around for some reason.