h-dong / slash-dash-rpg

Built this RPG for fun, built with React uses xState to manage inventory, combat, stats and etc state.
https://slash-dash.netlify.app/
1 stars 1 forks source link

Proposal: Add more attack types #5

Open MatthiasGu opened 4 years ago

MatthiasGu commented 4 years ago

Right now combat is quite static - the one with more Strength has a huge advantage, even if it's 1 str vs 2 str.

Proposal is to add more attack types in order to give more possibilities to the player. For example:

This will probably require rewriting the attack engine a little bit to take into account all the stats.

Different weapons could have bonuses against certain attack types, e.g. daggers prefer quick attacks, 2 handed weapons slow attacks, etc.

Another possibility, which is harder to implement, but I think is quite cool, would be to have different attack types dependent on weapon. For example, daggers can stab (slower and stronger) or slash, axes can chop or slash, etc. The speed of the attack would be determined by holding down the attack button, kind of "charging up" the attack if you like.

Whichever approach is chosen, I think the user should be shown the chance to hit and potential damage of each attack.

h-dong commented 4 years ago

Just to track our conversation.

Current combat system The system isn't great right now, need to revisit the crit and hit damage randomness. 2 str vs 1 str shouldn't be able to hit 6 or 7 for example.

Different attacks