static void consumeMoveAction(Kingmaker.Controllers.Combat.UnitCombatState combat_state) { if (combat_state.Cooldown.MoveAction > 0.0f) { combat_state.Cooldown.StandardAction = 6.0f; combat_state.Cooldown.MoveAction = 6.0f; } else { combat_state.Cooldown.MoveAction = 3.0f; } }
static bool cannotChangeEquipment(Kingmaker.Controllers.Combat.UnitCombatState combat_state) { return(combat_state.HasCooldownForCommand(UnitCommand.CommandType.Standard) && combat_state.HasCooldownForCommand(UnitCommand.CommandType.Move)); }