Help - Search - Members - Calendar
Full Version: Battle Algorithm Question
RPG RPG Revolution Forums > Game Engines > RPG Maker 2000 / 2003
Dyrian
According to the RM2k3 help file, this is the damage algorithm of skills:

Damage = Base Damage + (Attack power of A / 20 * Attack influence of skill) + (Defense of B / 40 * Intelligence Influence of skill)

According to this, the attacker's intelligence isn't factored into a skill at all. However, the higher the target's defense, the more damage the target takes if the attack uses intelligence influence. Also, the defender's defense doesn't reduce damage at all, but ends up causing them more damage.

When [Ignore Defense] is checked, the damage algorithm is as below.

(Defense power of B / 40 * Attack influence of skill) + (Intelligence of B / 80 * Intelligence influence of skill)

According to this one, ignoring the opponent's defense actually ignores the attacker's stats altogether and just causes damage based on the defender's Def and Int, both causing more damage as the defender's stats are higher.

I have tested this in test battle using the same enemy and comparing stats I predicted that if these algorithms were correct (at least the first, I haven't tested one that ignores defense) the attack would deal 20 damage. Against the weakest enemy in my game, the hero dealt 20 damage at level 1, and at level 40 dealt about 35 damage.

Does anyone know why the algorithms are set up this way? I want spells that use intelligence offensively so that characters with low attack values can deal more damage with their spells, even though they deal less damage with their normal attacks. How do I go about correcting this problem?
Omega Coriel
I cannot say i have the same problem
it all depends on how much you want the INT to influence it but basicly Spells i make
my chars deal about 200 damage at first but at level 50 can deal about 2000 with it.
I assume they do not want all spells to be super powerful but maybe its something ur not factoring in to this.
Dyrian
Well, in the Conditions setup, you can have conditions that disable using skills with an attack or int influence above a set number, which makes it sound like int is used offensively, but the algorithm doesn't support this, unless it's a typo in the algorithm, but if so, then I should have done more than just double damage to the same enemy with the same spell when I was 39 levels higher.
thepurplearchmage
I think to acomplish what you wish for, you're gonna have to creat yourself a CBS. The formulas would have to be done with variables though. But that's what makes your CBS more interesting and innovational.
kayden997
This topic was from 2009.
I don't think it's wise to necropost

Closed
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.