I am primitive in self macro writing.
Is there a macro someone has written that can display a text indicating a critical a fumble for various games (generic or if specific needed, pathfinder?) I can input threats and ranges etc. Just need help with the marco.
Thanks
Critical Hit macro?
Moderators: dorpond, trevor, Azhrei, giliath, jay, Mr.Ice
- metatheurgist
- Dragon
- Posts: 364
- Joined: Mon Oct 26, 2009 5:51 am
Re: Critical Hit macro?
Have you considered looking at some of the Pathfinder/3.5 frameworks to see what they're doing?
Re: Critical Hit macro?
Ive seen some of the framworks but not quite sure how to use and have not seen instructions. I do play several games and figure to make a handful of useful macros for many. The problem with the framworks is they reference parts of their programs I yet have learned to understand lol.
- metatheurgist
- Dragon
- Posts: 364
- Joined: Mon Oct 26, 2009 5:51 am
Re: Critical Hit macro?
At it's most basic, this is a d20 roll.
Code: Select all
[h:roll=d20]
[if(roll==1), code:
{
Fumble!
};{}]
[h:threatrange=19]
[if(roll>=threatrange), code:
{
Critical Chance.
};{}]
[if(roll!=1 && roll <threatrange), code:
{
Normal Attack. [r:roll]
};{}]
Re: Critical Hit macro?
Where to I put any +/- number or mod commands and have them in tool tip added? Ill experiment to figure out but if you know please do. thanks again.
Re: Critical Hit macro?
I figured how, where to add the needed modifiers and keep it in tool tip. Thanks for the crit script.
thanks
thanks