Damage formula problem

Evil_Nazgul0616

Veteran
Veteran
Joined
Aug 29, 2013
Messages
79
Reaction score
0
First Language
English
Primarily Uses
I have a weapon that uses a different skill than the normal attack to do damage. The behavior of this weapon is that it does one point of damage for every hit that isn't a critical hit, but when it does crit it deals ludicrous damage. I don't want to have the damage output be too high, however, because that would quickly push the weapon into game-breaker territory by one-hitting bosses on the first turn. I would like the damage output to therefore be 2500 damage. However, despite my damage formula telling the weapon to deal 2500 damage on crits, it does 7500 damage instead. Why is this happening?

Here's my damage formula if it helps:

Code:
if b.result.critical; 2500; else; 1; end;
 
Last edited by a moderator:

Lowell

The Walking Atelier
Veteran
Joined
Apr 21, 2012
Messages
292
Reaction score
69
First Language
English
Primarily Uses
If I recall correctly Critical Hits deal 3x the damage of the skills formula.

Just lower the damage to 833 or so and it should fix the issue.

Alternatively you can edit line 384 in Game_Battler to change the damage multiplier.
 
Last edited by a moderator:

TheoAllen

Self-proclaimed jack of all trades
Veteran
Joined
Mar 16, 2012
Messages
5,592
Reaction score
6,522
First Language
Indonesian
Primarily Uses
RMVXA
Just a silly fix

Code:
if b.result.critical; 2500/3; else; 1; end;
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c
So I was playing with filters and this looked interesting...

Versus the normal look...

Kind of gives a very different feel. :LZSexcite:
To whom ever person or persons who re-did the DS/DS+ asset packs for MV (as in, they are all 48x48, and not just x2 the pixel scale) .... THANK-YOU!!!!!!!!! XwwwwX

Forum statistics

Threads
105,849
Messages
1,016,977
Members
137,563
Latest member
cexojow
Top