Custom Damage formula without use of stats.

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?)
If you want it to be based on the weapon... just use the parameters. The stats atk, def, mat and mdf do absolutely nothing other than be used on damage formulas.


So why complicate this? Just use add a parameter on the weapon and use this on the formula.
So, if your hero is unarmed, he has an Atk stat of 1, regardless of level.


If you wanna your Rock to cause 2 pts of damage and your Long Sword to cause 10 pts of damage, make your Rock be a +1 Atk weapon and your Long Sword to be a +9 Atk.


Then on the damage formula you use simply a.atk and your are done.
You can use numbers in damage formula. 


just set the rocks damage to 2 and turn that variance of 20 thing to 0. 
Thanks guys, I figured out that I forgot to adjust the attack skill, was working with just the stats and weapon lol.


Now the next step for what I want is to call the damage formula outside of battle with an event. I realize I can simply deal damage with an event, but what I am looking for is to have the damage based on the weapon, like above, but not have to make a zillion conditional branches based on what weapon the player may be using. I have messed around a bit, but cannot seem to figure it out.


Thanks again for the answers above.
I've decided to go another route, until I learn more about Ruby. I suppose this can be closed.

Original thread: https://forums.rpgmakerweb.com/threads/custom-damage-formula-without-use-of-stats.58921/