Code: Select all
[h:attack = 1d20+24]
[r,if(attack >= 40),CODE:
{
Rolls a <b><font color="red">[attack-24]</color></b> for a Possible Crit with <b>[1d20+24]</b> to Confirm on First Attack
};
{
Gets <b>[attack]</b> to Hit on First Attack
}]
[h:attack = 1d20+19]
[r,if(attack >= 35),CODE:
{
, Rolls a <b><font color="red">[attack-19]</color></b> for a Possible Crit with <b>[1d20+19]</b> to Confirm on Second Attack
};
{
, Gets <b>[attack]</b> to Hit on Second Attack
}]
[h:attack = 1d20+14]
[r,if(attack >= 30),CODE:
{
, Rolls a <b><font color="red">[attack-14]</color></b> for a Possible Crit with <b>[1d20+14]</b> to Confirm on Third Attack
};
{
, Gets <b>[attack]</b> to Hit on Third Attack
}]
[h:attack = 1d20+24]
[r,if(attack >= 40),CODE:
{
, Rolls a <b><font color="red">[attack-24]</color></b> for a Possible Crit with <b>[1d20+24]</b> to Confirm on Bonus Attack
};
{
, Gets <b>[attack]</b> to Hit on Bonus Attack
}]
[h:attack = 1d20+19]
[r,if(attack >= 35),CODE:
{
, Rolls a <b><font color="red">[attack-19]</color></b> for a Possible Crit with <b>[1d20+19]</b> to Confirm on First Off-Hand Attack
};
{
, Gets <b>[attack]</b> to Hit on First Off-Hand Attack
}]
[h:attack = 1d20+14]
[r,if(attack >= 30),CODE:
{
, Rolls a <b><font color="red">[attack-14]</color></b> for a Possible Crit with <b>[1d20+14]</b> to Confirm on Second Off-Hand Attack
};
{
, Gets <b>[attack]</b> to Hit on Second Off-Hand Attack
}]
[h:attack = 1d20+9]
[r,if(attack >= 25),CODE:
{
, and Rolls a <b><font color="red">[attack-9]</color></b> for a Possible Crit with <b>[1d20+9]</b> to Confirm on Third Off-Hand Attack.
};
{
, and Gets <b>[attack]</b> to Hit on Third Off-Hand Attack.
}]
Always looking to improve so any suggestions are welcome! Thanks in advance!
[EDIT] I thought I maybe should put some insight into the source for numbers, so:
Code: Select all
1d20+X
Code: Select all
if(attack >= Y)
Code: Select all
and Rolls a <b><font color="red">[attack-9]</color></b> for a Possible Crit
The last part just shows the roll if it was not a possible crit.