|
@@ -313,10 +313,10 @@ export class TornadoComponent extends Component {
|
|
objExp = AttributeBonusMgr.inst.getStormSunderExp(lv);
|
|
objExp = AttributeBonusMgr.inst.getStormSunderExp(lv);
|
|
}
|
|
}
|
|
|
|
|
|
- const finialExp = AttributeBonusMgr.inst.getExpBonus(objExp, isAI);
|
|
|
|
- this.currentExp += finialExp;
|
|
|
|
- this.height += Math.floor(finialExp * AttributeBonusMgr.inst.userModel.game_exp_height);
|
|
|
|
- Effect2DUIMgr.inst.addExpProp(this.node, finialExp);
|
|
|
|
|
|
+ const finialExp = AttributeBonusMgr.inst.getExpBonus(objExp, isAI).toFixed(1);
|
|
|
|
+ this.currentExp += Number(finialExp)
|
|
|
|
+ this.height += Math.floor(Number(finialExp) * AttributeBonusMgr.inst.userModel.game_exp_height);
|
|
|
|
+ Effect2DUIMgr.inst.addExpProp(this.node, Number(finialExp));
|
|
|
|
|
|
if (this.currentExp >= this.nextExp) {
|
|
if (this.currentExp >= this.nextExp) {
|
|
this.currentLv++;
|
|
this.currentLv++;
|