From a7e1dbe90e687831648537531c049bff60de49b5 Mon Sep 17 00:00:00 2001 From: Crom Date: Sat, 14 Dec 2019 19:56:53 -0800 Subject: [PATCH] Fix Unphasing Latest patches changed how it adds abilities, this fixes the issue. --- Unphasing.cs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Unphasing.cs b/Unphasing.cs index 84933f8..ffbb083 100644 --- a/Unphasing.cs +++ b/Unphasing.cs @@ -69,7 +69,13 @@ public override bool Mutate(GameObject GO, int Level) ActivatedAbilities part = GO.GetPart("ActivatedAbilities") as ActivatedAbilities; if (part != null) { - this.UnphaseActivatedAbilityID = part.AddAbility("Unphase", "CommandUnphase", "Physical Mutation", true, false); + this.UnphaseActivatedAbilityID = part.AddAbility( + Name: "Unphase", + Command: "CommandUnphase", + Class: "Physical Mutation", + Description: "Peer behind the curtain from the other side.", + IsRealityDistortionBased: true + ); this.UnphaseActivatedAbility = part.AbilityByGuid[this.UnphaseActivatedAbilityID]; } this.ChangeLevel(Level);