Exemple #1
0
 private float getMultiplicator(int Strength, int Intelligence)
 {
     if (damagetype.isStrengthBased())
     {
         return(1 + (0.01f * (Strength - 20)));
     }
     else
     {
         return(1 + (0.01f * (Intelligence - 20)));
     }
 }