diff --git a/Content.Server/ADT/Abilities/XenoQueen/XenoQueenSystem.cs b/Content.Server/ADT/Abilities/XenoQueen/XenoQueenSystem.cs index a9e42869be6..c43540cc07a 100644 --- a/Content.Server/ADT/Abilities/XenoQueen/XenoQueenSystem.cs +++ b/Content.Server/ADT/Abilities/XenoQueen/XenoQueenSystem.cs @@ -31,7 +31,7 @@ public override void Initialize() SubscribeLocalEvent(OnMapInit); SubscribeLocalEvent(OnStartup); SubscribeLocalEvent(OnShutdown); - SubscribeLocalEvent(OnCreateTurret); + SubscribeLocalEvent(OnCreateTurret); SubscribeLocalEvent(OnWorldSpawn); } @@ -98,7 +98,7 @@ private void OnShutdown(EntityUid uid, XenoQueenComponent component, ComponentSh _actionsSystem.RemoveAction(uid, component.ActionSpawnXenoRavager); _actionsSystem.RemoveAction(uid, component.ActionSpawnXenoQueen); } - private void OnCreateTurret(EntityUid uid, XenoQueenComponent component, InvisibleWallActionEvent args) + private void OnCreateTurret(EntityUid uid, XenoQueenComponent component, SpawnWallActionEvent args) { if (!component.XenoCreatTurretEnabled) return; diff --git a/Content.Shared/ADT/Actions/SpawnWallActionEvent.cs b/Content.Shared/ADT/Actions/SpawnWallActionEvent.cs new file mode 100644 index 00000000000..e76ec675a0a --- /dev/null +++ b/Content.Shared/ADT/Actions/SpawnWallActionEvent.cs @@ -0,0 +1,7 @@ +using Content.Shared.Actions; + +namespace Content.Shared.ADT.Events; + +public sealed partial class SpawnWallActionEvent : InstantActionEvent +{ +} diff --git a/Resources/Prototypes/ADT/Actions/XenoQueen.yml b/Resources/Prototypes/ADT/Actions/XenoQueen.yml index 04857cb9146..e5a1ef9fb01 100644 --- a/Resources/Prototypes/ADT/Actions/XenoQueen.yml +++ b/Resources/Prototypes/ADT/Actions/XenoQueen.yml @@ -10,7 +10,7 @@ icon: sprite: Objects/Weapons/Guns/Turrets/xenoturret.rsi state: icon - event: !type:InvisibleWallActionEvent + event: !type:SpawnWallActionEvent # Я не смог сделать отдельный ивент для спавнта турели. Он не видел прототип ивента. - type: entity diff --git a/Resources/Prototypes/Entities/Mobs/NPCs/xeno.yml b/Resources/Prototypes/Entities/Mobs/NPCs/xeno.yml index 41e121d564a..25bfe1c7a9d 100644 --- a/Resources/Prototypes/Entities/Mobs/NPCs/xeno.yml +++ b/Resources/Prototypes/Entities/Mobs/NPCs/xeno.yml @@ -304,7 +304,7 @@ 50: 0.7 # Start ADT: Xeno Buff - type: StaminaDamageOnHit - damage: 60 + damage: 45 # 60 # End ADT - type: Fixtures fixtures: