主页| 免费发布天堂1开机信息| 站长qq:1161903

交你-魔法武器武卷加成多加1种

来源:2TT天堂发布网 www.2tt.cc    发布时间:2018/10/18 11:16:26    浏览量:946

+0范德为流星雨魔法攻击特效
+10范德多潻加1种魔法攻击(剑气)
+15范德再添加1种魔法攻击(暴风闪电)共3种

修改档案 L1Attack.java  找到武器、请看下方

case 59: // 骑士剑-流星雨
{
if(j < 8)
{
Damage += 40 + _random.nextInt(35);
player.sendPackets(new S_SkillSound(_targetId, 762));
player.broadcastPacket(new S_SkillSound(_targetId, 762));
}
else       //weaponEnchant武器加成数、自已设限吧
if(j < 10 && weaponEnchant > 9) //当武器加成10追加剑气
{
Damage += (((((player.get_str())*1.5) + (weapon.getEnchantLevel()))*1.2));
//Damage是伤害等于、玩家的力量1.5、再加上武器加成
player.sendPackets(new S_SkillSound(player.get_objectId(), 4781));
player.broadcastPacket(new S_SkillSound(player.get_objectId(), 4781));
} else
if(j < 12 && weaponEnchant > 15) // 当武器加成15追加暴风闪电
{

areaskill(player,(int)Damage,2); //这是范围技伤害
Damage += ((((player.get_str())*1.2) + (weapon.getEnchantLevel()))*1.2);
player.sendPackets(new S_SkillSound(player.get_objectId(), 4223));
player.broadcastPacket(new S_SkillSound(player.get_objectId(), 4223));
}
break;