RobboNJ69
May 20th, 2016, 21:23
Hello,
I'm looking to have a couple minor changes made to a custom ruleset.
Simply: instead of a spell cast DC being based on (10 + mods), I want the DC to be based on a D20 spell 'attack' roll plus the mods.
As found here: Campaign/Template_Spell.xml Line 155
<script>
function onSourceUpdate()
setValue(10 + calculateSources());
end
</script>
I tried changing to this: (math.random(20) + calculateSources());
which worked but with two problems:
(1) You don't see the actual die roll like you do on a weapon attack and (2) it only refreshes the random number when you make a change to the modifier.
So when you click on the 'Cast' button for a spell, a D20 should roll in the roller (like an attack) and then the target should be prompted to save (as it does already) against DC= DieRoll + Mods.
Please let me know the cost to do this. I'm not looking to lowball, but this is for personal use, so I'm also not looking to dump a lot into it.
Thanks!
By the way - The Rule set is 99% based on 3.5E with a couple new Stats added - this does not affect the change I'm looking for.
I'm looking to have a couple minor changes made to a custom ruleset.
Simply: instead of a spell cast DC being based on (10 + mods), I want the DC to be based on a D20 spell 'attack' roll plus the mods.
As found here: Campaign/Template_Spell.xml Line 155
<script>
function onSourceUpdate()
setValue(10 + calculateSources());
end
</script>
I tried changing to this: (math.random(20) + calculateSources());
which worked but with two problems:
(1) You don't see the actual die roll like you do on a weapon attack and (2) it only refreshes the random number when you make a change to the modifier.
So when you click on the 'Cast' button for a spell, a D20 should roll in the roller (like an attack) and then the target should be prompted to save (as it does already) against DC= DieRoll + Mods.
Please let me know the cost to do this. I'm not looking to lowball, but this is for personal use, so I'm also not looking to dump a lot into it.
Thanks!
By the way - The Rule set is 99% based on 3.5E with a couple new Stats added - this does not affect the change I'm looking for.