Skip to content

Commit

Permalink
Fix Unphasing
Browse files Browse the repository at this point in the history
Latest patches changed how it adds abilities, this fixes the issue.
  • Loading branch information
koboldunderlord authored Dec 15, 2019
1 parent 07f1375 commit a7e1dbe
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Unphasing.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit a7e1dbe

Please sign in to comment.