Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hotfixes #15

Merged
merged 1 commit into from
Jun 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading