From f282bd461c69d40f5ebdc80fbd011909caee31f6 Mon Sep 17 00:00:00 2001
From: Arkerthan <arkerthan@gmail.com>
Date: Mon, 28 Jun 2021 17:21:58 +0200
Subject: [PATCH] fix no damage set for overwhleming victory during PEPitFight

---
 src/events/PE/pePitFight.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/events/PE/pePitFight.js b/src/events/PE/pePitFight.js
index de7b9865747..105239ddeaf 100644
--- a/src/events/PE/pePitFight.js
+++ b/src/events/PE/pePitFight.js
@@ -230,6 +230,7 @@ App.Events.PEPitFight = class PEPitFight extends App.Events.BaseEvent {
 			r.push(`${slave.slaveName} senses that ${he} is greatly superior, and decides to make a quick end before ${his} opponent can try something foolish. ${He} feints high and stabs low; ${his} enemy just manages to parry the low stab, but is so much weaker that ${slave.slaveName} simply overpowers ${himU}, so that ${heU} falls onto ${hisU} back with the force of the clash. ${slave.slaveName} takes one step forward and runs ${his} sword through the prostrate slave's heart. This victory has <span class="reputation inc">won you some renown</span> and <span class="cash inc">a sum of money</span> from each of the spectators.`);
 			repX(500, "pit", slave);
 			cashX(5000, "pit", slave);
+			damage = 0;
 			slave.counter.pitWins += 1;
 			slave.counter.pitKills += 1;
 			V.pitKillsTotal += 1;
-- 
GitLab