/* * BaseWeapon Damage * Fire Element Damage Ice Element Electric */ int GetAllDamage() { int d = _Damage; if (npcEquipment != null) { d += npcEquipment.GetDamage(); } Log.Sys("Damage is what " + d + " g " + gameObject); return(d); }
/* * BaseWeapon Damage * Fire Element Damage Ice Element Electric */ public int GetAllDamage(bool isStaticShoot) { int d = _Damage; if (isStaticShoot) { d = (int)(_Damage * GameConst.Instance.StaticShootBuffDamageRatio); } if (npcEquipment != null) { d += npcEquipment.GetDamage(); } Log.Sys("Damage is what " + d + " g " + gameObject); return(d); }