Summon damage = 1/3 weapon damage

Post here about all aspects of D2 mod making whether it's information, problems or whatever. Please specify whether your post is relating to Classic D2 or the Expansion.

Moderators: GuyAskingQuestion, Doombreed-x, Nefarius, talonrage

Post Reply
hulkchat
Posts: 6
Joined: Sat May 26, 2018 1:25 pm

Summon damage = 1/3 weapon damage

Post by hulkchat » Sat May 26, 2018 1:52 pm

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.

User avatar
Ogodei
Hosted Forum Moderator
Champion of the Light
Posts: 385
Joined: Thu Mar 10, 2016 8:31 am
Italy

Hand-picked

Re: Summon damage = 1/3 weapon damage

Post by Ogodei » 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.

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.

hulkchat
Posts: 6
Joined: Sat May 26, 2018 1:25 pm

Re: Summon damage = 1/3 weapon damage

Post by hulkchat » Sat May 26, 2018 3:50 pm

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
  
  


Post Reply

Return to “General Mod Making”