This video shows how to create macros that can:
Prompt the user to make a selection display a result based on that selection
How to make macros that can read values from character sheets
And how to make macros that can read values from multiple character sheets.
Macros:
&{template:default} {{name=Healing Potion}} {{
?{Potion|
Regular, *Healing Potion Used:* [[2d4+2]]|
Greater, *Greater Healing Potion Used:* [[4d4+4]]|
Superior, *Superior Healing Potion Used:* [[8d4+8]]|
Supreme, *Supreme Healing Potion Used:* [[10d4+20]]
}
HP recovered
}}
&{template:default}{{name=Cure Wounds-Life Domain}}{{Cure Wounds Heals=[[?{What Level Cure Wounds}d8+@{wisdom_mod}+2+?{What Level Cure Wounds}]] HP}}{{Cast at Level=?{What Level Cure Wounds}}}{{Blessed Healer=Cassandra recovers [[2+?{What Level Cure Wounds}]] HP}}
&{template:default}{{name=Second Wind}}{{Grolf recovers [[1d10+@{level} HP]]}}
&{template:default} {{name=Party Health}} {{Cassandra=@{Cassandra|hp}/@{Cassandra|hp|max}}} {{Grolf=@{Grolf|hp} /@{Grolf|hp|max} }} {{Grenda Fireforge=@{Grenda Fireforge|hp}/@{Grenda Fireforge|hp|max}}}
The API is not required for anything shown in this video.
My Patreon: / nickolivo
Смотрите видео Creating Macros in Roll20 онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Nick Olivo 14 Май 2020, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 64,650 раз и оно понравилось 1.8 тысяч людям.