TheAIHoldsAtItsEffectiveRange toggles Enabled, the writable source of Online
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
aed269ad94
commit
6c924e79e0
2 changed files with 4 additions and 4 deletions
BIN
GameData/Aetheria.cc
(Stored with Git LFS)
BIN
GameData/Aetheria.cc
(Stored with Git LFS)
Binary file not shown.
|
|
@ -380,8 +380,8 @@ public sealed class FireControlTests : IDisposable
|
|||
zone.Update(1f); // enters CombatState, which samples before the weapons' first stat evaluation
|
||||
zone.Update(1f);
|
||||
var item = shooter.Weapons.Single().Item;
|
||||
item.Online.Value = false; // an Online change is what makes Combat sample again, over the evaluated stats
|
||||
item.Online.Value = true;
|
||||
item.Enabled.Value = false; // an Online change is what makes Combat sample again, over the evaluated stats
|
||||
item.Enabled.Value = true;
|
||||
|
||||
var agent = zone.Agents.Single();
|
||||
var state = typeof(Agent).GetField("_currentState", System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.NonPublic).GetValue(agent);
|
||||
|
|
|
|||
Loading…
Reference in a new issue