|
@@ -305,7 +305,7 @@ export class TornadoComponent extends Component {
|
|
|
|
|
|
const finialExp = AttributeBonusMgr.inst.getExpBonus(objExp, isAI);
|
|
|
this.currentExp += finialExp;
|
|
|
- this.height += finialExp * AttributeBonusMgr.inst.userModel.game_exp_height;
|
|
|
+ this.height += Math.floor(finialExp * AttributeBonusMgr.inst.userModel.game_exp_height);
|
|
|
Effect2DUIMgr.inst.addExpProp(this.node, finialExp);
|
|
|
|
|
|
if (this.currentExp >= this.nextExp) {
|