Commit Graph

4 Commits

Author SHA1 Message Date
Remuchi
1e363c7346 Revert "Merge pull request #462 from WWhiteDreamProject/revert-460-upstream"
This reverts commit 092dba42e5, reversing
changes made to e6315c2320.
2025-04-20 11:15:45 +07:00
DVONIKS
6c19771020 Revert "Upstream 04.04-18.04" 2025-04-20 06:34:09 +03:00
VMSolidus
6c8adaeb52 Various Misc Psi Power Fixes (#2272)
# Description

The bug with the traits menu related to psionics is a significantly more
complicated issue, so I'm fixing that separately, it notably involves
touching a different system entirely than anything in this PR. The
biggest ones this fixes are Psi-Invis and Anoigo. Others are a variety
of other powers that were supposed to be checking "Is the target
insulated?" but weren't. To make it easier to check, I added an overload
for the OnAttemptPowerUse function that accepts a Target EntityUid,
which extends the insulation check to a second entity, which all of the
pre-existing targetted powers now use. Which simplifies the need to
constantly write the checks over and over again.

The biggest fixes this patch from to Psi Invisibility, and to an
underlying secondary problem that I discovered as a result of more
closely examining the cause of the Invis bugs. So now the client gets
networked their casting stats. Both Psi-invis and Anoigo have had their
audio fixed (it was a typo in both cases). Anoigo now also checks if the
target has insulation.

This last point is relevant because certain "High Security" doors have
had their components psifoil insulated to protect from people with a
rare and obnoxious power from forcing their way in.

<details><summary><h1>Media</h1></summary>
<p>

https://github.com/user-attachments/assets/ba53df07-5ed9-4b08-b787-a6f6b347c8a3

</p>
</details>

# Changelog

🆑
- add: NT has had its station's "High Security" doors such as Command,
Security, and Vault doors shielded with psifoil around their components.
They can no longer be forced open by the Anoigo power.
- tweak: Anoigo, Dispel, Mindswap, Healing Word, Breath Of Life,
Pyrokinesis, and Noospheric Zap now all don't work if the target has
psionic insulation.
- fix: Psionic Invisibility now actually works as advertised.
- fix: Psionic Invisibility and Anoigo now actually produce a sound, as
well as properly enforce their cooldowns.
- tweak: Anoigo reclassified as a "Dangerous" power, it now also costs
10 points for Elementalists.
- remove: Prisoners can no longer be Psionic.
- fix: Mantis can no longer summon his black blade if his hands are
full.

---------

Signed-off-by: VMSolidus <evilexecutive@gmail.com>

(cherry picked from commit a4b8cf17f0a6cb62a499cb004fd2f5512c31ef18)
2025-04-19 17:05:42 +03:00
VMSolidus
687faec813 Fix Psionic Invisibility (#2223)
# Description

This PR fixes, refactors, and reworks the old Psionic Invisibility
Power, in order to make it comply with standards set by Psionic Refactor
V2. It's not at the level of V3, but I honestly don't care to since V3
is also deprecated now anyways. The newly reworked invisibility has
actual casting stat scaling with psionic amplification and dampening,
with a variably set duration and casting cooldown. It also now has new
exit conditions that deprecates the need to make it pacify the caster.

Yes I actually have tested and verified that this power works correctly.

# Changelog

🆑
- add: Reworked and fixed Psionic Invisibility. It now has actual
psychic casting stat scaling.

(cherry picked from commit 6674ec31a1d13be2d7d3ebb7ef452710d85bfe90)
2025-04-18 19:17:11 +03:00