Need help with new property

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.

Moderator: Nizari

Post Reply
Devangell
Posts: 23
Joined: Thu Jul 30, 2020 10:06 am

Need help with new property

Post by Devangell » Sat Sep 05, 2020 10:27 am

Hello

So I made this new property 'extra-phys' to add extra % dmg to physical skills. Yet I can't seem to find the right value I need to use and in which column in skills.txt to make this work. Does this need extra code editing or something? Unlike extra-fire, for example, which adds % fire dmg to any skill that has EType-column set to fire.

Anyone who can help?

Grtz

User avatar
Lurix
Dark Alliance Beta Test
Champion of the Light
Posts: 493
Joined: Tue Aug 31, 2010 9:30 am
Location: Birmingham, UK
Bulgaria

Re: Need help with new property

Post by Lurix » Sat Sep 05, 2020 11:25 am

You should look at how EDmgSymPerCalc column works in Skills.txt, as an Example Fire Arrow receives the following bonus "(skill('Exploding Arrow'.blvl)) * par8", you need to tweak that to suit your needs so it has to be something like (stat('YourStatName'.accr))*20 ....

Post Reply

Return to “General Mod Making”