
Several? There's only one... the whole thing in the code box is the script. --crit also does not work anymore. Use [[ [HR19] 1d20]] now.
Aaron said:
Suggestion: Character specific color overrides
My macros using power cards all have this in common:--bgcolor|#@{BGColor} --txcolor|#@{FGColor}
example:!power --format|ddn --emote|@{selected|token_name} extends his hand and a blast of arctic frost sprays forth! --bgcolor|#@{BGColor} --txcolor|#@{FGColor} --name|Ray of Frost --leftsub|50 ft --rightsub|Evocation Cantrip --attack|[[1d20+@{Int}+@{Proficiency}]] | [[1d20+@{Int}+@{Proficiency}]] --damage|[[1d8]] cold damage and target's speed is reduced by 10ft until @{selected|token_name}'s next turn.
Having the script check the calling character for some defaults would be a nice enhancement from my perspective. Obviously you'd have to pass something like --asCharacter|<character_id> but that's not a deal breaker for me. =D
Zepth said:
So your table addition initially inspired me to make some powercard loot generation macros tied to rollable tables. Then I thought better of it when looking at the sheer number of tables that can potentially be involved in a random loot generation o_0
Keiss said:
Is there a way I can add my own personal tag? I want to change --emote to just be "/me" and add a tag --emas|@{selected|token_name} to /emas
but I don't really know anything about code, so I don't see where it catches the "--emote|" bit and translates it to powercard.emote
Keiss said:
Is there a way I can add my own personal tag? I want to change --emote to just be "/me" and add a tag --emas|@{selected|token_name} to /emas
but I don't really know anything about code, so I don't see where it catches the "--emote|" bit and translates it to powercard.emote
So, the way its done is that a token must be selected to use a power. Which isn't that big of a deal-- except when your players aren't exactly the brightest bulbs in the box. Most of them won't "be" anyone else, so using /emas ends up creating more stress than anything. I could change it to target|token_name, but then I can see them forgetting which token they are.HoneyBadger said:
Keiss said:
Is there a way I can add my own personal tag? I want to change --emote to just be "/me" and add a tag --emas|@{selected|token_name} to /emas
but I don't really know anything about code, so I don't see where it catches the "--emote|" bit and translates it to powercard.emote
The --emote tag simply puts whatever you have typed as a /emas emote. Players don't normally have access to this command, but can use it through the API. If you post an actual macro you are using, it will be easier to help that way.
Line breaks are in... ^^ will insert a break between paragraphs.Keiss said:
My only suggestion? I don't know if it's a limitation of the script or the API itself, but passing html like <ul> <a> <br /> from the chat/macro would be pretty nice for breaking up paragraphs. I am also in love with this script.
Oops. <a> would still be nice though :D Dem urlsHoneyBadger said:
Line breaks are in... ^^ will insert a break between paragraphs.Keiss said:
My only suggestion? I don't know if it's a limitation of the script or the API itself, but passing html like <ul> <a> <br /> from the chat/macro would be pretty nice for breaking up paragraphs. I am also in love with this script.
!power --emote|@{selected|token_name} strikes skillfully with his long sword. --name|Melee Basic Attack --usage|At-Will --action|Standard Action --attack|[[1d20]] --damage|[[1d8]] --dmgtype|slashing
HoneyBadger said:
- August 21st, 2014 ~ 12:40 pm eastern: I have added four new tags... which let you further customize the appearance of the power cards. These colors can also be set for all power cards at the top of the script.
- --orowbg|#000 defines the background color of odd rows
- --orowtx|#000 defines the text color of odd rows
- --erowbg|#000 defines the background color of even rows
- --erowtx|#000 defines the text color of even rows
HoneyBadger said:
Nope. Not without making the macro a near unreadable mess.
Zepth said:
Is it the same if you make that many calls outside of powercards?
you could just removed the haste variable and ignore the roll if the attack isn't hasted