Fiesta Fan Forums

Fiesta Fan Forums (http://www.fiestafan.com/forums/index.php)
-   Questions and Inquiries (http://www.fiestafan.com/forums/forumdisplay.php?f=7)
-   -   Damage/Defense question (http://www.fiestafan.com/forums/showthread.php?t=14495)

JamieBear 10-28-2008 01:34 PM

Damage/Defense question
 
Between your damage and your opponents defense, how does the game determine how much damage you actually do to them?
Same with aim and evasion.
Anyone know what i'm talking about?

Vasu 10-28-2008 02:21 PM

I know what you're talking about, but I haven't a clue about the answer o.o

Technically, I think Slimes have a defence of 1, but you do a lot more damage then what is shown in your Character Stats window. So do they have a negative defence? I've had the same question as you for a while, and I've been trying to find out, but I haven't made much progress.

Andromeda 10-28-2008 02:51 PM

It would take alot of testing to find the damage/defense ratio even then it isn't exact since you do varying damage to an enemy every time you hit it so getting an exact answer is impossible.

Waff 10-28-2008 03:00 PM

I think there is something to do with level too , the wider the gap the more damage you do..

Vasu 10-28-2008 03:23 PM

I've tested in PvP, but the damage is nowhere near the damage shown in the char window- DEF

For example, if my char dmg is shown as 700~800, and my opponent's def is 300, I still don't do 400-500 damage. (We tried without greens, and I don't have added STR, and she didn't have added END in free stats, so we needn't factor that in.)

Dynamics 10-28-2008 07:14 PM

damage = (weapon damage/5 + enhanced damage/6 + base strength/6 + .9 true (free stat) strength) x (player level-enemy level) - .9 (true (free stat defence) + armor defence/10 + base defence/3)

Needs refining, but that's what I've established. Works for EvP as far as I'm concerned and only for enemies lower than you.


/joke

JamieBear 10-28-2008 10:26 PM

Quote:

Originally Posted by Dynamics (Post 248015)
damage = (weapon damage/5 + enhanced damage/6 + base strength/6 + .9 true (free stat) strength) x (player level-enemy level) - .9 (true (free stat defence) + armor defence/10 + base defence/3)

Needs refining, but that's what I've established. Works for EvP as far as I'm concerned and only for enemies lower than you.


/joke

Haha, My jaw dropped before i read the joke part.

I guess we'd have to ask the programmers =\

MrBohn 10-29-2008 08:58 PM

Quote:

Originally Posted by JamieBear (Post 248026)
Haha, My jaw dropped before i read the joke part.

I guess we'd have to ask the programmers =

Well, I am new to the game but being a computer programmer I would have to say that I understand it as this. Damage is the base damage you could do, without taking into account their evasion, defense, and other factors. So even though you have 700-800 damage and they have 300 def there are other factors like evasion acting for them that lowers the damage. Also the code for damage probably includes a random number generator between 700 and 800 assigning the value to the variable damage. Then the hp of the mob is taken down incrementally and is resaved as a lower count variable.

It would look something like this:

def damage(base damage - evasion%(etc))

def defense(base def + any defensive add-ons)

If damage > defense Then
damage - defense = New Hit Point Value
else
New Hit Point Value = Old Hit Point Value
End If

Ofcourse this is horrible programming on my part I just don't have the time to write what the actual program would look like and I used Visual Basic Syntax to write it. LOL.

Vasu 10-30-2008 03:00 PM

Well, evasion either helps you miss the blow or hit. It doesn't lower the damage. Also you haven't factored in the damage bonus from adding free stat STR and free stat END. Your programming might be sound (I wouldn't have any idea, LOL), but it's missing a few crucial things that have to be factored in.


All times are GMT. The time now is 07:53 PM.

Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.