Page 1 of 1

Damage calculation

Posted: Sat Apr 26, 2008 12:32 pm
by chrrox
LE how is damage calculation carried out currently?
If I have a character with 100 strength and a character with 0 strength at level 1 does it effect how much damage they do at all?
the reason I ask is if i have spells do damage lets say
10 - 20 would a character with the right stats hit higher more often or is it completely random? If it is random I can implement some things into the lua scripts to take str , int , anything else into consideration.
so if its handled on the world side that is great but if not can you create a get attributes command for geting a targets stats?
oh one last question the reload spells command doese not seem to reset the lua engine is that possible to make a command for that because if I call a nill value I have to restart the emulator its not to big a deal but time saving is a good thing :)

Posted: Sat Apr 26, 2008 1:28 pm
by LethalEncounter
Damage for melee combat takes str into consideration when determining damage, but spell damage does not.
Sure, I'll create the attribute functions for you.
I'll look into resetting the LUA system if it gets hosed from a bad script. I'm sure it will happen more often as we get more scripts completed. :P