|
|
|
@ -11,7 +11,7 @@ export class Fate extends GainsSkill {
@@ -11,7 +11,7 @@ export class Fate extends GainsSkill {
|
|
|
|
|
return replace(t('skill.fate.1'), [this.percent]); |
|
|
|
|
} |
|
|
|
|
afterBattle(owner: BattleRole, target: BattleRole): void { |
|
|
|
|
target.extraAttr.coins = Math.round(target.attr.coins * (this.percent / 100)); |
|
|
|
|
target.extraAttr.coins += Math.round(target.attr.coins * (this.percent / 100)); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
//1%生命偷取
|
|
|
|
|