Critical Hit macro?

Discuss macro implementations, ask for macro help (to share your creations, see User Creations, probably either Campaign Frameworks or Drop-in Resources).

Moderators: dorpond, trevor, Azhrei, giliath, jay, Mr.Ice

Post Reply
mondo
Cave Troll
Posts: 69
Joined: Sun Jun 15, 2008 3:57 am

Critical Hit macro?

Post by mondo »

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

User avatar
metatheurgist
Dragon
Posts: 364
Joined: Mon Oct 26, 2009 5:51 am

Re: Critical Hit macro?

Post by metatheurgist »

Have you considered looking at some of the Pathfinder/3.5 frameworks to see what they're doing?

mondo
Cave Troll
Posts: 69
Joined: Sun Jun 15, 2008 3:57 am

Re: Critical Hit macro?

Post by mondo »

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.

User avatar
metatheurgist
Dragon
Posts: 364
Joined: Mon Oct 26, 2009 5:51 am

Re: Critical Hit macro?

Post by metatheurgist »

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]
};{}]

mondo
Cave Troll
Posts: 69
Joined: Sun Jun 15, 2008 3:57 am

Re: Critical Hit macro?

Post by mondo »

Nice Thanks

mondo
Cave Troll
Posts: 69
Joined: Sun Jun 15, 2008 3:57 am

Re: Critical Hit macro?

Post by mondo »

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.

mondo
Cave Troll
Posts: 69
Joined: Sun Jun 15, 2008 3:57 am

Re: Critical Hit macro?

Post by mondo »

I figured how, where to add the needed modifiers and keep it in tool tip. Thanks for the crit script.

thanks

Post Reply

Return to “Macros”