public void rollDamage(int damage, int damageRolls, Attackable a) { //assume melee attack damage for(int i = 0; i < damageRolls; i++) { TdamageRoll += TdamageRoll + Random.Range(1,damage+1); } TdamageRoll += e.strengthModifier(); a.modCurrentHealth(-TdamageRoll); Debug.Log(e.getName()+" deals "+TdamageRoll+" damage (roll = "+(TdamageRoll-e.strengthModifier())+", Strength Modifier = "+e.strengthModifier()+")"); TdamageRoll = 0; }