Hello all!
I'm definitely stuck trying to find an equation for this. I've got some college under my belt but haven't had algebra in 7 years! Here we go:
I'm trying to create an equation to use to explain the functionality of a spell I'm creating for a homebrew campaign. This spell allows to control ammunition fired from a weapon and change it's path of travel, hitting as many enemies as desired, much like the blue "iron mohawk" guy from Avengers with his whistling arrow. There are 3 ammo types required to build in order to activate certain variables.
The logistics of the spell go like this. Mithril tipped ammunition allow a 2d10 roll (for you non D&D fellas out there, that's two 10 sided dice) added damage to targets. For each target hit after the initial it loses 5 damage until it reaches 0, then it dissolves. With this, I feel like I needed to start at something like f(x)=(2d10)-5y, where y=target. (starting at 0 being initial, then 1, then 2.) I feel like this is close, but I tried and wasn't that confident.
Let's assume based on the above that we roll two 10's, so our value is 20. So now our function is f(x)=20. What I want to do is create a mathematic equation to explain that for each target after the initial target, the value loses 5. I can explain in words that if f(x) is > or equal to 0, bullet dissolves.
Hope someone can help out with my rusty brain trying to calculate some algebra! Thanks in advanced!
I'm definitely stuck trying to find an equation for this. I've got some college under my belt but haven't had algebra in 7 years! Here we go:
I'm trying to create an equation to use to explain the functionality of a spell I'm creating for a homebrew campaign. This spell allows to control ammunition fired from a weapon and change it's path of travel, hitting as many enemies as desired, much like the blue "iron mohawk" guy from Avengers with his whistling arrow. There are 3 ammo types required to build in order to activate certain variables.
The logistics of the spell go like this. Mithril tipped ammunition allow a 2d10 roll (for you non D&D fellas out there, that's two 10 sided dice) added damage to targets. For each target hit after the initial it loses 5 damage until it reaches 0, then it dissolves. With this, I feel like I needed to start at something like f(x)=(2d10)-5y, where y=target. (starting at 0 being initial, then 1, then 2.) I feel like this is close, but I tried and wasn't that confident.
Let's assume based on the above that we roll two 10's, so our value is 20. So now our function is f(x)=20. What I want to do is create a mathematic equation to explain that for each target after the initial target, the value loses 5. I can explain in words that if f(x) is > or equal to 0, bullet dissolves.
Hope someone can help out with my rusty brain trying to calculate some algebra! Thanks in advanced!