Hello!I hawe a non-typical problem.
Pleas,get me a Battle Algoritm in Smaug...
It is wanted for installation of value of MOB's me.
E.g.:
A=Z+S+K10
B=Z+S+K10
If A>B
B[HP]-(A[S+Z]-B[A+Z]
A-Player 1
B-Player 2
Z-Skill
S-Power
K10- Drawn by lot number 1-10
A-Armor
Help me:-)
If you're looking to change the way damage is done, you'll have to do that in the code, and not areas.
You has not apprehended I Zeno.
I am that not want to change algorithm battle only inform.
It is wanted me because I is wanted to orientate in combat values of MOB's-When I will know algorithm of battle for I simple this installation of value of MOB's be.
Now I fail to establish optimal values of cakes simply
:-)
You're right, I don't understand.
Could you be more clear?
It is difficult to tell, but I think he is asking what is the battle algorithm, so he can design his mobs accordingly.
If you're trying to work on how damageis done, look in fight.c. That handles 99% of the fight system (I think the rest is in magic.c and skills.c for spells and skills respectivly). As for designing mobs, your best bet would be to get a few people (or your own, take your pick), and test them out. I used to play one mud where they would spawn a new mob in the middle of a town where people hung out and everyone just took a whack at him, to see if it would die or not, and tweak it accordingly, or trans people into the room it is in and let them fight it. You can read through code, sit there and do the math on damage, health, programs, ect., but in the end you still have variable H - the human factor, so best bet would be to play around with making them (if you're making low level areas, might try keeping the hp to something similar to the player hp of the same class, and try to avoid using big programs. Try to mimic the players themselves, but without massive programs to make them play themselves as if they were actual players, if you understand what I'm talking about)