Dmg and formula

Weekly updated column for helping skill development. Users can't directly post requests but a PM or mail can be sent to Skill-Clinician.

Moderator: Skill Clinician

theoutlaw
Posts: 21
Joined: Sun Dec 01, 2019 1:53 am
Canada

Dmg and formula

Post by theoutlaw » Thu Dec 19, 2019 3:37 am

Hello ..
For those who are still visiting this forum ..

I was trying to use formulas in in my skill dmg but nothing works ..
Where does formulas goes ? How do they work ?
I tried something simple .. i have a cold bolt. I wanted to add dmg based on mana.
Before the change :
EMin = 2
EMax = 4

After the change :
EMin = 2 + (stat('energy'.accr) * 10 / 100)
EMin = 4 + (stat('energy'.accr) * 10 / 100)

Also tried :
Emin = 2 + 2
Emax = 4 + 4

Nothing works .. any formula gives wrong number ( like 3 760 668 dmg or -7m to 2k ).
I thought simple formulas as 2+2 would work .. but nothing to do ..

Help please.

Thank you !

User avatar
HarvestWombs
Senior Moderator
Arch-Angel
Posts: 1019
Joined: Wed May 25, 2011 11:50 pm
United States of America

Re: Dmg and formula

Post by HarvestWombs » Thu Dec 19, 2019 3:55 am

Those fields are not calc fields, you should be using your formula in EDmgSymPerCalc.
Official Phrozen Keep Discord
Common Modding tools: link
My Resource Packs: link

theoutlaw
Posts: 21
Joined: Sun Dec 01, 2019 1:53 am
Canada

Re: Dmg and formula

Post by theoutlaw » Thu Dec 19, 2019 4:02 am

HarvestWombs wrote:
Thu Dec 19, 2019 3:55 am
Those fields are not calc fields, you should be using your formula in EDmgSymPerCalc.
Right , thank you !
Sometimes guides here are not completely clear.

Return to “Skill Clinic”