• All, Gmail is currently rejecting messages from my host. I have a ticket in process, but it may take some time to resolve. Until further notice, do NOT use Gmail for your accounts. You will be unable to receive confirmations and two factor messages to login.

DOT mode values swapped build 4161

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.
 
I'm the one who originally coded that - it's definitely not my best work, but to my knowledge has never been modified since I put it in. Could you narrow the versions down where the reversal took place?

DC
 
Damon Caskey said:
I'm the one who originally coded that - it's definitely not my best work, but to my knowledge has never been modified since I put it in. Could you narrow the versions down where the reversal took place?

DC

But it works fine! If I can remember, the only issue is when you use it against bikers.
 
Can someone share proper values, im having weird issues with this that already take too much time to debunk

Im having this


DOT 1 1600 4 1 100

attack 149 194 244 38 20 0 0 1 0 40
 
Last edited:
I wanted to drain 100 hp over like 5 seconds but literally nothing works so i seached forums for at least 1 working case... none found.
 
I've tried your DOT setting above and it works, although it doesn't drain as much as you've desired. Your setting drains 1 HP per second for 16 seconds.
If you want to drain 100HP in 5 seconds, your setting should be : DOT 1 500 4 20 100
 
Back
Top Bottom