timeofdeathcant log in
Guest
|
Post by timeofdeathcant log in on Mar 26, 2004 1:08:41 GMT -5
Hi. I'm making an RPG. The main thing holding me back is the equasion to use to decide how much damage is dealt based on attack (accuracy), defence, and strength. If you have any ideas please tell me. T'would be much appreciated. I'm competing in a contest I absolutely must win against my friend. I have some great sprites just need an equasion. Thanks, Time of Death (That's the name of my RPG)
|
|
|
Post by IsmAvatar on Mar 26, 2004 15:18:41 GMT -5
what numbers are you using for attack, etc.
Also, there's normally 4:
Accuracy, Dodge Attack, Block
So there's a counteraction.
Some things take a random number, between 0 and the skill. Then, take the counter-skill, and take it's random number. it subtracts the counter-skill from the skill. If it's less than 1, it's a failure. Then you can go into Pen and Paper RPG's (tabletop rpg's), where there's a whole system behind it. Like some of them use chance scales, where if you have a 60% chance of hitting, you roll 100 sided die (or some way of achieving the same results, a d10 * 10 works also), and then if it's lower than the difficulty, it's a success. otherwise, it's a failure. You can also add in criticals.
|
|
|
Post by Time of Death on Mar 26, 2004 20:43:02 GMT -5
Hmm. Thanks. I suppose I'm just going to have defence work against both opponent's strength and opponent's accuracy. So basicly my defence would include block. Thanks for the tips on random.
I just need an equasion to decide the maximum damage based on strength and defence. The aim will come later (though I don't know jack about codes for doing things randomly right now). It's going to be like when you gain a level you gain probably 5 stat points, and the levels will probably be like in most RPGs, up to around 100, though I'm not planning to put a limit on the player's level.
Thanks, Time of Death
|
|
|
Post by victor on Apr 8, 2004 8:18:39 GMT -5
|
|