Skip to content

Commit

Permalink
Hotfixes
Browse files Browse the repository at this point in the history
  • Loading branch information
VMSolidus committed Jun 1, 2024
1 parent da57c22 commit b67cda2
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,6 @@ private void OnPowerUsed(EntityUid uid, PsionicInvisibilityPowerComponent compon
_doAfterSystem.TryStartDoAfter(doAfterArgs);

ToggleInvisibility(args.Performer);
var action = Spawn(PsionicInvisibilityUsedComponent.PsionicInvisibilityUsedActionPrototype);
_actions.AddAction(uid, action, action);
_actions.TryGetActionData(action, out var actionData);
if (actionData is { UseDelay: not null })
_actions.StartUseDelay(action);

_psionics.LogPowerUsed(uid, "psionic invisibility",
(int) MathF.Round(8 * psionic.Amplification - 2 * psionic.Dampening),
Expand All @@ -97,9 +92,6 @@ private void OnPowerUsed(EntityUid uid, PsionicInvisibilityPowerComponent compon

private void OnPowerOff(RemovePsionicInvisibilityOffPowerActionEvent args)
{
if (!HasComp<PsionicInvisibilityUsedComponent>(args.Performer))
return;

ToggleInvisibility(args.Performer);
args.Handled = true;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ private void OnPowerUsed(EntityUid uid, RegenerativeStasisPowerComponent compone
var solution = new Solution();
solution.AddReagent("PsionicRegenerationEssence", FixedPoint2.New(MathF.Min(2.5f * psionic.Amplification + psionic.Dampening, 15f)));
solution.AddReagent("Epinephrine", FixedPoint2.New(MathF.Min(2.5f * psionic.Dampening + psionic.Amplification, 15f)));
solution.AddReagent("Nocturine", FixedPoint2.New(20f));
_bloodstreamSystem.TryAddToChemicals(args.Target, solution, stream);
EnsureComp<SleepingComponent>(args.Target);

_psionics.LogPowerUsed(uid, "regenerative stasis",
(int) Math.Round(4 * psionic.Amplification - psionic.Dampening),
Expand Down
2 changes: 1 addition & 1 deletion Resources/Prototypes/Nyanotrasen/psionicPowers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
TelegnosisPower: 1
PsionicRegenerationPower: 1
RegenerativeStasisPower: 0.3
PsionicInvisibilityPower: 0.15
#PsionicInvisibilityPower: 0.15 #Temporarily disabled, engine update broke it
MindSwapPower: 0.15
NoosphericZapPower: 0.15
PyrokinesisPower: 0.15
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
- type: Psionic
dampening: 1 #Mystagogue gets a significant buff to his antimage abilities, making him better at dispelling than other people
- type: DispelPower
- type: MetapsionicPower
- type: CommandStaff
- !type:AddImplantSpecial
implants: [ MindShieldImplant ]
Expand Down

0 comments on commit b67cda2

Please sign in to comment.