mirror of
https://github.com/psforever/PSF-LoginServer.git
synced 2026-07-16 08:55:18 +00:00
log flag carrier kill to database as a facility capture event
This commit is contained in:
parent
fcb477c229
commit
22a76ab415
1 changed files with 8 additions and 0 deletions
|
|
@ -15,6 +15,7 @@ import net.psforever.objects.serverobject.turret.FacilityTurret
|
|||
import net.psforever.objects.sourcing.{DeployableSource, PlayerSource, VehicleSource}
|
||||
import net.psforever.objects.vehicles.Utility.InternalTelepad
|
||||
import net.psforever.objects.zones.blockmap.BlockMapEntity
|
||||
import net.psforever.objects.zones.exp.ToDatabase
|
||||
import net.psforever.services.RemoverActor
|
||||
import net.psforever.services.local.{LocalAction, LocalServiceMessage}
|
||||
|
||||
|
|
@ -444,6 +445,13 @@ class GeneralOperations(
|
|||
attacker.Name,
|
||||
AvatarAction.AwardCep(attacker.CharId, Config.app.game.experience.cep.lluSlayerCredit)
|
||||
)
|
||||
ToDatabase.reportFacilityCapture(
|
||||
attacker.CharId,
|
||||
continent.Number,
|
||||
llu.Owner.GUID.guid,
|
||||
Config.app.game.experience.cep.lluSlayerCredit,
|
||||
expType = "llu-slayer"
|
||||
)
|
||||
}
|
||||
}
|
||||
if (!CaptureFlagManager.ReasonToLoseFlagViolently(continent, Some(guid), player)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue