LogFAQs > #958127308

LurkerFAQs, Active DB, DB1, DB2, DB3, DB4, DB5, DB6, DB7, Database 8 ( 02.18.2021-09-28-2021 ), DB9, DB10, DB11, DB12, Clear
Topic List
Page List: 1
TopicITT: Learning Python
SomeLikeItHoth
09/16/21 9:21:17 PM
#258:


RchHomieQuanChi posted...
I've got to tweak the numbers though to make it challenging
You could create a dice system where the player rolls two dice and gets a solid number and use that number to subtract from the enemies defense. I was thinking of creating something similar to that myself.

Say the player rolls two six-sided dice. The first number they get is a 3 and the second is a 5. Your total number would be 8.

Now say the enemy has a high attack stat (30), but a low defense stat (5). You subtract your dice roll of 8 and the enemies defense stat of 5, so the enemy loses 3 HP.

That would be pretty challenging.

You would also have to take into account other variables, like rolling a low number so the enemy doesn't lose HP, and even a critical hit option if you get double of the same number. And certain characters could have higher dice numbers, like two eight-sided dice.

---
FAM FOREVER.
... Copied to Clipboard!
Topic List
Page List: 1