TheAIHoldsAtItsEffectiveRange lets the Online change land between toggles
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
6c924e79e0
commit
3ca3fcde7b
1 changed files with 2 additions and 0 deletions
|
|
@ -381,7 +381,9 @@ public sealed class FireControlTests : IDisposable
|
|||
zone.Update(1f);
|
||||
var item = shooter.Weapons.Single().Item;
|
||||
item.Enabled.Value = false; // an Online change is what makes Combat sample again, over the evaluated stats
|
||||
zone.Update(.1f);
|
||||
item.Enabled.Value = true;
|
||||
zone.Update(.1f);
|
||||
|
||||
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