我的世界科技枪CrT魔改武器伤害(1.12)
#导包
import mods.techguns.GunStats;#枪械属性
import mods.techguns.ArmorStats;#盔甲属性
#枪械修改方法
GunStats.setWeaponStat(“枪械名称”,”DAMAGE”,数值);
枪械名称列表(摘自wiki):
ak47, alienblaster, as50, aug, biogun, blasterrifle, chainsaw, combatknife, combatknife, combatshotgun, crowbar, crowbar, flamethrower, fraggrenade, gaussrifle, gaussrifle, goldenrevolver, grenadelauncher, grimreaper, handcannon, handgun, lasergun, lmg, m4, m4_infiltrator, mac10, mibgun, minigun, miningdrill, netherblaster, nucleardeathray, pdw, pistol, powerhammer, pulserifle, revolver, rocketlauncher, sawedoff, scar, scatterbeamrifle, sonicshotgun, stielgranate, teslagun, tfg, thompson, vector
数值:修改后的伤害
#举例:
GunStats.setWeaponStat(“handcannon”,”DAMAGE”,1);