Commit ad303d77 authored by DUMOULIN ANTOINE's avatar DUMOULIN ANTOINE
Browse files

Merge branch 'bugfix/clampDamage' into 'develop'

increase clamp

See merge request fauchezlegouic/projet-integrateur!417
parents d7ce9d10 ba003642
......@@ -173,7 +173,7 @@ public class CollisionManager : MonoBehaviour
Debug.Log(isPlayer + directionDiff);*/
int damage = (int)((masse * rapportVit) / 100 * randDamage);
//Debug.Log(isPlayer + "Damage : " + damage);
return Mathf.Clamp(damage, 0, 50);
return Mathf.Clamp(damage, 0, 100);
}
return 0;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment