Skip to content

Commit

Permalink
FIX: MiGo Damage by BarbedWire in Astral
Browse files Browse the repository at this point in the history
  • Loading branch information
ReeZer2 committed Feb 19, 2025
1 parent 520e2b0 commit 61cd466
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Content.Server/SS220/CultYogg/MiGo/MiGoSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ public override void ChangeForm(EntityUid uid, MiGoComponent comp, bool isMateri
{
//no opening door during astral
_tag.AddTag(uid, "DoorBumpOpener");
_tag.RemoveTag(uid, "MiGoInAstral");
comp.MaterializationTime = null;
comp.AlertTime = 0;

Expand All @@ -82,7 +83,7 @@ public override void ChangeForm(EntityUid uid, MiGoComponent comp, bool isMateri
{
comp.AudioPlayed = false;
_tag.RemoveTag(uid, "DoorBumpOpener");

_tag.AddTag(uid, "MiGoInAstral");
_alerts.ShowAlert(uid, comp.AstralAlert);

//no phisyc during astral
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,19 @@
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: DamageContacts
ignoreWhitelist:
tags:
- MiGoInAstral
damage:
types:
Slash: 5
Piercing: 5
- type: SpeedModifierContacts
walkSpeedModifier: 0.2
sprintSpeedModifier: 0.2
ignoreWhitelist:
tags:
- MiGoInAstral
- type: Appearance
- type: GenericVisualizer
visuals:
Expand Down
5 changes: 5 additions & 0 deletions Resources/Prototypes/tags.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1485,4 +1485,9 @@
id: HolofanProjectorSecurity
# SS220 Fix #2009 end

# ss220 migo damage in astral fix start
- type: Tag
id: MiGoInAstral
# ss220 migo damage in astral fix end

# ALPHABETICAL

0 comments on commit 61cd466

Please sign in to comment.