Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
May your rolls be merry + bright! 🎄
Create a free account

trying to put a wild magic spell into macro

1447992900

Edited 1448077480
this spell is one i made i would like to make it into a macro for faster casting but unsure how to do it? if someone could show me how i would very much appreciate it very much. Wild Bolt (1 st )Range: 40yds +10yd/lvl Components: V,S Duration: Instantaneous Casting Time: 3 Area of Effect: special Saving Throw: 1/2 This unpredictable spell is often a favorite of wild mages. When cast it creates a bolt of sparking, whizzing, multicolored energy that streaks forth from the caster’s hand striking a random foe within the spell‘s range. The target is determined by counting the number of enemies within range, assigning each of them a numerical value and rolling an appropriate die to determine the outcome. For example, Drak the 4 th level wild mage comes across a group of 7 orcs. He would then roll an eight sided die to determine the target. The spell’s damage is also randomized based on level. At first level this spell inflicts either 1d2 or 1d4 points of damage. At second level the range increases to 1d2 - 1d6, at third level the possibility of 1d8 is added, at 4 th level the max is 1d10, 1d12 at 5 th level, 1d20 at 6 th , 1d30 at 7 th , to a maximum of 1d100 at 8 th level. Continuing our example from above, Drak (at 4 th level) would roll a 1d5 to determine what die to roll to determine damage (1=1d2, 2=1d4, 3=1d6, 4=1d8, 5=1d10). The appropriate damage die is then rolled do determine actual damage. 1 st – 1d2, 1d4 2 nd – 1d2, 1d4, 1d6 - 3 rd – 1d2, 1d4, 1d6, 1d8 - 4 th – 1d2, 1d4, 1d6, 1d8, 1d10 - 5 th – 1d2, 1d4, 1d6, 1d8, 1d10, 1d12 * 6 th – 1d2, 1d4, 1d6, 1d8, 1d10, 1d12, 1d20 - 7 th – 1d2, 1d4, 1d6, 1d8, 1d10, 1d12, 1d20, 1d30 - 8 th – 1d2, 1d4, 1d6, 1d8, 1d10, 1d12, 1d20, 1d30, 1d100   this is so you can see what it does
1447995149

Edited 1447995670
As someone unfamiliar with your system (and wild mages in general), I have three questions for you: 1. I see an asterisk next to "6th" instead of a dash (i.e. * 6 th vs. - 5 th ); is there possibly a footnote that corresponds to that asterisk which was not included in your original post? If so, could you please post it? 2. Which die is used to determine the damage of the spell at each level? If I were to guess, I would say 1d2, 1d4, 1d4, 1d6, 1d6, 1d8, 1d8, 1d10 respectively for levels 1 through 8. If this is incorrect, could you please correct it? 3. In the example given, it appears that Drak does not possess the ability to use the largest damage die with his spell. If 4th level wild mages normally have the ability to inflict maximum damage with their spell (perhaps by rolling 1d6 instead of 1d4), what's differing in Drak's case to prevent him from doing so? If nothing is apparently differing, and the largest damage die is (either occasionally or always) not chosen by a die roll, when and how does the largest damage die at any given level come into play or get used?
1448072675

Edited 1448072710
1 the asterik is my characters current level  2 the way wild magic works is you roll on a surge table to see if you surge so you could have your spell go off normally but increase in level, stay the same level or decrease in level or a completely random effect would happen if you surge 3 using the example if drak was 5th level he needs to roll a 1d6 to determine what damage die he needs to roll so if he rolled a 3 he would roll 1d6 for damage or if he rolled a 6 he would roll 1d12
matt f. said: 1 the asterik is my characters current level Okay. matt f. said: 2 the way wild magic works is you roll on a surge table to see if you surge so you could have your spell go off normally but increase in level, stay the same level or decrease in level or a completely random effect would happen if you surge Could you post the rules governing the surge table in addition to the table itself? matt f. said: 3 using the example if drak was 5th level he needs to roll a 1d6 to determine what damage die he needs to roll so if he rolled a 3 he would roll 1d6 for damage or if he rolled a 6 he would roll 1d12 Why does Drak roll 1d4 instead of 1d6 to determine the damage dice at his current level (4)? - 4 th – 1d2, 1d4, 1d6, 1d8, 1d10 Can Drak ever roll a 1d10 for damage? If he can, how?
can we talk on skype? if so how can i find you?
matt f. said: can we talk on skype? if so how can i find you? PM sent.
i fixed a misprint in original post
1448092826

Edited 1450356214
[[ d[[{ [Function A:] 2 * d[[ceil({@{casterlevel}, 5}kl1/.99)]]cs>1cf>1, [Function B:] 10 * {floor(floor(floor(floor(ceil((d[[ceil({@{casterlevel}, 8}kl1/.99)]]cs>1cf>1 - 6)*1.5)/.76)/.76)/.76)/.9),0d0}k1 }k1]] ]] This damage roll macro has two main components; function A and function B. Function A maps a number rolled (from 1d2 to 1d6 for caster levels 1 to 5, respectively) as follows: 1 → 2 2 → 4 3 → 6 4 → 8 5 → 10 6 → 12 Function B maps a number rolled (from 1d7 to 1d9 for caster levels 6 to 8, respectively) as follows: [1, 6] → 0 7 → 20 8 → 30 9 → 100 The macro takes the larger of the two values output between functions A and B as the size of the damage die used, and rolls it.