Originally Posted by JamieBear
|
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.