Esempio n. 1
0
 protected override void Awake()
 {
     base.Awake();
     axeBlade  = transform.GetChild(0).GetComponent <DamagingHitbox>();
     axeHandle = transform.GetChild(1).GetComponent <DamagingHitbox>();
     axeBlade.DamageMultiplier  = bladeDamage;
     axeHandle.DamageMultiplier = handleDamage;
 }
Esempio n. 2
0
 protected override void Awake()
 {
     base.Awake();
     swordTip  = transform.GetChild(0).GetComponent <DamagingHitbox>();
     swordBase = transform.GetChild(1).GetComponent <DamagingHitbox>();
     swordHilt = transform.GetChild(2).GetComponent <DamagingHitbox>();
     swordTip.DamageMultiplier  = TipDamage;
     swordBase.DamageMultiplier = BaseDamage;
     swordHilt.DamageMultiplier = HiltDamage;
 }
Esempio n. 3
0
 protected override void Awake()
 {
     base.Awake();
     staffBase = transform.GetChild(0).GetComponent <DamagingHitbox>();
     staffBase.DamageMultiplier = StaffDamage;
 }