Damage calculation

EQ2Emulator Development forum.

Moderator: Team Members

Post Reply
chrrox
Content Designer
Posts: 177
Joined: Wed Oct 17, 2007 8:12 pm

Damage calculation

Post by chrrox » Sat Apr 26, 2008 12:32 pm

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 :)

LethalEncounter
Team: Zombie
Posts: 2717
Joined: Wed Jul 25, 2007 10:10 pm

Post by LethalEncounter » Sat Apr 26, 2008 1:28 pm

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

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests