Всякое (#116)
* - fix: Fix clown font again. * - tweak: Better melee sound for axe and halberd. * - fix: Fix cult item equip. * - fix: Extraction doesn't count as absorbing. * - tweak: No mindshield for seniors. * - fix: Salary for seniors. * - add: Guardians can fly. * - add: Nukie NV goggles * - tweak: Buff spear again. * - tweak: Less cost for ling abilities. * - tweak: MindShield is not permanent. * - fix: Fix exception spam. * - tweak: Cheaper stings. * Revert "- tweak: No mindshield for seniors." This reverts commit fff625b8b83d296293644f62fe11cc4a916c4ab2.
This commit is contained in:
@@ -66,7 +66,7 @@ public sealed class ChangelingConditionsSystem : EntitySystem
|
||||
if (!TryComp<ChangelingComponent>(mind.CurrentEntity, out var changelingComponent))
|
||||
return 0f;
|
||||
|
||||
var absorbed = changelingComponent.AbsorbedEntities.Count - 1; // Because first - it's the owner
|
||||
var absorbed = changelingComponent.AbsorbedCount; // Because first - it's the owner
|
||||
|
||||
if (requiredDna == absorbed)
|
||||
return 1f;
|
||||
@@ -90,7 +90,7 @@ public sealed class ChangelingConditionsSystem : EntitySystem
|
||||
if (!TryComp<ChangelingComponent>(mind.CurrentEntity, out var changelingComponent))
|
||||
return 0f;
|
||||
|
||||
var selfAbsorbed = changelingComponent.AbsorbedEntities.Count - 1; // Because first - it's the owner
|
||||
var selfAbsorbed = changelingComponent.AbsorbedCount; // Because first - it's the owner
|
||||
|
||||
var query = EntityQueryEnumerator<ChangelingComponent>();
|
||||
|
||||
@@ -100,7 +100,7 @@ public sealed class ChangelingConditionsSystem : EntitySystem
|
||||
if (uid == mind.CurrentEntity)
|
||||
continue; //don't include self
|
||||
|
||||
var absorbed = comp.AbsorbedEntities.Count - 1;
|
||||
var absorbed = comp.AbsorbedCount;
|
||||
otherAbsorbed.Add(absorbed);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user