DarkstarProject / darkstar

DEPRECATED - FFXI Server Emulator - See Project Topaz
https://github.com/project-topaz/topaz
GNU General Public License v3.0
455 stars 549 forks source link

SCRIPTS/LUA: Pet damage calculations scaling incorrectly. #1831

Open Kthulupwns opened 9 years ago

Kthulupwns commented 9 years ago

The issue specifically impacts pet damage on higher vit/defense mobs. For example I can use predators claw on a VT+mob in sea for 1300 (which is low for 75 cap) and then go and do predator claws to tiamat for less then 300, when predator claws could do 1800-2400 to tiamat on retail 75 cap. The problem seems to be the way that fStr Calculates against mVit/def. As far as correcting the formula i'd be open to any and all input since i don't know how to write that code

Turttle commented 9 years ago

https://github.com/DarkstarProject/darkstar/blob/master/scripts/globals/weaponskills.lua#L52

--get fstr local fstr = fSTR(attacker:getStat(MOD_STR),target:getStat(MOD_VIT),attacker:getWeaponDmgRank());