//Weapon stuff public virtual void UseGun(NormalGun curGun) { if (canAttack == true && curGun != null && curGun.fireCoroutine == null) { curGun.fireCoroutine = StartCoroutine(curGun.Fire()); } }
public override void UseGun(NormalGun curGun) { if (canAttack == true && curGun != null && curGun.fireCoroutine == null) { float rageCost = curGun.bulletList[curGun.curIndx].rageCost; if (curRage >= rageCost) { curRage = ClampRage(curRage - rageCost); curGun.fireCoroutine = StartCoroutine(curGun.Fire()); } } }