fix: Check revenant ability costs correctly (#32050)
* fix: Check revenant ability costs correctly * refactor: Idiomatically get negative value
This commit is contained in:
committed by
GitHub
parent
b091640c26
commit
ae7e58db5d
@@ -170,7 +170,7 @@ public sealed partial class RevenantSystem : EntitySystem
|
||||
}
|
||||
}
|
||||
|
||||
ChangeEssenceAmount(uid, abilityCost, component, false);
|
||||
ChangeEssenceAmount(uid, -abilityCost, component, false);
|
||||
|
||||
_statusEffects.TryAddStatusEffect<CorporealComponent>(uid, "Corporeal", TimeSpan.FromSeconds(debuffs.Y), false);
|
||||
_stun.TryStun(uid, TimeSpan.FromSeconds(debuffs.X), false);
|
||||
|
||||
Reference in New Issue
Block a user