private bool On_CallAirstrikeBaseKeyIsDown(On.EntityStates.Captain.Weapon.CallAirstrikeBase.orig_KeyIsDown orig, CallAirstrikeBase self) { if (Scepter_V2.instance.GetCount(self.outer.commonComponents.characterBody) > 0) { return(false); } return(orig(self)); }
private void On_CallAirstrikeBaseEnter(On.EntityStates.Captain.Weapon.CallAirstrikeBase.orig_OnEnter orig, CallAirstrikeBase self) { orig(self); if (Scepter_V2.instance.GetCount(self.outer.commonComponents.characterBody) > 0) { self.damageCoefficient = 5f; self.AddRecoil(-1f, 1f, -1f, 1f); } }