匠魂2鋸齒特性作用是什麼 - 我的世界匠魂2鋸齒特性有什麼用

來源:樂享遊戲吧 2.23W

我的世界匠魂2鋸齒特性有啥用很多玩家不知道,匠魂2有很多新穎的玩法和裝備,其中的各種特性效果也非常有用重要,擁有鋸齒特性的工具可以對怪物造成增傷。下面來看看我的世界匠魂2鋸齒特性具體有啥用。

《我的世界》匠魂2鋸齒特性有什麼用

我的世界匠魂2鋸齒特性有什麼用-匠魂2鋸齒特性作用是什麼

攻擊增益為 In((最高耐久 - 當前耐久) / 72 + 1) * 2,和石縛一樣的公式

package s;

import pList;

import tyLivingBase;

import Stack;

import agCompound;

import Formatting;

import ;

import ;

import actpait;

import Helper;

public class paitJagged extends Abspactpait {

public paitJagged() {

super("jagged", );

}

private double calcBonus(ItemStack tool) {

int durability = urrenpurability(tool);

int maxDurability = axDurability(tool);

// old tcon jagged formula

return ((maxDurability - durability) / 72d + 1d) * 2;

}

@Override

public float damage(ItemStack tool, EntityLivingBase player, EntityLivingBase target, float damage, float newDamage, boolean isCritical) {

newDamage += calcBonus(tool);

return ge(tool, player, target, damage, newDamage, isCritical);

}

@Override

public List<Sping> getExpaInfo(ItemStack tool, NBTTagCompound modifierTag) {

Sping loc = at(LOC_Expa, getModifierIdentifier());

return (lateFormatted(loc, at(calcBonus(tool))));

}

}

熱門標籤