From aac5efbf613c347ff13378fc676120b9504a4713 Mon Sep 17 00:00:00 2001 From: funkyfranky Date: Thu, 10 May 2018 22:48:14 +0200 Subject: [PATCH] ARTY added shots to report output --- Moose Development/Moose/Functional/Artillery.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Moose Development/Moose/Functional/Artillery.lua b/Moose Development/Moose/Functional/Artillery.lua index 8849c68e0..4a00da6e5 100644 --- a/Moose Development/Moose/Functional/Artillery.lua +++ b/Moose Development/Moose/Functional/Artillery.lua @@ -936,9 +936,9 @@ function ARTY:_OnEventShot(EventData) self.Nshots=self.Nshots+1 -- Debug output. - local text=string.format("Group %s fired shot %d of %d with weapon %s on target %s.", self.Controllable:GetName(), self.Nshots, self.currentTarget.nshells, _weaponName, self.currentTarget.name) + local text=string.format("%s, fired shot %d of %d with weapon %s on target %s.", self.Controllable:GetName(), self.Nshots, self.currentTarget.nshells, _weaponName, self.currentTarget.name) self:T(ARTY.id..text) - MESSAGE:New(text, 5):ToAllIf(self.Debug) + MESSAGE:New(text, 5):ToAllIf(self.report or self.Debug) -- Get current ammo. local _nammo,_nshells,_nrockets,_nmissiles=self:GetAmmo()