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 .
×
Create a free account

Making a Cure Light Wounds Macro

Hey all, im brand new at this macro thing, trying to right a macro for an emote for my dwarven cleric casting cure light wounds on a fellow party member, i would like the chat to say, ."Oskar casts cure light wounds on (party members name), the script i have written right now shows this.. (GM) casts Cure Light Wounds on -JQFUY7P4aY0K3BUqXux my script is this ; /em casts Cure Light Wounds on @{target|token_id} Conjuration (Healing); Level 1; Components: V, S,; Casting Time: 1 std action; Range: Touch ; Target: 1 living creature; Duration: Instantanious; Saving Throw: Will half ; Spell Resistance: Yes; Caster level check = [[1d20+@{casterlevel2}+@{spellpen}]] vs spell resistance. Concentration check = [[{1d20+@{concentration}}>?{DC=15+Spell Level or 10+Damage Received|16}]] success. /roll 1d8 +(target level) what am i doing wrong so that the targeted players name doesnt show up thanks all for the help
1403800473
Gid
Roll20 Team
Use "token_name" instead of "token_id"
do @{target|token|token_name} or @{target|token|character_name} and see if that helps.
1403803225

Edited 1403803282
Pat S.
Forum Champion
Sheet Author
How would you do that for just character sheets if no tokens are used? Say my cleric wants to heal another party member and we only use character sheets. The usual macro is: /me heals ?{person being healed} for [[1d6]] points. So how would you be able to macro the heal to affect the sheet itself? The attribute to heal is named "HP"
Pat S. said: How would you do that for just character sheets if no tokens are used? Say my cleric wants to heal another party member and we only use character sheets. The usual macro is: /me heals ?{person being healed} for [[1d6]] points. So how would you be able to macro the heal to affect the sheet itself? The attribute to heal is named "HP" The macro isn't actually updating the attribute on the character sheet, it's just adding flare and description to the chat output. You would need to use an API to actually make the update, as far as I know.
1403814015
Pat S.
Forum Champion
Sheet Author
Thanks. That is what I thought but I figured I could ask.
Thanks all for the help, got it working
incidently, i noticed you are using a d8 plus the caster's level. If you are running with rulles like 3.5 where there is a cap on this total, you might find the macro I use handy: /em lightly fills @{target|token|token_name} with positive divine & celestial power for [[1d8+{5, @{level}}kl1 ]] points of healing. /w @{target|token|token_name} Tamara eases your suffering! the {5, @{level}}kl1 will make the decision between 5, which is the cap for cure light wounds, and the level from the token's character sheet and keep the lower one.You can also use this syntax with "kg1" to keep the greater of the too. It's been very handy.
Thanks Joshua, def will use it