public void OnPrimaryToolAdded() { if (_primaryHandSlot != null) { _primaryHandSlot.LoadAbilities(_owner.GetToolAbilitiesPrimary(_primaryHandSlot.ToolType)); } }
public void OnSecondaryToolAdded() { if (_secondaryHandSlot != null) { _secondaryHandSlot.LoadAbilities(_owner.GetToolAbilitiesSecondary(_secondaryHandSlot.ToolType)); } //If the main hand's selected ability conflicts with the second hand, deactivate it if (_primaryHandSlot.IsActiveAbilityInSecondFive()) { _primaryHandSlot.DeselectAbility(); } }