Merge branch 'general-devel' into fix-itemban

This commit is contained in:
Chris 2017-05-14 20:55:10 +09:30 committed by GitHub
commit 585a72bdf3
3 changed files with 4 additions and 3 deletions

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++;
}
}