Merging Source v1.7.2: actor changes
This commit is contained in:
@@ -30,8 +30,6 @@ import com.watabou.utils.Bundle;
|
||||
|
||||
public class Poison extends Buff implements Hero.Doom {
|
||||
|
||||
public static final int DOT = 2;
|
||||
|
||||
protected float left;
|
||||
|
||||
private static final String LEFT = "left";
|
||||
@@ -67,7 +65,7 @@ public class Poison extends Buff implements Hero.Doom {
|
||||
public boolean act() {
|
||||
if (target.isAlive()) {
|
||||
|
||||
target.damage( DOT, this );
|
||||
target.damage( (int)(left / 3) + 1, this );
|
||||
spend( TICK );
|
||||
|
||||
if ((left -= TICK) <= 0) {
|
||||
|
||||
Reference in New Issue
Block a user