Various calculations (ws, hps, parry...)

Discussions on various DOL development features

Moderator: Support Team

Various calculations (ws, hps, parry...)

Postby Graveen » Sun Apr 10, 2016 8:15 am

Hello guys,

I was just browsing on charplan (http://daoctb.sourceforge.net/) and i would like to focus on the various calculations used.

They seems precise. What do you think about them ?

Cf attached file. This is lua but this is readable easily, example:
Code: Select all
function CalcWeaponspeed() local qui = stats.con.total if qui>250 then qui = 250 end local qui_factor = 1-(qui-50)/500 -- by Solomon (was (qui-!60!) ) local buff_factor = 1-(hast_buff + hast_item + hast_celerity)/100 mf_speed_factor = qui_factor * buff_factor end
Attachments
01system.lua.txt
(18.76 KiB) Downloaded 16 times
Image
* pm me to contribute in Dawn of Light: code, database *
User avatar
Graveen
Project Leader
 
Posts: 12660
Joined: Fri Oct 19, 2007 9:22 pm
Location: France

Re: Various calculations (ws, hps, parry...)

Postby Yay » Sun Apr 10, 2016 11:58 am

Hey Graveen :),

I briefly investigated this (before I got into reading, reading, reading, reading programming basics in my free time ;D).

My findings were, that currently DOL calculation is not correct, but Live is inconsistent or at least it's hard to find a pattern for the borderline cases with (high values of) Qui/Melee%/Haste/Celerity involved (and these are the important ones in RvR).

Another test I did was basic swing speed with 50+ swings. My findings support qui-60 is correct with qui-50 was more than 1 second "too quick" at 60 quickness. It does also make a lot of sense, because 60 is the average basic stat amount (without any stat gains/investments).

I would like to investigate this a bit further and I will help were I can. I stopped investigating it further because my foundation is not good enough to actually fix things, even if I find the pattern. :)

Kind regards,

YaY
User avatar
Yay
Contributor
 
Posts: 174
Joined: Mon May 21, 2012 9:06 pm

Re: Various calculations (ws, hps, parry...)

Postby Velloro » Sun Apr 10, 2016 12:55 pm

The entire melee damage formulations are incorrect. I've done extensive research on this area. Unfortunately, the code I wrote doesn't yet scale perfectlyly for any GameLiving other than GamePlayer. Reconstructing mythic's formulas has proven challenging.
Origins Admin/Developer
User avatar
Velloro
DOL Initiate
 
Posts: 22
Joined: Sun Jul 12, 2015 8:21 pm

Re: Various calculations (ws, hps, parry...)

Postby Graveen » Sun Apr 10, 2016 3:03 pm

I agree. Let's say i tend to see interesting the out of DOL tests, based only on live feedback, a brand new source.
Image
* pm me to contribute in Dawn of Light: code, database *
User avatar
Graveen
Project Leader
 
Posts: 12660
Joined: Fri Oct 19, 2007 9:22 pm
Location: France


Return to “%s” DOL Development Discussion

Who is online

Users browsing this forum: No registered users and 1 guest