Merge pull request #1448 from madman2021/butcher_fix

Increased /butcher damage to defence fixes issue #1447
This commit is contained in:
Chris 2017-05-14 20:54:54 +09:30 committed by GitHub
commit dcefec678d

View file

@ -5207,7 +5207,7 @@ namespace TShockAPI
{
if (Main.npc[i].active && ((npcId == 0 && !Main.npc[i].townNPC && Main.npc[i].netID != NPCID.TargetDummy) || Main.npc[i].netID == npcId))
{
TSPlayer.Server.StrikeNPC(i, (int)(Main.npc[i].life + (Main.npc[i].defense * 0.5)), 0, 0);
TSPlayer.Server.StrikeNPC(i, (int)(Main.npc[i].life + (Main.npc[i].defense * 0.6)), 0, 0);
kills++;
}
}