Jump to content
AelarTassarion

Victor's Hit Formula Plugin Help

Recommended Posts

I was wondering if this plugin would work for my D&D style system of hit accuracy. I want hit rate to be determined by a dice roll (Math.randomInt(19) +1) plus a proficiency bonus ( + ((a.agi - 10) * 0.5) compared to an enemy's defense (b.def). 

 

Does this plugin allow for that kind of formula? Something along the lines of:

if (1 * (Math.randomInt(19) + 1) + Math.floor((a.agi - 10) * 0.5) > b.def attack hits, else attack miss.

 

Also, does this plugin allow me to call custom stats added by other plugins?

 

Edited by AelarTassarion

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×
Top ArrowTop Arrow Highlighted