ID:169884
 
Now in every decent RPG and Game there has to be a formula for the experience, the damage delt, and whatnot. I would like to know these formulas so please stop by and give them to me ehe. I need them.
Every game uses different formulas, try and create a unique one!
In response to Hell Ramen
Roflmao, yea. I've actually tried. Do you have one o.O?
DragonMasterGod wrote:
Now in every decent RPG and Game there has to be a formula for the experience, the damage delt, and whatnot.

I disagree. The truth value of your statement depends on what sort of game it is.

I would like to know these formulas so please stop by and give them to me ehe. I need them.

You need to make these formulae up by yourself, or at least tell us more about what you want want so that we can help you. Not every game uses the same one.

In other words, what you're doing is equivalent to asking for TheCode.
In response to DragonMasterGod
DragonMasterGod wrote:
Roflmao, yea. I've actually tried. Do you have one o.O?

Well, here's a simple one:
mob
var
defense
strength
mob/verb/attack(mob/m in oview(src,1))
if(!m) return
world<<strength-(m.defense+m.strength)/6


Prolly not the best, but it works. :p
In response to Hell Ramen
attack() should be defined like so, Hell:

mob/verb/attack(mob/m as mob in oview(src,1))


While the "mob/m" tells the compiler to think of m as a mob, the "as mob" guarantees that m will truly be a mob.
In response to Wizkidd0123
Wizkidd0123 wrote:
While the "mob/m" tells the compiler to think of m as a mob, the "as mob" guarantees that m will truly be a mob.

Whoops, I usually never use verbs like that, so I tend to forget. Thanks, Wiz.
In response to Hell Ramen
heres a simpler one if im right
mob
verb
Attack()
src << "Im sorry please hit attack again your attack missed"

Now compile that and keep hitting attack untill our forumla makes your attack hit ;-P
try this for login
mob
proc
Pass()
var/pass1 = input("Please type in a password","Pass")
var/pass2 - input("Please type again to confirm")
src << "Im sorry your passwords do not match please try again"
src.Pass()
mob
Login()
src.Pass()

Compile and run that. Then, when you get out of the login screen, ill give ya a formula.
In response to Hell Ramen
Lol mine is a bit more complex.
In response to Hell Ramen
I apologize for asking for "The code" as said before.