So I am attempting to make a custom battle system (Action Based) but I am not using levels or stats at all, aside from what comes with the weapons the player finds/makes. What I am looking for is a simple damage formula that does a set amount of damage when hit based on the weapon. I'd like a few extra options such as criticals and weaknesses to types, but I actually don't want any variation.
Say the player has a sharp rock as a weapon. I want that weapon to always do 2 damage, unless it crits then it does 1.5x damage and if the enemy is weak to sharp rocks it also does 1.5x so basically at most the sharp rock can do 6 damage if it has weakness and you crit. Does that make sense?
If I can simply do this via a call script in events or a common event based on the weapon the player is equipped with, that would work for me too. I am trying to learn ruby while I am making a small game, but damage formulas still confuse me. (I know how to call the weapon ID and such to determine what weapon is equipped already, is it possible to just use that check and have it do some conditional branches to check for weakness and deal damage?)
Say the player has a sharp rock as a weapon. I want that weapon to always do 2 damage, unless it crits then it does 1.5x damage and if the enemy is weak to sharp rocks it also does 1.5x so basically at most the sharp rock can do 6 damage if it has weakness and you crit. Does that make sense?
If I can simply do this via a call script in events or a common event based on the weapon the player is equipped with, that would work for me too. I am trying to learn ruby while I am making a small game, but damage formulas still confuse me. (I know how to call the weapon ID and such to determine what weapon is equipped already, is it possible to just use that check and have it do some conditional branches to check for weakness and deal damage?)