amtp / digimonproject

Automatically exported from code.google.com/p/digimonproject
0 stars 0 forks source link

Mohsin's awesome battle system Part 1 #38

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The goal with this ticket is to have basic battling in including all stats and 
2  projectile Techniques. 

Before working on anything check out Mohsin's Post 
http://projectneo.pbworks.com/w/page/50252831/Techniques%20(or)%20Techniques

So the first stage should have you start coding with Hp and Mp as well as
2 Techniques and the stats that apply. The Hp and Mp Will be constants While 
every other stat
is a variable. The 2 Techniques will be exactly the same except the color
is different and the Techniques stats are different. Technique stats are as 
follows: 
                                        Power
                                        Mp
                                        Speed
Power is how much damage the technique does per attack. 
Mp is  how much the mp is taken.
Speed how it takes for the attack to come out

For the most part attack power and mp are what will be used in the formulas.

Example- 
http://projectneo.pbworks.com/w/page/50252831/Techniques%20(or)%20Attacks

So For the sake of the begining lets include the variables

ATK is the Offense stat of the attacking Digimon.
DEF is the Defense stat of the defending/target Digimon.
TP refers to the technique/attack base power.
R is a random value between 0.75-1.25.

Once this is set up  time to   do a  test with 2 characters of the same stats 

2000 hp
1200 mp 
200 off
200 def

Measure the time of the battle
Repeat this process 3 times

Then lower one characters states by 1/2
Repeat the process again

Double the other players stats
Repeat  Process

Tweak the formula until There is a consistancy in battles and the battles do 
not run on or end too shortly.

In the next part I will be adding more formulas

*NOTE HELP KEEP TRACK OF HOW MANY TIMES A STAT IS USED WE DON'T WANT ATTACK 
BEING USED IN 50 FORMULAS WHILE BRAINS IS USED IN ONE.WE WANT BALANCE.

Original issue reported on code.google.com by Todaysa...@gmail.com on 28 Jul 2012 at 8:11