Thaumaturgic alchemy refactor WIP (#955)
* essences thaumaturgy refactor * migrate structure crystals * shard migrate * bruh * fix migration * fixes * 1 combining * Create essence_brewing.yml * Update magic.yml * stack essence support * FUCK THIIA ALL, DELETE ALL * redesign counter spell * Update precurser.yml * magic splitting solution * precurser splitting * Praecantatio * Update cleaner.yml * add potions recipe * fuck alchemy guidebook * guidebook update * fixes * energia fix * Update migration.yml * fixes * Update Alchemy.xml * fix * medium vial * fixes? * Update essence_combining.yml * Update target_effect_creation_water.yml * alchemist Comoss update * Update closets.yml * mana opertion glove * Update migration.yml * Update vials.yml * Update GuideReagentReaction.xaml * try to fix * manual migration * Update comoss_d.yml * fix * manual migration 2 * precursor admixture * Update heater.yml
This commit is contained in:
@@ -72,8 +72,16 @@ public sealed class ChasingWalkSystem : VirtualController
|
||||
_lookup.GetEntitiesInRange(compType, _transform.GetMapCoordinates(xform), range, _potentialChaseTargets, LookupFlags.Uncontained);
|
||||
|
||||
//If there are no required components in the radius, don't moving.
|
||||
//if (_potentialChaseTargets.Count <= 0)
|
||||
// return;
|
||||
|
||||
//CP14 clear chasing ent
|
||||
if (_potentialChaseTargets.Count <= 0)
|
||||
{
|
||||
component.ChasingEntity = null;
|
||||
return;
|
||||
}
|
||||
//CP14 end
|
||||
|
||||
//In the case of finding required components, we choose a random one of them and remember its uid.
|
||||
component.ChasingEntity = _random.Pick(_potentialChaseTargets).Owner;
|
||||
|
||||
Reference in New Issue
Block a user