Aller au contenu

Photo

XP Giver - Hard Leveling


  • Veuillez vous connecter pour répondre
51 réponses à ce sujet

#51
WhiteTiger

WhiteTiger
  • Members
  • 479 messages

not directly but yes usign the default statement

basically you cover all other cases such as 0 1 2 3 (or negatives)

then the default is everything else than these cases which should be 4 5 6 7 and more

 

I use return 1 to negatives cases <= 5 and 380 to positive cases >= 5. I have not thought of all possible chances, because I need the maximum value of CR (Challenge Rating) to calculate this 



#52
Shadooow

Shadooow
  • Members
  • 4 465 messages

yea in this case, switch is not very effective


  • WhiteTiger aime ceci