Page 1 of 1

Summon damage = 1/3 weapon damage

Posted: Sat May 26, 2018 1:52 pm
by hulkchat
Hello!
Is it possible to make so that the summons deal% of the player's damage?

I use skills.txt, and did SrcDam=128 - no effect

Other magic work with this modifier well - damage is added

I want to make all the skills tied to the damage like a Diablo 3

Pls help, tnx.

Re: Summon damage = 1/3 weapon damage

Posted: Sat May 26, 2018 3:09 pm
by Ogodei
You can try using two AuraStats or PassiveStats for that, with mindamage and maxdamage taken from the player.

Code: Select all


AuraState: a dummy state with no overlay taken from States.txt (you'd best create a custom new one)
AuraStat1: mindamage
AuraStatCalc1: your calc (in my case, (stat('mindamage'.accr)) )
AuraStat2: maxdamage
AuraStatCalc2: your calc (in my case, (stat('maxdamage'.accr)) )

Be warned, however, that even if you manage to achieve this, your minions will retain the stats you had when you summoned them.

Re: Summon damage = 1/3 weapon damage

Posted: Sat May 26, 2018 3:50 pm
by hulkchat
Ogodei wrote:
Sat May 26, 2018 3:09 pm
You can try using two AuraStats or PassiveStats for that, with mindamage and maxdamage taken from the player.
Excellent! Many thanks - everything works!

This formula for percentage calculation?
Will my formula work to increase by 5% for the skill level?

Code: Select all

  
  stat('maxdamage'.accr)/2 + lvl/20
  
  

Re: Summon damage = 1/3 weapon damage

Posted: Sat May 26, 2018 3:59 pm
by Ogodei
it should,

if you aren't sure about your formula, though, you might consider taking a look at the formulae guide (by Xeno and Kingpin) :)

Re: Summon damage = 1/3 weapon damage

Posted: Mon Apr 22, 2019 6:26 am
by sirbinh88
I tried but it didnt work.
What is ‘mindamage’ and ‘maxdamage’?
I know they are from itemstatcost but are they final character’s damage output?

Re: Summon damage = 1/3 weapon damage

Posted: Mon Apr 22, 2019 11:29 am
by sirbinh88
Finally figured it out. It’s only ‘dmg-norm’ value taken from weapons.txt and any +dmg-norm properties.
If you want all dmg type, just add more other types min-max stats.