WatkingStudio / Random-Encounter

A game inspired by DumpsteR_PlayeR2's Capture game. It has been modified to work as a DnD system within Twitch chat. The end goal is for users to be able to have random encounters, find loot, equip their warrior however they would like, and to go on quests with other members of chat for epic loot.
0 stars 0 forks source link

Redesign Quest Fights #59

Closed WatkingStudio closed 3 years ago

WatkingStudio commented 3 years ago

Brief Description Redesign how the quest results are determined. Currently it is very unlikely that the party will be able to succeed at the quest. Work out a better way to calculate the result, rather than just using a random value.

Checklist

Detailed Description If further detail is required for this issue please provide it here

Additional Info If there is any additional information required put it here

WatkingStudio commented 3 years ago

From testing it turns out the random.random() doesn't work correctly for the chatbot. Changing to use Parent.GetRandom(x, y) works as intended. Due to this I am going to change to using this new random method throughout the code.