# Doing damage

Status
Not open for further replies.

#### Solaire

##### grossly incandescent
So I just took a year long break from VX and decided to come back with VX ace

I just finished converting all of the maps from my old project but then I got to the database.

The database has changed quite a bit

Anyways...My main problem is now no damage is done in battles. I'm not sure what's causing this but I did some googling and found that most people delete the attack skill, mine is still there.

and still the actors can't deal damage neither can the enemies.

#### The JJ

##### Black
Just remove the 1 + from the formulae to make it

Code:
a.atk * 4 - b.def * 2
Should solve the problem

Last edited by a moderator:

#### Tsukihime

##### Veteran
Just remove the 1 + from the formulae to make it

Code:
a.atk * 4 - b.def * 2
Should solve the problem
Can you explain why it would solve the problem so OP would understand how the formula works for the future?

Last edited by a moderator:

#### The JJ

##### Black
Can you explain why it would solve the problem so OP would understand how the formula works for the future?
Oh right, sorry . Basically the 1 represents the base value. Basically how much damage you want your skill to cause. In this case you put 1 which means that the skill 'Attack' will only cause 0-1 damage. I think what I'm saying is right, correct me if I'm wrong

#### Solaire

##### grossly incandescent
Alright well I'm not sure if they're doing damage now because everyone is missing. So i've got more things to work out.

also I added the plus one because in VX im pretty sure you needed at least 1 base damage to do any damage, or i'm mistaken it has been a year

EDIT: Alright found both the problems. Actors now cause damage and I didn't have a default hit-rate for any classes or enemies. TOO MANY OPTIONS

Last edited by a moderator:

#### Tsukihime

##### Veteran
Oh right, sorry . Basically the 1 represents the base value. Basically how much damage you want your skill to cause. In this case you put 1 which means that the skill 'Attack' will only cause 0-1 damage. I think what I'm saying is right, correct me if I'm wrong
No, ace damage formulas do not use the kind of system where you have (base) + (variation) like 2d4 kind of thing.

It is a straight formula that is evaluated.

The following formulas are all equal by commutativity (A + B = B + A)

Code:
2 + a.atk*4 - b.def*2
2 + a.atk*4 + 2 - b.def*2
a.atk*4 - b.def*2 + 2
-b.def*2 + a.atk*4  + 2

Last edited by a moderator:

#### Celianna

##### Tileset artist
Since this is solved ... no need for extra discussion.

Status
Not open for further replies.

### Latest Profile Posts

Started playing Danganronpa 3 in French - Eyes started bleeding in less than 5 minutes - Installed English text instead.
Why, translator, whyyyy???
-_- Now we have punishments for skipping meals, specially breakfast. At least let me sleep on Fridays -_-
colorize an old sketch
Welp... with numerous plugins and a bit of Javascript help, I've simulated an AP system in battle. Proud of myself honestly.
Why most of games like to give a horrible control to an aircraft vehicle? can I get a simplified control that does not require me to roll first just to change my direction?