Merge branch 'general-devel' into fix-voidbag-sprayer
This commit is contained in:
commit
c17a2a64b5
6 changed files with 139 additions and 11 deletions
|
|
@ -4330,6 +4330,15 @@ namespace TShockAPI
|
|||
args.Player.Dead = true;
|
||||
args.Player.RespawnTimer = TShock.Config.Settings.RespawnSeconds;
|
||||
|
||||
if (Main.ServerSideCharacter && !args.Player.HasPermission(Permissions.bypassssc))
|
||||
{
|
||||
if (pvp)
|
||||
{
|
||||
args.Player.sscDeathsPVP++;
|
||||
}
|
||||
args.Player.sscDeathsPVE++;
|
||||
}
|
||||
|
||||
foreach (NPC npc in Main.npc)
|
||||
{
|
||||
if (npc.active && (npc.boss || npc.type == 13 || npc.type == 14 || npc.type == 15) &&
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue