Aller au contenu

Photo

Character calculator project


  • Veuillez vous connecter pour répondre
4 réponses à ce sujet

#1
nrage

nrage
  • Members
  • 6 messages
Hey all,

I'm a computer programmer and I like min/max a fair bit when I play Dragon Age.  So, what I was thinking of doing was trying to write a small application to allow me to experiment with character attributes and talents, and have it calculate things like min/max damage, critical damage, etc.  Further from that I could even include builds for companions and then include calculations of how likely status effects like stagger are to occur, and how that affects potential damage output from the hawke build etc.. but that's long range, I want to get the basics working first.

One of the reasons I wanted to do this is that I've just started a new game with a 2H warrior using the 1.03 patch and many of the existing build guides may no longer be optimal.  The other reason is that I like the challenge of writing software, it's as much fun for me as actually playing the game :P

So, what I was hoping to get from you all is information.  Either formulas/facts/figures you know or even better would be how I can obtain the data I need direct from my dragon age installation files.  This will mean my application will continue to work with future patches and updates.

#2
mr_afk

mr_afk
  • Members
  • 1 605 messages
ummm I can explain the process of calculating I use?

While it is possible to use dps for calculating the basic attack damage (by calculating the base attack-speed for each class) it doesn't really take into account critical chance/damage.

By using approximate damage dealt in 100 hits you can take these into account:
dmgin100hits=(base damage)*(100-crit chance)+(actual critical damage)*(critical chance)

base damage=(base attribute-10)/2 +weapon base damage
crit chance=dexterity-10 +abilities/item properties
crit damage(%)=50+(cunning-10) +abilities/item properties
actual critical damage=(base damage)*(100+critical damage(%))%

In practice, all you need to min-max is this in100hits data, however if you are writing a fancy program perhaps you should convert this into a more user friendly/understandable form.

average damage=in100hits/100
real dps=average damage*speed multiplier (have yet to check what this is)


Overall, this links together the three damage dealing attributes- the base attribute, cunning, and dex. However, it doesn't really cover the case for berserker and for abilities.

I'm not too sure how berserker works now; Does the stamina remaining still effect damage or is it solely based on total stamina?

If you're on computer I think you can pull out data (IN1 does something like that), but otherwise you just have to rely on testing and developer explanations.

Anyway, here's the make-shift calculator I made back in the day on excel:
There's a lot of room for improvement (and my formulas are very messy) but hopefully it provides some useful ideas for your program: http://www.mediafire...la331lshhvhxjjw

Good luck! :)

#3
nrage

nrage
  • Members
  • 6 messages
Thanks! That's exactly the sort of thing I'm after. The 100 hits idea is a good way of handling normal/critical damage and I can factor in various abilities, situations and rank of enemies to show how damage changes .. maybe even draw graphs etc to model damage output over time for things like berserk.

I am also going to need base attributes for hawke (warrior/rogue) and each companion, that's the sort of raw data I am hoping to draw straight from the DA2 files. So, hopefully IN1 can explain how to pull that data out. You've given me a great place for to start, thanks!

#4
mr_afk

mr_afk
  • Members
  • 1 605 messages
Glad it helped.

You can find most of the base attributes here:
Mage
Rogue
Warrior

I'm not so sure about the companions. It might be the same between classes but I can't remember. I'll check next time. :)

#5
nrage

nrage
  • Members
  • 6 messages
Bump.. IN1 if you're out there can you fill me in?