|
|
@@ -201,7 +201,6 @@ export class StatEffect extends StatusEffect { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
modStat (creature: Creature, stat: Stat, current: number): number { |
|
|
modStat (creature: Creature, stat: Stat, current: number): number { |
|
|
console.log(stat, this.stat) |
|
|
|
|
|
if (stat === this.stat) { |
|
|
if (stat === this.stat) { |
|
|
return current * this.factor + this.amount |
|
|
return current * this.factor + this.amount |
|
|
} else { |
|
|
} else { |
|
|
|