> For the complete documentation index, see [llms.txt](https://cyborgsandmages.gitbook.io/palant-roll20-guide/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cyborgsandmages.gitbook.io/palant-roll20-guide/bazovoe-rukovodstvo/makrosy.md).

# Макросы

❎️⛏Все еще не завершено

[Базовые положения](https://github.com/palikhov/palant_roll20_setup/wiki/01.--Макросы#Базовые-положения)

[Универсальные макросы, которые не зависят от версии используемого листа персонажа](https://github.com/palikhov/palant_roll20_setup/wiki/01.--Макросы#Универсальные-макросы-которые-не-зависят-от-версии-используемого-листа-персонажа)

* [Универсальные макросы для игроков](https://github.com/palikhov/palant_roll20_setup/wiki/01.--Макросы#Универсальные-макросы-для-персонажей-игроков)
* [Универсальные макросы для ДМ-а](https://github.com/palikhov/palant_roll20_setup/wiki/01.--Макросы#Универсальные-макросы-для-ДМ-а)

[Макросы Shaped](https://github.com/palikhov/palant_roll20_setup/wiki/01.--Макросы#Макросы-для-shaped)

* [Макросы для игроков Shaped](https://github.com/palikhov/palant_roll20_setup/wiki/01.--Макросы#Макросы-для-игроков-shaped)
* [Макросы для ДМ-ов Shaped](https://github.com/palikhov/palant_roll20_setup/wiki/01.--Макросы#Макросы-для-ДМ-ов-shaped)

[Макросы OGL](https://github.com/palikhov/palant_roll20_setup/wiki/01.--Макросы#Макросы-для-roll20-5e-ogl)

* [Макросы для игроков OGL](https://github.com/palikhov/palant_roll20_setup/wiki/01.--Макросы#Макросы-для-игроков-ogl)
* [Макросы для ДМ-ов OGL](https://github.com/palikhov/palant_roll20_setup/wiki/01.--Макросы#Макросы-для-ДМ-ов-ogl)

[Перечень макросов, работающих на базовом аккаунте](https://github.com/palikhov/palant_roll20_setup/wiki/01.--Макросы#Перечень-макросов-работающих-в-базовом-аккаунте)

## Базовые положения

1. HP персонажа хранятся в bar3

#### Формат описания макроса

Если есть отметка ✅. то макрос работает и для базового аккаунта

1. **Название макроса в списке макросов**
2. Короткое название для панели макросов - N/A если не выносится на панель
3. Входит ли в общую систему настройки Roll20 или используется эпизодически (template / archive)
4. Предназначение и особенности использования макроса
5. ***Используемые скрипты (при наличии)***

```
6. код макроса
```

## Универсальные макросы, которые не зависят от версии используемого листа персонажа

### Общие

```
[Hidden Roll](![[&#13;[[1d6]])
```

```
[Roll This](!&#13;&#91;&#91;1d6&#93;&#93;)
```

#### 🌌fx

**Описание:** использует различные стандартные спец-эффекты

**Требуемые скрипты:** N/A

```
/fx ?{Type|Beam,beam|Bomb,bomb|Breath,breath|Bubbling,bubbling|Burn,burn|Burst,burst|Explosion,explode|Glow,glow|Missile,missile|Nova,nova|Spatter,splatter}-?{Color|Acid,acid|Blood,blood|Charm,charm|Death,death|Fire,fire|Frost,frost|Holy,holy|Magic,magic|Slime,slime|Smoke,smoke|Water,water} @{target|Source|token_id} @{target|Destination|token_id}
```

#### ➕calc

✅

**Текст на панели макросов**: ➕ **Описание:** Калькулятор для быстрых подсчетов

**Требуемые скрипты:** N/A

```
**=** [[?{Calculator}]]
```

#### GM roll

✅

🎲gm

```
/gmroll ?{Number of Dice|1}d?{Die Type|6}! + ?{Modifier|0}
```

#### speed-calc

```
&{template:default}{{name=Скорости}} {{[[[[?{Select a transport|Light horse, ?{Load|Light load,6|Medium and Heavy,4}|Light warhorse, ?{Load|Light load,6|Medium and Heavy,4}|Heavy horse, ?{Load|Light load,5|Medium and Heavy,3.5}|Heavy warhorse, ?{Load|Light load,5|Medium and Heavy,3.5}|Pony, ?{Load|Light load,4|Medium and Heavy,3}|Warpony, ?{Load|Light load,4|Medium and Heavy,3}|Donkey, ?{Load|Light load,3|Medium and Heavy,2}|Mule, ?{Load|Light load,3|Medium and Heavy,2}|Dog riding, ?{Load|Light load,4|Medium and Heavy,3}|Cart or wagon, 2}]]*[[?{Terrain|Desert, ?{Type of desert|Highway , 1|Road or Trail       , 0.5|Trackless , 0.5}|Forest, ?{Type of forest|Highway , 1|Road or Trail       , 1|Trackless   , 0.5}|Hills, ?{Type of hills|Highway   , 1|Road or Trail       , 0.75|Trackless        , 0.5}|Jungle, ?{Type of jungle|Highway , 1|Road or Trail       , 0.75|Trackless        , 0.25}|Moor, ?{Type of moor|Highway    , 1|Road or Trail       , 1|Trackless   , 0.75}|Mountains, ?{Type of mountains|Highway  , 0.75|Road or Trail    , 0.75|Trackless        , 0.5}|Plains, ?{Type of plains|Highway , 1|Road or Trail       , 1|Trackless   , 0.75}|Swamp, ?{Type of swamp|Highway  , 1|Road or Trail       , 0.75|Trackless        , 0.5}|Tundra, ?{Type of tundra|Highway , 1|Road or Trail       , 0.75|Trackless        , 0.75}  }]]*[[?{Hours of travel|8}]]]] miles}}{{[Overland Movement](http://www.d20srd.org/srd/movement.htm#tableTerrainAndOverlandMovement)}}
```

#### 💬wch

✅

**Текст на панели макросов**: 💬wch **Описание:**

**Требуемые скрипты:** N/A

```
/emas @{selected|token_name} speaks low.
/w @{target|token_name} ?{"What"|um}
```

```
/emas @{selected|token_name} говорит тихим голосом.
/w @{target|token_name} ?{"Что говорит?"|хм}
```

#### 📄NEW-CHARACTER

**Текст на панели макросов**: N/A **Описание:** Создает чистый лист персонажа с заданным именем и настроенным доступом на редактирование только у игрока, запустившего скрипт / макрос (создавшего лист персонажа)

**Требуемые скрипты:** [Welcome Package](https://github.com/palikhov/palant_roll20_setup/wiki/02.-API-Scripts#-welcome-package)

```
!welcomePackageCreateCharacter ?{Character Name:}
```

```
!welcomePackageCreateCharacter ?{Имя персонажа:}
```

#### 🎲d20

✅

**Текст на панели макросов**:🎲d20

**Описание:** Быстрый бросок d20

**Требуемые скрипты:** N/A

```
/me rolls a [[1d20+?{modifier|0}]] for ?{reason|no reason}.
```

```
/me бросает [[1d20+?{modifier|0}]] потому что ?{Введите причину броска|без причины}.
```

#### 📄img

✅ **Текст на панели макросов**:📄

**Описание:** Позволяет быстро вывести в чат изображение не в виде гипер-ссылки, а в виде небольшого превью.

**Требуемые скрипты:** N/A

```
[Image](?{Image URL})
```

```
[Изображение](?{URL изображения})
```

```
[Image](?{Image URL|http://i.imgur.com/9DR2apr.jpg})
```

#### 📝link

✅

**Текст на панели макросов**:📝link

✅

**Описание:** Выводит в чат гиперссылку.

**Требуемые скрипты:** N/A

```
Link: **[?{Link Title}](?{Link URL})**
```

```
Ссылка: **[?{Заголовок ссылки}](?{URL ссылки})**
```

#### ⏩️EoT

**Текст на панели макросов**:⏩️EoT

**Описание:** Переключает ход в трекере.

**Требуемые скрипты:** [TurnMarker](https://github.com/palikhov/palant_roll20_setup/wiki/02.-API-Scripts#turnmarker)

```
!eot
```

#### ❓Calc-Travel-Time

✅

**Текст на панели макросов**:➕TT

**Описание:** Рассчитывает длительность путешествия исходя из местности, способа путешествия и расстояния.

**Требуемые скрипты:** N/A

```
**It will take [[ ?{How far in miles?|24} / (?{Travel Pace?|Fast, 30|Normal, 24|Slow, 18|Normal Jungle, 20} * ?{Travel Mode?|On Foot, 1|Horseback, 1.25|Wyvern - 9 hours, 3|Broom - 13 hours, 3|Flying Speed 30 - 4 MPH, 4} * ?{Terrain?|Road/Trails, 1|Off Road, 0.5|Air, 1|Jungle, 0.5})  ]] day(s) to travel [[ ?{How far in miles?} ]] miles.**
```

### Универсальные макросы для персонажей игроков

✅

#### 💬WGM

**Описание:** Открывает окно для отправки сообщения ДМ-у "шепотом" (скрыто от остальных игроков)

**Требуемые скрипты:** N/A

```
/w gm ?{Message}
```

```
/w gm ?{Сообщение}
```

#### 🗺️ Nav

**Описание:** Позволяет игрокам самостоятельно перемещаться между указанными картами. ***Shows players a menu which allows them to navigate between the pages I've made visible to them. (All non-player-visible pages must be marked.)***

**Требуемые скрипты:** [Map Change](https://github.com/palikhov/palant_roll20_setup/wiki/02.-API-Scripts#map-change-script)

```
!mc menu
```

#### ​​​​​​​✨️ AOE

**Описание:** Вызов базового меню скрипта \[Areas Of EffectS] ( ) ***Allows players to select from the area of effect objects I've created for them.***

**Требуемые скрипты:** \[Areas Of EffectS] (<https://github.com/palikhov/palant_roll20_setup/wiki/02.-API-Scripts#areas-of-effect>)

```
!areasOfEffectShowMenu
```

### Универсальные макросы для ДМ-а

#### Utility-menu

**Текст на панели макросов**:

**Описание:** Начинает бой.

**Требуемые скрипты:** Не модифицированный скрипт таймера.

```
!group-init
/w gm [Start Tracker](!tj -start)
```

#### ➡️img-fun

✅

**Текст на панели макросов**:➡️fun

**Описание:** Выводит в чат различные тематичные юмористические изображения.

**Требуемые скрипты:** N/A

```
?{Name of Query
|Traps,[GM](http://i.imgur.com/IqYebKF.jpg)
|Nat1,[GM](http://i.imgur.com/dfmPGf2.jpg)
|Surprise,[GM](http://i.imgur.com/jPyPGnm.jpg)
|Nat20,[GM](http://i.imgur.com/JEMB82W.jpg)
|NPC,[GM](http://i.imgur.com/TNMR6sn.jpg)
|Charisma,[GM](http://i.imgur.com/7cxKE45.jpg)
|Spot,[GM](http://i.imgur.com/aMViuaf.jpg)
|End of Map,[GM](http://i.imgur.com/ZHfZq8b.jpg)
|Teamwork,[GM](http://i.imgur.com/P4IqEuJ.jpg)}
```

#### 🎲GM-Roll

**Текст на панели макросов**:🎲gm **Описание:** Универсальный макрос, позволяющий ДМ-у быстро совершить нужный бросок

**Требуемые скрипты:** N/A

```
/gmroll ?{Number of Dice|1}d?{Die Type|6}! + ?{Modifier|0}
```

#### ⚔️grp-att

**Текст на панели макросов**: ⚔️A **Описание:** Выделенные токены будут совершать проверку d20 как обычно/с преимуществом/ с помехой с указанным бонусом атаки. Удобно для массовых сражений.

**Требуемые скрипты:** [Group Check](https://github.com/palikhov/palant_roll20_setup/wiki/02.-API-Scripts#groupcheck)

```
!group-check --custom Attack [[ ?{which|1d20|2d20kl1|2d20kh1}+?{Bonus to attack}]]
```

#### ⚔️grp-init

**Текст на панели макросов**: ⚔️I **Описание:** Массовый бросок инициативы и добавление всех выделенных токенов трекер с одновременным открытием трекера.

**Требуемые скрипты:** [Group Init](https://github.com/palikhov/palant_roll20_setup/wiki/02.-API-Scripts#groupinitiative) ''' !group-init '''

#### ⚔️grp-chck

**Текст на панели макросов**: ⚔️C **Описание:** Массовая проверка навыка/характеристики/спас-броска для всех выделенных токенов персонажей.

**Требуемые скрипты:** [Group Check](https://github.com/palikhov/palant_roll20_setup/wiki/02.-API-Scripts#groupcheck) ''' !group-check '''

#### 📝desc

**Текст на панели макросов**:📝desc **Описание:** Открывает окно для ввода сообщения, которое будет отправлено в чат как "описание"

**Требуемые скрипты:** N/A

```
/desc ?{Input text}
```

```
/desc ?{Введите текст}
```

#### 💢Conditions-Token

**Текст на панели макросов**:💢

**Описание:** Устанавливает токену маркер соответствующий данному состоянию. Принята как основная версия, есть альтернативная версия 1 и альтернативная версия 2 Более подробно про сопоставление маркеров статуса токена и состояний читайте [здесь](https://github.com/palikhov/palant_roll20_setup/wiki/Состояния-в-D\&D-5e-и-маркеры-Roll20)

**Требуемые скрипты:** [Token Mod](https://github.com/palikhov/palant_roll20_setup/wiki/02.-API-Scripts#tokenmod)

```
!token-mod --set statusmarkers#?{Status|
Concentrating,blue|
Readying,stopwatch|
Prone,back-pain|
Restrained,fishing-net|
Grappled,grab|
Incapacitated,interdiction|
Stunned,pummeled|
Unconscious,sleepy|
Charmed,chained-heart|
Frightened,broken-heart|
Poisoned,chemical-bolt|
Blinded,bleeding-eye|
Deafened,screaming|
Paralyzed,padlock|
Petrified,broken-skull|
Dodging,bolt-shield|
Invisible,|
Flying, fluffy-wing|
Haste,lightning-helix|
Reaction Used,|
Regenerating,|
Slowed,snail|
Blessed,flying-flag|
Protected,white-tower|
Hiding,ninja-mask|
Detecting,sentry-gun|
Marked,archery-target|
―, }
```

#### ☠ (It's A Trap! Trap Creation Wizard)

**Текст на панели макросов**:☠Trap

**Описание:** Запускает базовое меню скрипта [It's A Trap](https://github.com/palikhov/palant_roll20_setup/wiki/02.-API-Scripts#its-a-trap)

**Требуемые скрипты:** [It's A Trap](https://github.com/palikhov/palant_roll20_setup/wiki/02.-API-Scripts#its-a-trap)

```
!ItsATrap_trapCreationWizard_showMenu
```

#### 🏃‍♂️(Marching Order Menu)

**Описание:** Запускает базовое меню скрипта Marching Order Menu

**Требуемые скрипты:** Marching Order Menu

```
!showMarchingOrderMenu
```

#### 🕊️ (Flight)

> Не уверен что буду пользоваться этим **Описание:** Позволяет быстро установить высоту полета для указанного токена.

**Требуемые скрипты:** Flight

```
!fly ?{height in tens of feet}
```

```
!fly ?{высота в десятках футов}
```

#### ▶️ (Start Combat)

> Не уверен что буду пользоваться этим **Описание:** Открывает инициативу, запускает [TrackerJacker](https://github.com/palikhov/palant_roll20_setup/wiki/02.-API-Scripts#trackerjacker) и модифицированный скрипт таймера.

**Требуемые скрипты:** [TrackerJacker](https://github.com/palikhov/palant_roll20_setup/wiki/02.-API-Scripts#trackerjacker)

```
!tj -start
!timer
```

#### ⏭️ (End of Turn)

> Не уверен что буду пользоваться этим **Описание:** Заканчивает текущий ход и обновляет значение таймера. ***This is my modified end of turn macro. It advances the turn order using tracker jacker, and also resets the turn timer.***

**Требуемые скрипты:** [TrackerJacker](https://github.com/palikhov/palant_roll20_setup/wiki/02.-API-Scripts#trackerjacker)

```
!eot
!timer
```

#### ⏭️ EoT2

> Не уверен что буду пользоваться этим **Описание:** Заканчивает текущий ход и обновляет значение таймера. ***Allows player to end their turn and move the turn timer forward.***

**Требуемые скрипты:** [TrackerJacker](https://github.com/palikhov/palant_roll20_setup/wiki/02.-API-Scripts#trackerjacker), Modified Turn Timer Script

```
!eot
!timer
```

#### Mass Apply Damage

**Описание:**

**Требуемые скрипты:** [Token Mod](https://github.com/palikhov/palant_roll20_setup/wiki/02.-API-Scripts#tokenmod)

```
!token-mod --set bar3_value|-?{Damage|0}
```

```
!token-mod --set bar1_value|-?{Damage|0} --ids @{target|Target|token_id}
```

## Макросы для Shaped

#### ℹ️Inf-Sheet-Shaped

> Предназначено в роли дополнительной справки

**Текст на панели макросов**:ℹ️Sheet

**Описание:** Вывод базовой информации о системе макросов.

**Требуемые скрипты:** N/A

```
/w gm &{template:5e-shaped} {{title=INFORMATION}} {{text_big=**INFO&HELP** 
Наш ►►►[Discord](https://discord.gg/Xsb4qC)◄◄◄

В данном сообществе используется лист персонажа 
**[5E SHAPED](https://github.com/mlenser/roll20-character-sheets/tree/master/5eShaped)**,
 который работает вместе с так называемым 
**[SHAPED SCRIPT](https://github.com/symposion/roll20-api-scripts/tree/master/5eShapedCompanion/latest)**

**Лист персонажа 5e Shaped**
Документация на английском для листа персонажа - [Documentation](https://bitbucket.org/mlenser/5eshaped/wiki/Home) 

**Настройка Roll20 при использовании 5E SHAPED**
[Руководство Palant'а](https://github.com/palikhov/palant_roll20_setup/wiki/)

Дополнительное руководство для игроков с описанием настроек и используемых макросов доступно здесь - РУКОВОДСТВО ИГРОКА - https://github.com/palikhov/palant_roll20_setup/wiki/04.-Пошаговое-руководство-для-игроков-(Shaped) 
}}
```

### Макросы для игроков Shaped

#### ⚔️ Init

**Описание:** Бросает инициативу за указанного персонажа (должен быть выделен токен) и добавляет токен персонажа в трекер инициативы

**Требуемые скрипты:** N/A

```
%{selected|shaped_initiative}
```

#### 💚 Adv

**Описание:** Дает выделенному персонажу преимущество на следующий бросок

**Требуемые скрипты:** 5e [Shaped Script](https://github.com/palikhov/palant_roll20_setup/wiki/02.-API-Scripts#shaped-script)

```
!shaped-at  --advantage --revert
```

#### 💔 Dis

**Описание:** Дает выделенному персонажу помеху на следующий бросок ***Gives disadvantage once***

**Требуемые скрипты:** [Shaped Script](https://github.com/palikhov/palant_roll20_setup/wiki/02.-API-Scripts#shaped-script)

```
!shaped-at  --disadvantage --revert
```

#### 💙 Persist

**Описание:** Дает выделенному персонажу преимущество / помеху до тех пор, пока игрок не выберет бросать нормально.

**Требуемые скрипты:** [Shaped Script](https://github.com/palikhov/palant_roll20_setup/wiki/02.-API-Scripts#shaped-script)

```
!shaped-at  --?{Start Rolling|Normally,normal|w/ Advantage,advantage|w/ Disadvantage,disadvantage} --persist
```

#### 🗡 Atks

**Описание:** Выводит в чат "шепотом" список атакующих возможностей персонажа в виде кнопок, которые сразу позволяют совершить бросок.

**Требуемые скрипты:** N/A

```
/w @{selected|character_name} &{template:5e-shaped} {{character_name=@{selected|character_name}}} @{selected|show_character_name} {{title=^{OFFENSE}}} {{text_big=@{selected|offense_macro_var}}}
```

#### ⚗️ Utils

**Описание:** Выводит в чат "шепотом" список утилитарных возможностей персонажа в виде кнопок, которые сразу позволяют совершить бросок.

**Требуемые скрипты:** N/A

```
/w @{selected|character_name} &{template:5e-shaped} {{character_name=@{selected|character_name}}} @{selected|show_character_name} {{title=^{UTILITY}}} {{utility=1}} {{text_big=@{selected|utility_macro_var}}}
```

#### 📖 Spells

**Описание:** Выводит в чат "шепотом" информацию о заклинаниях персонажа - какие доступны, подготовлены и сколько ячеек осталось в виде кнопок, которые сразу позволяют совершить бросок.

**Требуемые скрипты:** N/A

```
%{selected|shaped_spells}
```

#### ✔️ Checks

**Описание:** Выводит в чат "шепотом" список навыков и характеристик персонажа с указанием бонусов в виде кнопок, которые сразу позволяют совершить бросок.

**Требуемые скрипты:** N/A

```
%{selected|shaped_ability_checks}
```

#### 🎲 Saves

**Описание:** Выводит в чат "шепотом" список спас-бросков персонажа с указанием бонусов в виде кнопок, которые сразу позволяют совершить бросок.

**Требуемые скрипты:** N/A

```
%{selected|shaped_saving_throw}
```

#### 💤 Rest

**Описание:** Позволяет выделенному персонажу совершить или короткий или длинный отдых с перезарядкой соответствующих свойств.

**Требуемые скрипты:** [Shaped Script](https://github.com/palikhov/palant_roll20_setup/wiki/02.-API-Scripts#shaped-script)

```
!shaped-rest  --?{Take a|Short Rest,short|Long Rest,long}
```

#### 📄 Sheet

**Описание:** Выводит "шепотом" в чат консолидированную информацию о персонаже

**Требуемые скрипты:** N/A

```
%{selected|shaped_statblock}
%{selected|shaped_offense}
%{selected|shaped_spells}
```

#### ​​​​​​​​​🛠️ Player Tools

**Текст на панели макросов**:

**Описание:** Выводит "шепотом" в чат список дополнительных функций (рассмотренные выше макросы: ) Это реализуется путем создания персонажа с именем **PCutils**(см.\[Руководство]\(<https://github.com/palikhov/palant_roll20_setup/wiki/❌Пошаговое-руководство-для-ДМ-а-по-настройке-ROLL20-(Shaped>) ) с утилитарными макросами установленными как **abilities**, таким образом осуществляя вызов **abilities** из этого персонажа. ***This gives players a menu of all the utility macros I listed above. This is implemented by creating a character called "PCutils" with the utility macros as abilities, then calling the abilities from that character.***

**Требуемые скрипты:** N/A

```
/w @{selected|character_name} &{template:5e-shaped} 
{{title=PC Utilities}} 
{{text_big=
[> Whisper to GM (wgm)](~PCutils|wgm)  
[> Whisper to Token (wch)](~PCutils|wch)
[> Miscellaneous D20 Roll (roll)](~PCutils|roll) 
[> Calculator (calc)](~PCutils|calc) 
[> Turn /talktomyself on/off (ttms)](~PCutils|ttms)
[> Post an Image (img)](~PCutils|img) 
[> Post a Link (link)](~PCutils|link) }}
```

#### ⚙ PLAYER-MENU

> Надо доработать с учетом других меню **Текст на панели макросов**:

**Описание:** Базовое меню с настройками для игрока при использовании 5e Shaped

**Требуемые скрипты:** [Shaped Script](https://github.com/palikhov/palant_roll20_setup/wiki/02.-API-Scripts#shaped-script)

```
/w gm &{template:5e-shaped} {{title=⚙ Player menu}} {{text_big=
**SPELLS**
[IMPORT SPELLS](!shaped-spells) | [Spells button](!shaped-abilities --spells) | [Remove All Spells](!shaped-remove-spell)
**Create Token Macro Buttons**
[Offense](!shaped-abilities --offense) | [Offense Macro](!shaped-abilities --offenseMacro) |  
[Utility](!shaped-abilities --utility) | [Utility Macro](!shaped-abilities --utilityMacro) | 
[Traits](!shaped-abilities --traits) | [Racial Traits](!shaped-abilities --racialTraits) | [Racial Traits Macro](!shaped-abilities --racialTraitsMacro) |  [Class Features](!shaped-abilities --classFeatures) | [Class Features Macro](!shaped-abilities --classFeaturesMacro) | [Feats](!shaped-abilities --feats) 
**Main buttons**
[Initiative](!shaped-abilities --initiative) | [Ability checks query](!shaped-abilities --abilityChecksQuery) | [Ability checks macro]()| [Saves Query](!shaped-abilities --savesQuery) | [Saves macro ](!shaped-abilities --saves)  
[**DELETE ALL BUTTONS**](!shaped-abilities --DELETE) 
**Rests and Resets**
[Short Rest](!shaped-rest --type short) | [Long Rest](!shaped-rest --type long)
}}
```

### Features, Traits and Feats Utilites

**Текст на панели макросов**: 🆔FTUtils

**Описание:** Меню импорта в выбранный лист персонажа классовых и архетиповых свойств, трейтов, фит, особенностей расы и предыстории. Требует созданного и "расшаренного" листа персонажа с именем **FTUtils** (детальнее см. [Excel Shaped Companion](https://github.com/palikhov/palant_roll20_setup/wiki/Excel-Companion-to-Shaped)

```
/w @{selected|character_name} &{template:5e-shaped} {{title=Features and Traits  Utilities v050}} {{text_big=[Barbarian](~FTUtils|Barbarian)  
[Bard](~FTUtils|Bard)
[Cleric](~FTUtils|Cleric)
[Druid](~FTUtils|Druid)
[Fighter](~FTUtils|Fighter)
[Monk](~FTUtils|Monk)
[Paladin](~FTUtils|Paladin)
[Ranger](~FTUtils|Ranger)
[Rogue](~FTUtils|Rogue)
[Sorcerer](~FTUtils|Sorcerer)
[Warlock](~FTUtils|Warlock)
[Wizard](~FTUtils|Wizard)
}}
```

#### Зелье лечения

```
            /me uses a healing potion on @{target|character_name}
!setattr --silent --replace --name @{target|character_name} --potion_effect|[[2d4+2]]
@{target|character_name} is healed @{target|potion_effect}.
!setattr --silent --modb --name @{target|character_name} --hp|@{target|potion_effect}
```

#### Buff on/off

in construction

```
 !setattr --sel --repeating_buff2_$0_enable_toggle|[[1-@{selected|repeating_buff2_$0_enable_toggle}]]
        !setattr --sel --repeating_buff_$0_buff-enable_toggle|[[1-@{selected|repeating_buff_$0_buff-enable_toggle}]]
```

### Макросы для ДМ-ов Shaped

#### 📗GMUtils

**Текст на панели макросов**: IN DEVELOPMENT

f1 - create monster from token (HP attribute not linked)

f2 - create NPC from token (HP attribute is linked)

f3 - create PC from token (HP attribute is linked, sight is enabled)

**Описание:** Меню вызова быстрых функций полезных для ДМ-а. По умолчанию хранятся в персонаже с именем GMUtils.

```
DEVELOPMENT
```

#### Bless

```
!setattr {{ --sel
--repeating_modifier_-create_name|Bless
--repeating_modifier_-create_attack_toggle|1
--repeating_modifier_-create_attack_modifier|1d4cs0cf0
--repeating_modifier_-create_saving_throw_toggle|1
--repeating_modifier_-create_saving_throw_modifier|1d4cs0cf0
}}
```

#### 👁‍🗨Menu-LightVision

**Текст на панели макросов**: 👁‍🗨

**Описание:** Выводит в чат "шепотом" список возможных опций по изменению обзора и освещения от выделенного токена персонажа, позволяя быстро переключить с темно-видения на освещение от факела etc.

**Требуемые скрипты:** [Token Mod](https://github.com/palikhov/palant_roll20_setup/wiki/02.-API-Scripts#tokenmod)

```
/w gm &{template:5e-shaped} {{title=Light and Vision}} {{
**LIGHT MENU**
[Torch](!token-mod --set light_radius|40 light_dimradius|20)|[Snuff](!token-mod --set light_radius|10 light_dimradius|0)
**SIGHT MENU**
[Sight](!token-mod --on showname light_hassight) | [Blind](!token-mod --off showname light_hassight)
**DARKVISION MENU**
[Darkvision](!token-mod --set light_radius|60 light_dimradius|0) | [Darkvision120](!token-mod --set light_radius|120 light_dimradius|0) | [Darkvision180](!token-mod --set light_radius|180 light_dimradius|0) }}
```

#### 👁Menu-LightVision-Alternative

> Скорее всего будет удален **Описание:** Выводит в чат "шепотом" список возможных опций по изменению обзора и освещения от выделенного токена персонажа, позволяя быстро переключить с темно-видения на освещение от факела etc.

**Требуемые скрипты:** [Token Mod](https://github.com/palikhov/palant_roll20_setup/wiki/02.-API-Scripts#tokenmod)

```
!token-mod {{?{What Type of Vision - DIM/BRIGHT|None / Blind,--set light_radius| --set light_dimradius| --off light_otherplayers |Torch - 40/20, --set light_radius|40 --set light_dimradius|20 --on light_otherplayers |Lantern or Sunrod - 60/30, --set light_radius|60 --set light_dimradius|30 --on light_otherplayers |Lamp - 30/15, --set light_radius|30 --set light_dimradius|15 --on light_otherplayers |Candle - 5/0, --set light_radius|5 --set light_dimradius|0 --on light_otherplayers |Dark Vision 60/0, --set light_radius|60 --set light_dimradius|0 --off light_otherplayers |Devil Sight 120/0, --set light_radius|120 --set light_dimradius|0 --off light_otherplayers}}}
```

#### 📗Menu-SHPD-Utility

**Текст на панели макросов**: U

**Описание:** Меню вызова утилитарных функций полезных для ДМ-а.

```
DEVELOPMENT
```

#### 📗Menu-Utility-shpd-1

**Текст на панели макросов**:

> Необходимо взять все полезное в ⚙ PLAYER-MENU
>
> Будет удален после отработки

**Описание:**

**Требуемые скрипты:** [Token Mod](https://github.com/palikhov/palant_roll20_setup/wiki/02.-API-Scripts#tokenmod) [Shaped Script](https://github.com/palikhov/palant_roll20_setup/wiki/02.-API-Scripts#shaped-script)

```
/w gm &{template:5e-shaped} {{title=}}{{
Advantage Tracker
[Long](!shaped-abilities --advantageTracker) [Short](!shaped-abilities --TrackerShort ) [Shortest](!shaped-abilities --advantageTrackerShortest) [Shortest](!shaped-abilities --advantageTrackerQuery)

Attacks
[Token Actions](!shaped-abilities --attacks ) [In Chat](!shaped-abilities --attacksMacro )

Traits
[Token Actions](!shaped-abilities --traits ) [In Chat](!shaped-abilities --traitsMacro )

Actions
[Token Actions](!shaped-abilities --actions ) [In Chat](!shaped-abilities --actionsMacro )

Reactions
[Token Actions](!shaped-abilities --reactions ) [In Chat](!shaped-abilities --reactionsMacro )

Legendary Actions
[Token Actions](!shaped-abilities --legendaryActions ) [In Chat](!shaped-abilities --legendaryactionsMacro )

Ability Checks
[In Chat](!shaped-abilities --abilityChecks ) [Query](!shaped-abilities --abilityChecksQuery )

Saves
[In Chat](!shaped-abilities --saves ) [Query](!shaped-abilities --savesQuery )

Misc
[Lair Actions](!shaped-abilities --lairActions ) [Regional Effects](!shaped-abilities --regionalEffects )

[Initiative](!shaped-abilities --initiative ) [Statblock](!shaped-abilities --statblock ) [Rests](!shaped-abilities --rests )

[Delete All Abilities](!shaped-abilities --DELETE )
}}
```

#### 📗Menu-Utility-shpd-2

**Текст на панели макросов**:

> Необходимо взять все полезное в ⚙ PLAYER-MENU
>
> Будет удален после отработки

**Описание:**

**Требуемые скрипты:** [Token Mod](https://github.com/palikhov/palant_roll20_setup/wiki/02.-API-Scripts#tokenmod), [Shaped Script](https://github.com/palikhov/palant_roll20_setup/wiki/02.-API-Scripts#shaped-script)

```
/w gm &{template:5e-shaped} {{title=Utility Menu}} {{text_big=[Configure Shaped Options](!shaped-config)
**Import Spells**
[Spells](!shaped-spells) | [Remove All Spells](!shaped-remove-spell)

**Import Monsters**
[Monster](!shaped-monsters) | [Replace and Overwrite Monster](!shaped-monsters --replace)
[From Statblock](!shaped-import-statblock) | [From Token Name](!shaped-import-by-token)

**Create Token Macro Buttons**
[Actions](!shaped-abilities --actions) | [Attacks](!shaped-abilities --attacks) | [Offense](!shaped-abilities --offenseMacro) |
[Traits](!shaped-abilities --traits) | [Racial Traits](!shaped-abilities --racialTraits)
[Utility](!shaped-abilities --utility)
[Class Features](!shaped-abilities --classFeatures) | [Feats](!shaped-abilities --feats)
[Legendary Actions](!shaped-abilities --legendaryA) | [Lair Actions](!shaped-abilities --lairA)

**Setup**
[Set Token to Defaults](!shaped-apply-defaults)
[Set Default Token](!token-mod --set defaulttoken)
[Update to Current Sheet](!shaped-update-character)
[Update All-Caution](!shaped-update-character --all)

**Rests and Resets**
[Short Rest](!shaped-rest --type short) | [Long Rest](!shaped-rest --type long)

**Utility**
[Health Aura API](!aura)
[Token Mod API](!token-mod --help)
[Character Utility API](!chardup)
[Map Lock API](!map-lock) | [Lock](!map-lock lock) | [Unlock](!map-lock unlock)
}}
```

#### 📗Menu-Utility-shpd-3

**Текст на панели макросов**:

> Необходимо взять все полезное в ⚙ PLAYER-MENU
>
> Будет удален после отработки

**Описание:**

**Требуемые скрипты:** [Token Mod](https://github.com/palikhov/palant_roll20_setup/wiki/02.-API-Scripts#tokenmod), [Shaped Script](https://github.com/palikhov/palant_roll20_setup/wiki/02.-API-Scripts#shaped-script)

```
/w gm &{template:5e-shaped} {{title=Utility Menu}} {{text_big=[Configure Shaped Options](!shaped-config)
**Import Spells**
[Spells](!shaped-spells) | [Remove All Spells](!shaped-remove-spell)
**Import Monsters**
[Monster](!shaped-monsters) | [Replace and Overwrite Monster](!shaped-monsters --replace)
[From Statblock](!shaped-import-statblock) | [From Token Name](!shaped-import-by-token)
**Create Token Macro Buttons**
[Attacks](!shaped-abilities --attacks) | [Actions](!shaped-abilities --actions) | [Reactions](!shaped-abilities --reactions)
[Traits](!shaped-abilities --traits) | [Racial Traits](!shaped-abilities --racialTraits)
[Class Features](!shaped-abilities --classFeatures) | [Feats](!shaped-abilities --feats)
[Legendary Actions](!shaped-abilities --legendaryA) | [Lair Actions](!shaped-abilities --lairA)
**Setup**
[Set Token to Defaults](!shaped-apply-defaults)
[Set Default Token](!token-mod --set defaulttoken) 
[Update to Current Sheet](!shaped-update-character)
[Update All-Caution](!shaped-update-character --all)
**Rests and Resets**
[Short Rest](!shaped-rest --type short) | [Long Rest](!shaped-rest --type long) 
**Utility**
[Health Aura On](!setattr --sel --USECOLOR|YES
!aura update) | [Health Aura Off](!setattr --sel --USECOLOR|NO
!aura update)
}}
```

#### 📗Menu-Utility-shpd-4

> Будет удален после отработки

**Описание:**

**Требуемые скрипты:** [Shaped Script](https://github.com/palikhov/palant_roll20_setup/wiki/02.-API-Scripts#shaped-script)

```
```

#### 📗Menu-Utility-shpd-5

**Текст на панели макросов**:

> Необходимо взять все полезное в ⚙ PLAYER-MENU
>
> Будет удален после отработки

**Описание:**

**Требуемые скрипты:** [Shaped Script](https://github.com/palikhov/palant_roll20_setup/wiki/02.-API-Scripts#shaped-script)

```
/w gm &{template:5e-shaped} {{title=}}{{
Advantage Tracker
[Long](!shaped-abilities --advantageTracker) [Short](!shaped-abilities --TrackerShort ) [Shortest](!shaped-abilities --advantageTrackerShortest) [Shortest](!shaped-abilities --advantageTrackerQuery)
Attacks
[Token Actions](!shaped-abilities --attacks ) [In Chat](!shaped-abilities --attacksMacro )
Traits
[Token Actions](!shaped-abilities --traits ) [In Chat](!shaped-abilities --traitsMacro )
Actions
[Token Actions](!shaped-abilities --actions ) [In Chat](!shaped-abilities --actionsMacro )
Reactions
[Token Actions](!shaped-abilities --reactions ) [In Chat](!shaped-abilities --reactionsMacro )
Legendary Actions
[Token Actions](!shaped-abilities --legendaryActions ) [In Chat](!shaped-abilities --legendaryactionsMacro )
Ability Checks
[In Chat](!shaped-abilities --abilityChecks ) [Query](!shaped-abilities --abilityChecksQuery )
Saves
[In Chat](!shaped-abilities --saves ) [Query](!shaped-abilities --savesQuery )
Misc
[Lair Actions](!shaped-abilities --lairActions ) [Regional Effects](!shaped-abilities --regionalEffects )
[Initiative](!shaped-abilities --initiative ) [Statblock](!shaped-abilities --statblock ) [Rests](!shaped-abilities --rests )

[Delete All Abilities](!shaped-abilities --DELETE )
}}
```

#### ❤❤Party-HP

**Описание:** Выводит "шепотом" в чат информацию о количестве HP у каждого из членов отряда. Перед использованием требует доработки - заменить PC1, PC2 и т.д. на имена персонажей.

**Требуемые скрипты:** N/A

```
/w gm &{template:5e-shaped} {{title=Current Hit Points}} {{text=
PC1: [[@{PC1|HP}]] / [[@{PC1|HP|max}]]
PC2: [[@{PC2|HP}]] / [[@{PC2|HP|max}]]
PC3: [[@{PC3|HP}]] / [[@{PC3|HP|max}]]
PC4: [[@{PC4|HP}]] / [[@{PC4|HP|max}]]
}}
```

#### ✍🏻Easy-Exp-Macros-SH

**Текст на панели макросов**:

**Описание:** Позволяет легко учитывать получаемый опыт, как с токенов противников, которые были побеждены так и с учетом ручного ввода.

**Требуемые скрипты:** [Easy Expirience](https://github.com/palikhov/palant_roll20_setup/wiki/02.-API-Scripts#easyexperience)

```
/w gm &{template:5e-shaped} {{title= Easy Experience}} {{content= 
Selected Token [Token](!xp challenge @{selected|xp} ?{How many|1} ) 
Manual [Manual](!xp challenge ?{How much|0} ) 
End of Session [Session](!xp session)  
}}
```

#### **📗Menu-Utility-shpd-6**

**Текст на панели макросов**:

> Необходимо взять все полезное в ⚙ PLAYER-MENU
>
> Будет удален после отработки

```
/w gm &{template:5e-shaped} {{title=Game Utilities}} {{text_big=**Saves & Damage**
[Group Check](!group-check)
[Group Save and Damage](!
#Save-Damage)
[Reset HP](!token-mod --set bar1_reset|0)
[Direct Damage](!
#Apply-Damage)
**Disappear**
[Invisible](!
#XDisappear) | [Appear](!
#XReappear) | [Incinerate](!
#XIncinerate)
[White Smoke](!
#XPlaneshift) | [Dark Teleport](!
#XTeleport)
**Nameplate**
[Name On](!token-mod --set showplayers_name|yes showname|yes) | [Name Off](!token-mod --set showplayers_name|no showname|yes)
**Light & Vision**
[Snuff](!token-mod --set light_otherplayers|off light_radius|0 light_dimradius|0 light_angle|360) | [Sight](!token-mod --on showname light_hassight light_angle|360) | [Blind](!token-mod --off showname light_hassight light_angle|360) | [Spot](!token-mod --set light_otherplayers|on light_radius|1 light_dimradius|0 light_angle|360) | [GM](!token-mod --set light_otherplayers|off light_radius|5 light_dimradius|5 light_angle|360)
[Candle](!token-mod --set light_otherplayers|on light_radius|5 light_dimradius|0 light_angle|360) | [Lamp](!token-mod --set light_otherplayers|on light_radius|30 light_dimradius|15 light_angle|360) | [Torch](!token-mod --set light_otherplayers|on light_radius|40 light_dimradius|20 light_angle|360)
[Hooded Lantern](!token-mod --set light_otherplayers|on light_radius|60 light_dimradius|30 light_angle|360) | [Bullseye Lantern](!token-mod --set light_otherplayers|on light_radius|120 light_dimradius|60 light_angle|90)
[Darkvision](!token-mod --set light_otherplayers|off light_radius|60 light_dimradius|0 light_angle|360) | [DV90](!token-mod --set light_otherplayers|off light_radius|90 light_dimradius|0 light_angle|360) | [DV120](!token-mod --set light_otherplayers|off light_radius|120 light_dimradius|0 light_angle|360) | 
[*Light*](!token-mod --set light_otherplayers|on light_radius|40 light_dimradius|20 light_angle|360) | [*Daylight*](!token-mod --set light_otherplayers|on light_radius|120 light_dimradius|60 light_angle|360) | [*Faerie Fire*](!token-mod --set light_otherplayers|on light_radius|1 light_angle|3600 light_dimradius|0 statusmarkers|purple light_angle|360)
**Status**
[Blue](!token-mod --set statusmarkers|!blue) | [Purple](!token-mod --set statusmarkers|!purple) | [Pink](!token-mod --set statusmarkers|!pink) | [Yellow](!token-mod --set statusmarkers|!yellow) | [OFF](!token-mod --set statusmarkers|=dead|-dead)
**Miscellaneous**
[Follow](!showMarchingOrderMenu) | [Show Picture](!char-pic @{selected|character_id})
**Initiative**
[Roll Initiative](!group-init) | [Clear Tracker](!clear)
[Sort Tracker](!order)
}}
```

> Необходимо взять все полезное в ⚙ PLAYER-MENU
>
> ```
> /w gm &{template:5e-shaped} {{title=Utility Menu}} {{text_big=[Configure Shaped Options](!shaped-config)
> **Import Spells**
> [Spells](!shaped-spells) | [Remove All Spells](!shaped-remove-spell)
> **Import Monsters**
> [Monster](!shaped-monsters) | [Replace and Overwrite Monster](!shaped-monsters --replace)
> [From Statblock](!shaped-import-statblock) | [From Token Name](!shaped-import-by-token)
> **Create Token Macro Buttons**
> [Attacks](!shaped-abilities --attacks) | [Actions](!shaped-abilities --actions) | [Reactions](!shaped-abilities --reactions)
> [Traits](!shaped-abilities --traits) | [Racial Traits](!shaped-abilities --racialTraits)
> [Class Features](!shaped-abilities --classFeatures) | [Feats](!shaped-abilities --feats)
> [Legendary Actions](!shaped-abilities --legendaryA) | [Lair Actions](!shaped-abilities --lairA)
> **Setup**
> [Set Token to Defaults](!shaped-apply-defaults)
> [Set Default Token](!token-mod --set defaulttoken) 
> [Update to Current Sheet](!shaped-update-character)
> [Update All-Caution](!shaped-update-character --all)
> **Rests and Resets**
> [Short Rest](!shaped-rest --type short) | [Long Rest](!shaped-rest --type long) 
> **Utility**
> [Health Aura On](!setattr --sel --USECOLOR|YES
> !aura update) | [Health Aura Off](!setattr --sel --USECOLOR|NO
> !aura update)
> }}
> ```

####

```
/w gm &{template:5e-shaped} {{title=Utility Menu}} {{text_big=[Configure Shaped Options](!shaped-config)
**Import Spells**
[Spells](!shaped-spells) | [Remove All Spells](!shaped-remove-spell --all)
[Expand Spells](!shaped-expand-spells)
**Import Monsters**
[Monster](!shaped-monsters) | [Replace and Overwrite Monster](!shaped-monsters --replace)
[From Statblock](!shaped-import-statblock) | [From Token Name](!shaped-import-by-token)
**Character Creation**
[Character Builder](~Character-Builder)
**Create Token Macro Buttons**
[Attacks](!shaped-abilities --attacks) | [Actions](!shaped-abilities --actions) | [Reactions](!shaped-abilities --reactions)
[Traits](!shaped-abilities --traits) | [Racial Traits](!shaped-abilities --racialTraits)
[Class Features](!shaped-abilities --classFeatures) | [Feats](!shaped-abilities --feats)
[Legendary Actions](!shaped-abilities --legendaryA) | [Lair Actions](!shaped-abilities --lairA)
**Setup**
[Set Token to Defaults](!shaped-apply-defaults)
[Set Default Token](!token-mod --set defaulttoken) 
[Update to Current Sheet](!shaped-update-character)
[Update All-Caution](!shaped-update-character --all)
**Rests and Resets**
[Short Rest](!shaped-rest --short) | [Long Rest](!shaped-rest --long) 
**Utility**
[Health Aura On](!setattr --sel --USECOLOR|YES
!aura update) | [Health Aura Off](!setattr --sel --USECOLOR|NO
!aura update)
[Door Commands](!
#{Macros|Doors})
[Ready Roofs](!RoofReady)
[Summon Duplicates](~Summon)
}}
```

#### DM Utilities

```
/w @{selected|character_name} &{template:5e-shaped}{{title=DM Utilities}} {{text_big=
[GM roll](~DMUtils|GM-roll)  
[Calc](~DMUtils|➕calc)
[D20 roll](~DMUtils|📄desc) 
[ Post a Link (link) ](~DMUtils|📄link) 
[Img for fun](~DMUtils|📄img-for-fun)
[Post an Image (img)](~DMUtils|📄img) 
[Shaped menu](!shaped)
[Group attack](~DMUtils|⚔A)
[Group check](~DMUtils|⚔C)
[Light and vision](~DMUtils|👁‍🗨Menu-LightVision)
[Menu utilities](~DMUtils|📗Menu-Utility-shpd)
[Group init](~DMUtils|⚔I) }}
```

#### 📌Shaped

**Текст на панели макросов**:📌S

**Описание:** Вызов базового меню [Shaped Script](https://github.com/palikhov/palant_roll20_setup/wiki/02.-API-Scripts#shaped-script)

**Требуемые скрипты:** [Shaped Script](https://github.com/palikhov/palant_roll20_setup/wiki/02.-API-Scripts#shaped-script)

```
!shaped
```

#### 🆔FTUtils

[Roll20 Character Builder Excel Shaped Excel Companion](https://github.com/palikhov/palant_roll20_setup/wiki/Roll20-Character-Builder-Shaped-Excel-Companion#class-features)

```
/w @{selected|character_name} &{template:5e-shaped} {{title=Features and Traits  Utilities v050}} {{text_big=[Barbarian](~FTUtils|Barbarian)  
[Bard](~FTUtils|Bard)
[Cleric](~FTUtils|Cleric)
[Druid](~FTUtils|Druid)
[Fighter](~FTUtils|Fighter)
[Monk](~FTUtils|Monk)
[Paladin](~FTUtils|Paladin)
[Ranger](~FTUtils|Ranger)
[Rogue](~FTUtils|Rogue)
[Sorcerer](~FTUtils|Sorcerer)
[Warlock](~FTUtils|Warlock)
[Wizard](~FTUtils|Wizard)
[Feats](~FTUtils|Feats)
}}
```

#### быстрая настройка group-init shaped

If you’re using version 10.1.1 or later of the Shaped sheet you should set it up using the following commands:

```
!group-init-config --set-dice-count|0
!group-init --del-group 1
!group-init --add-group --bare initiative_formula
```

This setup will use the formula of the sheet and adjust to every situation. The values are correct for normal rolling, advantage rolling, and disadvantage rolling.

### Макросы для создания в блоке модификаторов баффов и дебафф-ов

```
Bless

!setattr {{ --sel
--repeating_modifier_-create_name|Bless
--repeating_modifier_-create_attack_toggle|1
--repeating_modifier_-create_attack_modifier|1d4cs0cf0
--repeating_modifier_-create_saving_throw_toggle|1
--repeating_modifier_-create_saving_throw_modifier|1d4cs0cf0
}}


Guidance

!setattr {{ --sel
--repeating_modifier_-create_name|Guidance
--repeating_modifier_-create_ability_check_toggle|1
--repeating_modifier_-create_ability_check_modifier|1d4cs0cf0
}}


Bane

!setattr {{ --sel
--repeating_modifier_-create_name|Bane
--repeating_modifier_-create_attack_toggle|1
--repeating_modifier_-create_attack_modifier|-1d4cs0cf0
--repeating_modifier_-create_saving_throw_toggle|1
--repeating_modifier_-create_saving_throw_modifier|-1d4cs0cf0
}}

Synaptic Static

!setattr {{ --sel
--repeating_modifier_-create_name|Synaptic Static
--repeating_modifier_-create_attack_toggle|1
--repeating_modifier_-create_attack_modifier|-1d6cs0cf0
--repeating_modifier_-create_saving_throw_toggle|1
--repeating_modifier_-create_saving_throw_modifier|-1d6cs0cf0
}}

Divine Favor

!setattr {{ --sel
--repeating_modifier_-create_name|Divine Favor
--repeating_modifier_-create_attack_toggle|1
--repeating_modifier_-create_attack_modifier|1d4cs0cf0
}}
```

## Макросы для Roll20 5e OGL

### Макросы для игроков OGL

#### ⚔Init

**Описание:** Для выделенного токена персонажа осуществляет бросок инициативы и добавляет токен в трекер.

**Требуемые скрипты:** N/A

```
/me 's initiative is [[1d20 + @{selected|dexterity_mod}&{tracker}]]
```

#### Skills OGL

Название в панели макросов: ✅

**Описание:** Осуществление проверки навыка с использованием выпадающего списка

**Требуемые скрипты:** N/A

> НЕОБХОДИМО ПРОТЕСТИРОВАТЬ **Описание:** Универсальный макрос. **Требуемые скрипты:** N/A
>
> ```
> @{selected|wtype}&{template:simple} @{selected|rtype}?{Skill
> |Acrobatics,+[[(@{selected|acrobatics_bonus}@{selected|pbd_safe}*(1-ceil((@{selected|npc})*0.00001)))+(@{selected|npc_acrobatics}*@{selected|npc})]][ACRO] ]]&#125;&#125; {{rname=^{acrobatics-u&#125;&#125;&#125; {{mod=[[ [[(@{selected|acrobatics_bonus}@{selected|pbd_safe}*(1-ceil((@{selected|npc})*0.00001)))+(@{selected|npc_acrobatics}*@{selected|npc})]][ACRO] ]]&#125;&#125; {{r1=[[@{selected|d20}+[[(@{selected|acrobatics_bonus}@{selected|pbd_safe}*(1-ceil((@{selected|npc})*0.00001)))+(@{selected|npc_acrobatics}*@{selected|npc})]][ACRO] ]]
> |Animal Handling,+[[(@{selected|animal_handling_bonus}@{selected|pbd_safe}*(1-ceil((@{selected|npc})*0.00001)))+(@{selected|npc_animal_handling}*@{selected|npc})]][ANIM] ]]&#125;&#125; {{rname=^{animal-handling-u&#125;&#125;&#125;{{mod=[[ (@{selected|animal_handling_bonus}@{selected|pbd_safe}*(1-ceil((@{selected|npc})*0.00001)))+(@{selected|npc_animal_handling}*@{selected|npc})]][ANIM] ]]&#125;&#125; {{r1=[[@{selected|d20}+[[(@{selected|animal_handling_bonus}@{selected|pbd_safe}*(1-ceil((@{selected|npc})*0.00001)))+(@{selected|npc_animal_handling}*@{selected|npc})]][ANIM] ]]
> |Arcana,+[[(@{selected|arcana_bonus}@{selected|pbd_safe}*(1-ceil((@{selected|npc})*0.00001)))+(@{selected|npc_arcana}*@{selected|npc})]][ARC] ]]&#125;&#125; {{rname=^{arcana-u&#125;&#125;&#125; {{mod=[[ [[(@{selected|arcana_bonus}@{selected|pbd_safe}*(1-ceil((@{selected|npc})*0.00001)))+(@{selected|npc_arcana}*@{selected|npc})]][ARCA] ]]&#125;&#125; {{r1=[[@{selected|d20}+[[(@{selected|arcana_bonus}@{selected|pbd_safe}*(1-ceil((@{selected|npc})*0.00001)))+(@{selected|npc_arcana}*@{selected|npc})]][ARCA] ]]
> |Athletics,+[[(@{selected|athletics_bonus}@{selected|pbd_safe}*(1-ceil((@{selected|npc})*0.00001)))+(@{selected|npc_athletics}*@{selected|npc})]][ARC] ]]&#125;&#125; {{rname=^{athletics-u&#125;&#125;&#125; {{mod=[[ [[(@{selected|athletics_bonus}@{selected|pbd_safe}*(1-ceil((@{selected|npc})*0.00001)))+(@{selected|npc_athletics}*@{selected|npc})]][ATHL] ]]&#125;&#125; {{r1=[[@{selected|d20}+[[(@{selected|athletics_bonus}@{selected|pbd_safe}*(1-ceil((@{selected|npc})*0.00001)))+(@{selected|npc_athletics}*@{selected|npc})]][ATHL] ]]
> |Decpetion,+[[(@{selected|deception_bonus}@{selected|pbd_safe}*(1-ceil((@{selected|npc})*0.00001)))+(@{selected|npc_deception}*@{selected|npc})]][ARC] ]]&#125;&#125; {{rname=^{deception-u&#125;&#125;&#125; {{mod=[[ [[(@{selected|deception_bonus}@{selected|pbd_safe}*(1-ceil((@{selected|npc})*0.00001)))+(@{selected|npc_deception}*@{selected|npc})]][DECE] ]]&#125;&#125; {{r1=[[@{selected|d20}+[[(@{selected|deception_bonus}@{selected|pbd_safe}*(1-ceil((@{selected|npc})*0.00001)))+(@{selected|npc_deception}*@{selected|npc})]][DECE] ]]
> |History,+[[(@{selected|history_bonus}@{selected|pbd_safe}*(1-ceil((@{selected|npc})*0.00001)))+(@{selected|npc_history}*@{selected|npc})]][ARC] ]]&#125;&#125; {{rname=^{history-u&#125;&#125;&#125; {{mod=[[ [[(@{selected|history_bonus}@{selected|pbd_safe}*(1-ceil((@{selected|npc})*0.00001)))+(@{selected|npc_history}*@{selected|npc})]][HIST] ]]&#125;&#125; {{r1=[[@{selected|d20}+[[(@{selected|history_bonus}@{selected|pbd_safe}*(1-ceil((@{selected|npc})*0.00001)))+(@{selected|npc_history}*@{selected|npc})]][HIST] ]]
> |Insight,+[[(@{selected|insight_bonus}@{selected|pbd_safe}*(1-ceil((@{selected|npc})*0.00001)))+(@{selected|npc_insight}*@{selected|npc})]][ARC] ]]&#125;&#125; {{rname=^{insight-u&#125;&#125;&#125; {{mod=[[ [[(@{selected|insight_bonus}@{selected|pbd_safe}*(1-ceil((@{selected|npc})*0.00001)))+(@{selected|npc_insight}*@{selected|npc})]][INSI] ]]&#125;&#125; {{r1=[[@{selected|d20}+[[(@{selected|insight_bonus}@{selected|pbd_safe}*(1-ceil((@{selected|npc})*0.00001)))+(@{selected|npc_insight}*@{selected|npc})]][INSI] ]]
> |Intimidation,+[[(@{selected|intimidation_bonus}@{selected|pbd_safe}*(1-ceil((@{selected|npc})*0.00001)))+(@{selected|npc_intimidation}*@{selected|npc})]][ARC] ]]&#125;&#125; {{rname=^{intimidation-u&#125;&#125;&#125; {{mod=[[ [[(@{selected|intimidation_bonus}@{selected|pbd_safe}*(1-ceil((@{selected|npc})*0.00001)))+(@{selected|npc_intimidation}*@{selected|npc})]][INTI] ]]&#125;&#125; {{r1=[[@{selected|d20}+[[(@{selected|intimidation_bonus}@{selected|pbd_safe}*(1-ceil((@{selected|npc})*0.00001)))+(@{selected|npc_intimidation}*@{selected|npc})]][INTI] ]]
> |Investigation,+[[(@{selected|investigation_bonus}@{selected|pbd_safe}*(1-ceil((@{selected|npc})*0.00001)))+(@{selected|npc_investigation}*@{selected|npc})]][ARC] ]]&#125;&#125; {{rname=^{investigation-u&#125;&#125;&#125; {{mod=[[ [[(@{selected|investigation_bonus}@{selected|pbd_safe}*(1-ceil((@{selected|npc})*0.00001)))+(@{selected|npc_investigation}*@{selected|npc})]][INVE] ]]&#125;&#125; {{r1=[[@{selected|d20}+[[(@{selected|investigation_bonus}@{selected|pbd_safe}*(1-ceil((@{selected|npc})*0.00001)))+(@{selected|npc_investigation}*@{selected|npc})]][INVE] ]]
> |Medicine,+[[(@{selected|medicine_bonus}@{selected|pbd_safe}*(1-ceil((@{selected|npc})*0.00001)))+(@{selected|npc_medicine}*@{selected|npc})]][ARC] ]]&#125;&#125; {{rname=^{medicine-u&#125;&#125;&#125; {{mod=[[ [[(@{selected|medicine_bonus}@{selected|pbd_safe}*(1-ceil((@{selected|npc})*0.00001)))+(@{selected|npc_medicine}*@{selected|npc})]][MEDI] ]]&#125;&#125; {{r1=[[@{selected|d20}+[[(@{selected|medicine_bonus}@{selected|pbd_safe}*(1-ceil((@{selected|npc})*0.00001)))+(@{selected|npc_medicine}*@{selected|npc})]][MEDI] ]]
> |Nature,+[[(@{selected|nature_bonus}@{selected|pbd_safe}*(1-ceil((@{selected|npc})*0.00001)))+(@{selected|npc_nature}*@{selected|npc})]][ARC] ]]&#125;&#125; {{rname=^{nature-u&#125;&#125;&#125; {{mod=[[ [[(@{selected|nature_bonus}@{selected|pbd_safe}*(1-ceil((@{selected|npc})*0.00001)))+(@{selected|npc_nature}*@{selected|npc})]][NATU] ]]&#125;&#125; {{r1=[[@{selected|d20}+[[(@{selected|nature_bonus}@{selected|pbd_safe}*(1-ceil((@{selected|npc})*0.00001)))+(@{selected|npc_nature}*@{selected|npc})]][NATU] ]]
> |Perception,+[[(@{selected|perception_bonus}@{selected|pbd_safe}*(1-ceil((@{selected|npc})*0.00001)))+(@{selected|npc_perception}*@{selected|npc})]][ARC] ]]&#125;&#125; {{rname=^{perception-u&#125;&#125;&#125; {{mod=[[ [[(@{selected|perception_bonus}@{selected|pbd_safe}*(1-ceil((@{selected|npc})*0.00001)))+(@{selected|npc_perception}*@{selected|npc})]][PERC] ]]&#125;&#125; {{r1=[[@{selected|d20}+[[(@{selected|perception_bonus}@{selected|pbd_safe}*(1-ceil((@{selected|npc})*0.00001)))+(@{selected|npc_perception}*@{selected|npc})]][PERC] ]]
> |Performance,+[[(@{selected|performance_bonus}@{selected|pbd_safe}*(1-ceil((@{selected|npc})*0.00001)))+(@{selected|npc_performance}*@{selected|npc})]][ARC] ]]&#125;&#125; {{rname=^{performance-u&#125;&#125;&#125; {{mod=[[ [[(@{selected|performance_bonus}@{selected|pbd_safe}*(1-ceil((@{selected|npc})*0.00001)))+(@{selected|npc_performance}*@{selected|npc})]][PERF] ]]&#125;&#125; {{r1=[[@{selected|d20}+[[(@{selected|performance_bonus}@{selected|pbd_safe}*(1-ceil((@{selected|npc})*0.00001)))+(@{selected|npc_performance}*@{selected|npc})]][PERF] ]]
> |Persuasion,+[[(@{selected|persuasion_bonus}@{selected|pbd_safe}*(1-ceil((@{selected|npc})*0.00001)))+(@{selected|npc_persuasion}*@{selected|npc})]][ARC] ]]&#125;&#125; {{rname=^{persuasion-u&#125;&#125;&#125; {{mod=[[ [[(@{selected|persuasion_bonus}@{selected|pbd_safe}*(1-ceil((@{selected|npc})*0.00001)))+(@{selected|npc_persuasion}*@{selected|npc})]][PERS] ]]&#125;&#125; {{r1=[[@{selected|d20}+[[(@{selected|persuasion_bonus}@{selected|pbd_safe}*(1-ceil((@{selected|npc})*0.00001)))+(@{selected|npc_persuasion}*@{selected|npc})]][PERS] ]]
> |Religion,+[[(@{selected|religion_bonus}@{selected|pbd_safe}*(1-ceil((@{selected|npc})*0.00001)))+(@{selected|npc_religion}*@{selected|npc})]][ARC] ]]&#125;&#125; {{rname=^{religion-u&#125;&#125;&#125; {{mod=[[ [[(@{selected|religion_bonus}@{selected|pbd_safe}*(1-ceil((@{selected|npc})*0.00001)))+(@{selected|npc_religion}*@{selected|npc})]][RELI] ]]&#125;&#125; {{r1=[[@{selected|d20}+[[(@{selected|religion_bonus}@{selected|pbd_safe}*(1-ceil((@{selected|npc})*0.00001)))+(@{selected|npc_religion}*@{selected|npc})]][RELI] ]]
> |Sleight of Hand,+[[(@{selected|sleight_of_hand_bonus}@{selected|pbd_safe}*(1-ceil((@{selected|npc})*0.00001)))+(@{selected|npc_sleight_of_hand}*@{selected|npc})]][ARC] ]]&#125;&#125; {{rname=^{sleight_of_hand-u&#125;&#125;&#125; {{mod=[[ [[(@{selected|sleight_of_hand_bonus}@{selected|pbd_safe}*(1-ceil((@{selected|npc})*0.00001)))+(@{selected|npc_sleight_of_hand}*@{selected|npc})]][SLEI] ]]&#125;&#125; {{r1=[[@{selected|d20}+[[(@{selected|sleight_of_hand_bonus}@{selected|pbd_safe}*(1-ceil((@{selected|npc})*0.00001)))+(@{selected|npc_sleight_of_hand}*@{selected|npc})]][SLEI] ]]
> |Stealth,+[[(@{selected|stealth_bonus}@{selected|pbd_safe}*(1-ceil((@{selected|npc})*0.00001)))+(@{selected|npc_stealth}*@{selected|npc})]][ARC] ]]&#125;&#125; {{rname=^{stealth-u&#125;&#125;&#125; {{mod=[[ [[(@{selected|stealth_bonus}@{selected|pbd_safe}*(1-ceil((@{selected|npc})*0.00001)))+(@{selected|npc_stealth}*@{selected|npc})]][STEA] ]]&#125;&#125; {{r1=[[@{selected|d20}+[[(@{selected|stealth_bonus}@{selected|pbd_safe}*(1-ceil((@{selected|npc})*0.00001)))+(@{selected|npc_stealth}*@{selected|npc})]][STEA] ]]
> |Survival,+[[(@{selected|survival_bonus}@{selected|pbd_safe}*(1-ceil((@{selected|npc})*0.00001)))+(@{selected|npc_survival}*@{selected|npc})]][ARC] ]]&#125;&#125; {{rname=^{survival-u&#125;&#125;&#125; {{mod=[[ [[(@{selected|survival_bonus}@{selected|pbd_safe}*(1-ceil((@{selected|npc})*0.00001)))+(@{selected|npc_survival}*@{selected|npc})]][SURV] ]]&#125;&#125; {{r1=[[@{selected|d20}+[[(@{selected|survival_bonus}@{selected|pbd_safe}*(1-ceil((@{selected|npc})*0.00001)))+(@{selected|npc_survival}*@{selected|npc})]][SURV] ]]
> }}} @{selected|global_skill_mod} @{selected|charname_output}
> ```

#### AbilityChecksOGL

Название в панели макросов: ✔️

> НЕОБХОДИМО ПРОТЕСТИРОВАТЬ **Описание:** Универсальный макрос. **Требуемые скрипты:** N/A
>
> ```
> @{selected|wtype}&{template:simple} @{selected|rtype}?{Stat
> |Strength,+[[@{selected|strength_mod}]][STR] ]]&#125;&#125; {{rname=^{strength-u&#125;&#125;&#125; {{mod=[[ [[@{selected|strength_mod}]][STR] ]]&#125;&#125; {{r1=[[@{selected|d20}+[[@{selected|strength_mod}]][STR] ]]
> |Dexterity,+[[@{selected|dexterity_mod}]][DEX] ]]&#125;&#125; {{rname=^{dexterity-u&#125;&#125;&#125; {{mod=[[ [[@{selected|dexterity_mod}]][DEX] ]]&#125;&#125; {{r1=[[@{selected|d20}+[[@{selected|dexterity_mod}]][DEX] ]]
> |Constitution,+[[@{selected|constitution_mod}]][CON] ]]&#125;&#125; {{rname=^{constitution-u&#125;&#125;&#125; {{mod=[[ [[@{selected|constitution_mod}]][CON] ]]&#125;&#125; {{r1=[[@{selected|d20}+[[@{selected|constitution_mod}]][CON] ]]
> |Intelligence,+[[@{selected|intelligence_mod}]][INT] ]]&#125;&#125; {{rname=^{intelligence-u&#125;&#125;&#125; {{mod=[[ [[@{selected|intelligence_mod}]][INT] ]]&#125;&#125; {{r1=[[@{selected|d20}+[[@{selected|intelligence_mod}]][INT] ]]
> |Wisdom,+[[@{selected|wisdom_mod}]][WIS] ]]&#125;&#125; {{rname=^{wisdom-u&#125;&#125;&#125; {{mod=[[ [[@{selected|wisdom_mod}]][WIS] ]]&#125;&#125; {{r1=[[@{selected|d20}+[[@{selected|wisdom_mod}]][WIS] ]]
> |Charisma,+[[@{selected|charisma_mod}]][CHA] ]]&#125;&#125; {{rname=^{charisma-u&#125;&#125;&#125; {{mod=[[ [[@{selected|charisma_mod}]][CHA] ]]&#125;&#125; {{r1=[[@{selected|d20}+[[@{selected|charisma_mod}]][CHA] ]]
> }}} @{selected|global_skill_mod} @{selected|charname_output}
> ```
>
> #### SavesOGL

Название в панели: 🎲

**Описание:** Для выделенного токена персонажа осуществляет бросок инициативы и добавляет токен в трекер.

> НЕОБХОДИМО ПРОТЕСТИРОВАТЬ

**Требуемые скрипты:** N/A

```
@{selected|wtype}&{template:simple} @{selected|rtype}?{Save
|Strength,+[[(@{selected|strength_save_bonus}@{selected|pbd_safe}*(1-ceil((@{selected|npc})*0.00001)))+(@{selected|npc_str_save}*@{selected|npc})]][STR SAVE] ]]&#125;&#125; {{rname=^{strength-save-u&#125;&#125;&#125; {{mod=[[ [[(@{selected|strength_save_bonus}@{selected|pbd_safe}*(1-ceil((@{selected|npc})*0.00001)))+(@{selected|npc_str_save}*@{selected|npc})]][STR SAVE] ]]&#125;&#125; {{r1=[[@{selected|d20}+[[(@{selected|strength_save_bonus}@{selected|pbd_safe}*(1-ceil((@{selected|npc})*0.00001)))+(@{selected|npc_str_save}*@{selected|npc})]][STR SAVE] ]]
|Dexterity,+[[(@{selected|dexterity_save_bonus}@{selected|pbd_safe}*(1-ceil((@{selected|npc})*0.00001)))+(@{selected|npc_dex_save}*@{selected|npc})]][DEX SAVE] ]]&#125;&#125; {{rname=^{dexterity-save-u&#125;&#125;&#125; {{mod=[[ [[(@{selected|dexterity_save_bonus}@{selected|pbd_safe}*(1-ceil((@{selected|npc})*0.00001)))+(@{selected|npc_dex_save}*@{selected|npc})]][DEX SAVE] ]]&#125;&#125; {{r1=[[@{selected|d20}+[[(@{selected|dexterity_save_bonus}@{selected|pbd_safe}*(1-ceil((@{selected|npc})*0.00001)))+(@{selected|npc_dex_save}*@{selected|npc})]][DEX SAVE] ]]
|Constitution,+[[(@{selected|constitution_save_bonus}@{selected|pbd_safe}*(1-ceil((@{selected|npc})*0.00001)))+(@{selected|npc_con_save}*@{selected|npc})]][CON SAVE] ]]&#125;&#125; {{rname=^{constitution-save-u&#125;&#125;&#125; {{mod=[[ [[(@{selected|constitution_save_bonus}@{selected|pbd_safe}*(1-ceil((@{selected|npc})*0.00001)))+(@{selected|npc_con_save}*@{selected|npc})]][CON SAVE] ]]&#125;&#125; {{r1=[[@{selected|d20}+[[(@{selected|constitution_save_bonus}@{selected|pbd_safe}*(1-ceil((@{selected|npc})*0.00001)))+(@{selected|npc_con_save}*@{selected|npc})]][CON SAVE] ]]
|Intelligence,+[[(@{selected|intelligence_save_bonus}@{selected|pbd_safe}*(1-ceil((@{selected|npc})*0.00001)))+(@{selected|npc_int_save}*@{selected|npc})]][INT SAVE] ]]&#125;&#125; {{rname=^{intelligence-save-u&#125;&#125;&#125; {{mod=[[ [[(@{selected|intelligence_save_bonus}@{selected|pbd_safe}*(1-ceil((@{selected|npc})*0.00001)))+(@{selected|npc_int_save}*@{selected|npc})]][INT SAVE] ]]&#125;&#125; {{r1=[[@{selected|d20}+[[(@{selected|intelligence_save_bonus}@{selected|pbd_safe}*(1-ceil((@{selected|npc})*0.00001)))+(@{selected|npc_int_save}*@{selected|npc})]][INT SAVE] ]]
|Wisdom,+[[(@{selected|wisdom_save_bonus}@{selected|pbd_safe}*(1-ceil((@{selected|npc})*0.00001)))+(@{selected|npc_wis_save}*@{selected|npc})]][WIS SAVE] ]]&#125;&#125; {{rname=^{wisdom-save-u&#125;&#125;&#125; {{mod=[[ [[(@{selected|wisdom_save_bonus}@{selected|pbd_safe}*(1-ceil((@{selected|npc})*0.00001)))+(@{selected|npc_wis_save}*@{selected|npc})]][WIS SAVE] ]]&#125;&#125; {{r1=[[@{selected|d20}+[[(@{selected|wisdom_save_bonus}@{selected|pbd_safe}*(1-ceil((@{selected|npc})*0.00001)))+(@{selected|npc_wis_save}*@{selected|npc})]][WIS SAVE] ]]
|Charisma,+[[(@{selected|charisma_save_bonus}@{selected|pbd_safe}*(1-ceil((@{selected|npc})*0.00001)))+(@{selected|npc_cha_save}*@{selected|npc})]][CHA SAVE] ]]&#125;&#125; {{rname=^{charisma-save-u&#125;&#125;&#125; {{mod=[[ [[(@{selected|charisma_save_bonus}@{selected|pbd_safe}*(1-ceil((@{selected|npc})*0.00001)))+(@{selected|npc_cha_save}*@{selected|npc})]][CHA SAVE] ]]&#125;&#125; {{r1=[[@{selected|d20}+[[(@{selected|charisma_save_bonus}@{selected|pbd_safe}*(1-ceil((@{selected|npc})*0.00001)))+(@{selected|npc_cha_save}*@{selected|npc})]][CHA SAVE] ]]
}}} @{selected|global_save_mod} @{selected|charname_output}
```

#### short rest

```
@{selected|wtype}&{template:simple} {{rname=^{hit-dice-u}}} {{mod=?{How many hit dice would you like to spend?|1}D@{selected|hitdie_final}+[[@{selected|constitution_mod}*?{How many hit dice would you like to spend?}[CON]]]}} {{r1=[[ ?{How many hit dice would you like to spend?}d@{selected|hitdie_final}+[[@{selected|constitution_mod}* ?{How many hit dice would you like to spend?}]][CON]]]}} {{normal=1}} @{selected|charname_output} {{charname=@{selected|token_name}}}
```

### Макросы для ДМ-ов OGL

#### ⚙⚔ Group-initiative-OGL-setup

**Описание:** Одноразовый макрос - производит настройку Group Initiative для листа персонажа Roll20 5e OGL

**Требуемые скрипты:** N/A

```
!group-check-config --import 5E-OGL
!group-init --del-group 1
!group-init-config --toggle-replace-roll
!group-init --add-group --bare initiative_bonus
```

#### 💤LR

**Описание:** Делает длинный отдых персонажу (обновляет значения расходуемых ресурсов и обновляет значение bar3) ***Automated Long Rest and Token Bar Refresh***

**Требуемые скрипты:** [Token Mod](https://github.com/palikhov/palant_roll20_setup/wiki/02.-API-Scripts#tokenmod), [5th Edition OGL by Roll20 Companion](https://github.com/palikhov/palant_roll20_setup/wiki/02.-API-Scripts#5th-edition-ogl-by-roll20-companion)

```
!longrest @{selected|character_name}
!token-mod --set bar3_reset|
```

#### 💀MONSTER-SETUP

💀M

> НЕОБХОДИМО ПРОТЕСТИРОВАТЬ

**Описание:** Настройка токена монстра (1 лист персонажа - много монстров)

**Требуемые скрипты:** [Token Mod](https://github.com/palikhov/palant_roll20_setup/wiki/02.-API-Scripts#tokenmod)

```
!token-mod --set bar3_link| bar2_link| bar1_link| showname|yes bar3|[[@{selected|npc_hpformula}]] bar2_value|@{selected|npc_ac} bar1_value|@{selected|npc_speed} height|[[@{selected|token_size}*70]] width|[[@{selected|token_size}*70]] name|"@{selected|npc_name} %%NUMBERED%%" bar1_max| bar2_max| defaulttoken
```

#### 💀NAMED-NPC-SETUP

> НЕОБХОДИМО ПРОТЕСТИРОВАТЬ

💀N

**Описание:** Настройка токена неигрового персонажа (1 лист персонажа - много монстров)

**Требуемые скрипты:** [Token Mod](https://github.com/palikhov/palant_roll20_setup/wiki/02.-API-Scripts#tokenmod)

```
!token-mod --set  bar3_reset| bar1_reset| bar2_reset| bar3_link|hp showname|yes bar3|@{selected|hp|max} bar2_value|@{selected|npc_ac} bar1_value|@{selected|npc_speed} height|[[@{selected|token_size}*70]] width|[[@{selected|token_size}*70]] name|"@{selected|npc_name}" defaulttoken
```

#### 💀PC Setup

💀P

> НЕОБХОДИМО НАПИСАТЬ **Описание:**

**Требуемые скрипты:** [Token Mod](https://github.com/palikhov/palant_roll20_setup/wiki/02.-API-Scripts#tokenmod)

```
!token-mod --set  bar3_reset| bar1_reset| bar2_reset| bar3_link|hp showname|yes bar3|@{selected|hp|max} bar2_value|@{selected|ac} bar1_value|@{selected|speed} height|[[@{selected|token_size}*70]] width|[[@{selected|token_size}*70]] name|"@{selected|character_name}" defaulttoken
!token mod light_hassight --on 
!token-mod --set light_radius#60 light_dimradius#=0 --off light_otherplayers
```

#### clear all status marker

```
!token-mod --set statusmarkers|=blue|-blue
```

#### Moving selected tokens to gm layer

```
!token-mod --set layer|gmlayer
```

#### GameUtilities-0

Название в панели: 📘

**Описание:**

Set Default Token - устанавливает выбранный токен как токен по умолчанию для выбранного в настройках токена листа персонажа.

Token Mod API help - вызов справки по скрипту TokenMod

Create Token Actions - запуск скрипта TokenActions и создание следующих кнопок у токена: 2\_check, 3\_Save, и по одной кнопке для каждой атаки

Create Spellbok -создание спеллбука для выделенного персонажа и кнопки Spells

Create Attacks - создание кнопки Attacks вызывающей меню с возможными атаками персонажа (монстра)

Create Checks - создание кнопки Other вызывающей меню с проверками характеристик, навыков и спас-бросков

**Требуемые скрипты:** [Token Mod](https://github.com/palikhov/palant_roll20_setup/wiki/02.-API-Scripts#tokenmod), [Token actions](https://github.com/palikhov/palant_roll20_setup/wiki/02.-API-Scripts#token-actions), [5eOGL-books](https://github.com/palikhov/palant_roll20_setup/wiki/02.-API-Scripts#5eogl-books)

```
/w gm &{template:default}{{name=**Token-mod api**
[Set Default Token](!token-mod --set defaulttoken)
[Token Mod API help](!token-mod --help)
**TOKEN-ACTIONS**
[Create Token Actions](!ta) [Create Spellbook](!generate-spellbook) [Create Attacks](!generate-attackbook) [Create Checks](!generate-checkbook)}}
```

#### ​​​​​​​​​GameUtilitiesOGL-1

Название в панели: 📗

> разобраться и понять **Описание:** ХЗ

**Требуемые скрипты:** [Group Check](https://github.com/palikhov/palant_roll20_setup/wiki/02.-API-Scripts#groupcheck)

```
/w gm &{template:default}{{name=Game Utilitiess}}{{[Group Check](!group-check)[Reset HP](!token-mod --set bar3_reset|0)}}{{**Saves & Damage**}}{{[Play Slots](!token-mod --set statusmarkers|red:[[1d9]]|green:[[1d9]]|blue:[[1d9]] )}}{{**MI**}}{{[Players can ids](!token-mod --config players-can-ids|on)[Show name](!token-mod --on showname)[move selected tokens to gm layer](!token-mod --set layer|gmlayer)[turn blue aura on](!token-mod --on showplayers_aura1 --set aura1_radius|35 aura1_color|0000ff)}}{{[help](!token-mod --help)}}{{**Nameplate**}}{{[Name On](!token-mod --set showplayers_name|yes showname|yes) | [Name Off](!token-mod --set showplayers_name|no showname|yes)}}{{**Light & Vision**}}{{[Snuff](!token-mod --set light_otherplayers|off light_radius|0 light_dimradius|0 light_angle|360) | [Sight](!token-mod --on showname light_hassight light_angle|360) | [Blind](!token-mod --off showname light_hassight light_angle|360) | [Spot](!token-mod --set light_otherplayers|on light_radius|1 light_dimradius|0 light_angle|360) | [GM](!token-mod --set light_otherplayers|off light_radius|5 light_dimradius|5 light_angle|360)[Candle](!token-mod --set light_otherplayers|on light_radius|5 light_dimradius|0 light_angle|360) | [Lamp](!token-mod --set light_otherplayers|on light_radius|30 light_dimradius|15 light_angle|360) | [Torch](!token-mod --set light_otherplayers|on light_radius|40 light_dimradius|20 light_angle|360)[Hooded Lantern](!token-mod --set light_otherplayers|on light_radius|60 light_dimradius|30 light_angle|360) | [Bullseye Lantern](!token-mod --set light_otherplayers|on light_radius|120 light_dimradius|60 light_angle|90)[Darkvision](!token-mod --set light_otherplayers|off light_radius|60 light_dimradius|0 light_angle|360) | [DV90](!token-mod --set light_otherplayers|off light_radius|90 light_dimradius|0 light_angle|360) | [DV120](!token-mod --set light_otherplayers|off light_radius|120 light_dimradius|0 light_angle|360) | [*Light*](!token-mod --set light_otherplayers|on light_radius|40 light_dimradius|20 light_angle|360) | [*Daylight*](!token-mod --set light_otherplayers|on light_radius|120 light_dimradius|60 light_angle|360) | [*Faerie Fire*](!token-mod --set light_otherplayers|on light_radius|1 light_angle|3600 light_dimradius|0 statusmarkers|purple light_angle|360)}}{{**Status**}}{{[Blue](!token-mod --set statusmarkers|!blue) | [Purple](!token-mod --set statusmarkers|!purple) | [Pink](!token-mod --set statusmarkers|!pink) | [Yellow](!token-mod --set statusmarkers|!yellow) | [OFF](!token-mod --set statusmarkers|=dead|-dead)}}{{**Miscellaneous**}}{{[Follow](!showMarchingOrderMenu) }}{{**Initiative**}}{{[Roll Initiative](!group-init) | [Clear Tracker](!clear)}}{{[Sort Tracker](!order)}}{{**menu**}}{{[Set Default Token](!token-mod --set defaulttoken) }}
```

#### ​​​​​​​​​GameUtilitiesOGL-1

📕

> разобраться и понять **Описание:** ХЗ

**Требуемые скрипты:** [Token Mod](https://github.com/palikhov/palant_roll20_setup/wiki/02.-API-Scripts#tokenmod)

```
/w gm &{template:default} {{name=Game Utilities 2}}{{
**Saves & Damage**
[Group Check](!group-check)
[Reset HP](!token-mod --set bar3_reset|0)
[Direct Damage](!#Apply-Damage)
[Play Slots](!token-mod --set statusmarkers|red:[1d9]]|green:[[1d9]]|blue:[[1d9]])

**Light & Vision**
[Snuff](!token-mod --set light_otherplayers|off light_radius|0 light_dimradius|0 light_angle|360) | [Sight](!token-mod --on showname light_hassight light_angle|360) | [Blind](!token-mod --off showname light_hassight light_angle|360) | [Spot](!token-mod --set light_otherplayers|on light_radius|1 light_dimradius|0 light_angle|360) | [GM](!token-mod --set light_otherplayers|off light_radius|5 light_dimradius|5 light_angle|360) [Candle](!token-mod --set light_otherplayers|on light_radius|5 light_dimradius|0 light_angle|360) | [Lamp](!token-mod --set light_otherplayers|on light_radius|30 light_dimradius|15 light_angle|360) | [Torch](!token-mod --set light_otherplayers|on light_radius|40 light_dimradius|20 light_angle|360) [Hooded Lantern](!token-mod --set light_otherplayers|on light_radius|60 light_dimradius|30 light_angle|360) | [Bullseye Lantern](!token-mod --set light_otherplayers|on light_radius|120 light_dimradius|60 light_angle|90) [Darkvision](!token-mod --set light_otherplayers|off light_radius|60 light_dimradius|0 light_angle|360) | [DV90](!token-mod --set light_otherplayers|off light_radius|90 light_dimradius|0 light_angle|360) | [DV120](!token-mod --set light_otherplayers|off light_radius|120 light_dimradius|0 light_angle|360) | [*Light*](!token-mod --set light_otherplayers|on light_radius|40 light_dimradius|20 light_angle|360) | [*Daylight*](!token-mod --set light_otherplayers|on light_radius|120 light_dimradius|60 light_angle|360) | [*Faerie Fire*](!token-mod --set light_otherplayers|on light_radius|1 light_angle|3600 light_dimradius|0 statusmarkers|purple light_angle|360)

**Initiative**
[Roll Initiative](!group-init) | [Clear Tracker](!clear) | [Sort Tracker](!order)

**Status**
[Blue](!token-mod --set statusmarkers|!blue) | [Purple](!token-mod --set statusmarkers|!purple) | [Pink](!token-mod --set statusmarkers|!pink) | [Yellow](!token-mod --set statusmarkers|!yellow) | [OFF](!token-mod --set statusmarkers|=dead|-dead)

**Nameplate**
[Name On](!token-mod --set showplayers_name|yes showname|yes) | [Name Off](!token-mod --set showplayers_name|no showname|yes)

**MI**
[TokenMod ids](!token-mod --config players-can-ids|on)
[bull](!token-mod --on showname)
[move 2 gm layer](!token-mod --set layer|gmlayer)
[turn blue aura on](!token-mod --on showplayers_aura1 --set aura1_radius|35 aura1_color|0000ff)

[clear markers](!token-mod --set statusmarkers|=blue|-blue)
[Set Default Token](!token-mod --set defaulttoken) 

[help](!token-mod --help)

}}
```

#### 👁‍🗨SELECTED-PERCEPTION

**Описание:** Скрытно от игрока осуществляет проверку Восприятия и выводит информацию о пассивном Восприятии "шепотом" в чат.

**Требуемые скрипты:** N/A

```
/w gm @{selected|wtype}&{template:npc}{{always=1}} {{name=@{selected|npc_name}}} {{rname=Perception}} {{mod=}} {{r1=[[@{selected|d20}+[[@{selected|npc_perception}]][PERCEPTION]]]}} {{r2=[[@{selected|d20}+[[@{selected|npc_perception}]][PERCEPTION]]]}} 
/w gm @{selected|wtype}&{template:npc}{{normal=1}}{{name=@{selected|npc_name}}}{{rname=Passive Perception}} {{mod=}} {{r1=[[10+[[@{selected|npc_perception}]][PERCEPTION]]]}}
```

#### Party Perception

**Описание**: втайне от игроков делает активную проверку Perception и выводит показатель пассивного Восприятия.

Перед использованием необходимо заменить PC1, PC2, PC3, PC4 на имена персонажей.

```
/w gm @{PC1|wtype}&{template:npc}{{always=1}} {{name=@{PC1|npc_name}}} {{rname=Perception}} {{mod=}} {{r1=[[@{PC1|d20}+[[@{PC1|npc_perception}]][PERCEPTION]]]}} {{r2=[[@{PC1|d20}+[[@{PC1|npc_perception}]][PERCEPTION]]] Passive [[10+[[@{PC1|npc_perception}]][PERCEPTION]]]}} 
/w gm @{PC2|wtype}&{template:npc}{{always=1}} {{name=@{PC2|npc_name}}} {{rname=Perception}} {{mod=}} {{r1=[[@{PC2|d20}+[[@{PC1|npc_perception}]][PERCEPTION]]]}} {{r2=[[@{PC2|d20}+[[@{PC2|npc_perception}]][PERCEPTION]]] Passive [[10+[[@{PC2|npc_perception}]][PERCEPTION]]]}} 
/w gm @{PC3|wtype}&{template:npc}{{always=1}} {{name=@{PC3|npc_name}}} {{rname=Perception}} {{mod=}} {{r1=[[@{PC3|d20}+[[@{PC1|npc_perception}]][PERCEPTION]]]}} {{r2=[[@{PC3|d20}+[[@{PC3|npc_perception}]][PERCEPTION]]] Passive [[10+[[@{PC3|npc_perception}]][PERCEPTION]]]}} 
/w gm @{PC4|wtype}&{template:npc}{{always=1}} {{name=@{PC4|npc_name}}} {{rname=Perception}} {{mod=}} {{r1=[[@{PC4|d20}+[[@{PC4|npc_perception}]][PERCEPTION]]]}} {{r2=[[@{PC4|d20}+[[@{PC4|npc_perception}]][PERCEPTION]]] Passive [[10+[[@{PC4|npc_perception}]][PERCEPTION]]]}}
```

#### 👁Perception

**Описание:** Быстрая проверка Восприятия.

**Требуемые скрипты:** N/A

```
/w gm Perception: %{Selected|npc_perception} @{selected|wtype}&{template:npc} {{name=@{selected|npc_name}}} {{rname=Perception}} {{mod=@{selected|npc_perception}}} {{r1=[[1d20+@{selected|npc_perception}]]}} @{selected|rtype}+@{selected|npc_perception}]]}}
```

#### Party Stealth

**Описание**: втайне от игроков делает активную проверку Cкрытности.

Перед использованием необходимо заменить PC1, PC2, PC3, PC4 на имена персонажей.

```
```

#### Party Insight

**Описание**: втайне от игроков делает активную проверку Insight.

Перед использованием необходимо заменить PC1, PC2, PC3, PC4 на имена персонажей.

```
```

#### ❤❤healing-potions

**Описание:** С помощью выпадающего списка используется один из видов лечебных зелий, восстанавливая соответствующее количество HP

**Требуемые скрипты:** [Token Mod](https://github.com/palikhov/palant_roll20_setup/wiki/02.-API-Scripts#tokenmod)

```
&{template:npcaction} ?{Type| Healing, {{rname=Potion of Healing}} {{name=**@{Selected|character_name} is healed.**}} {{r1=[[ {@{target|Target|bar1}+2d4+2, @{target|Target|bar1|Max}d1}kl1]]}}

!token-mod --set bar1_value|[[{@{target|Target|bar1}+2d4+2, @{target|Target|bar1|Max}d1}kl1]] --ids @{target|Target|token_id}  | Greater, {{rname=Greater Potion of Healing}} {{name=**@{Selected|character_name} is healed.**}} {{r1=[[ {@{target|Target|bar1}+4d4+4, @{target|Target|bar1|Max}d1}kl1]]}}

!token-mod --set bar1_value|[[{@{target|Target|bar1}+4d4+4, @{target|Target|bar1|Max}d1}kl1]] --ids @{target|Target|token_id} | Superior, {{rname=Superior Potion of Healing}} {{name=**@{Selected|character_name} is healed.**}} {{r1=[[ {@{target|Target|bar1}+8d4+8, @{target|Target|bar1|Max}d1}kl1]]}}

!token-mod --set bar1_value|[[{@{target|Target|bar1}+8d4+8, @{target|Target|bar1|Max}d1}kl1]] --ids @{target|Target|token_id}| Supreme, {{rname=Supreme Potion of Healing}} {{name=**@{Selected|character_name} is healed.**}} {{r1=[[ {@{target|Target|bar1}+10d4+20, @{target|Target|bar1|Max}d1}kl1]]}}

!token-mod --set bar1_value|[[{@{target|Target|bar1}+10d4+20, @{target|Target|bar1|Max}d1}kl1]] --ids @{target|Target|token_id}}
```

#### 🛠️Base-menu

> проверить. абсолютно не уверен что работает так как я ожидаю **Описание:** Настройка токена

**Требуемые скрипты:** [Token Mod](https://github.com/palikhov/palant_roll20_setup/wiki/02.-API-Scripts#tokenmod)

```
!token-mod {{
  --on showname 
    light_hassight 
    showplayers_name 
    showplayers_bar1 
    showplayers_bar2 
    showplayers_bar3 
    showplayers_aura1 
    showplayers_aura2
  --set represents|?{Character Name} 
    bar2_link|ac
    bar1_link|hp
    bar3_link|spell_save_dc
    light_radius|5 
    light_dimradius|=-5
    defaulttoken
}}
```

#### 🗡ApplyDamage

> разобраться и понять **Описание:** ХЗ

**Требуемые скрипты:** [Group Check](https://github.com/palikhov/palant_roll20_setup/wiki/02.-API-Scripts#groupcheck)

```
!group-check {{
--Dexterity Save
--process
--subheader vs DC ?{DC}
--button ApplyDamage !apply-damage
~dmg [[?{Damage}]]
~type ?{Damage on Save|Half,half|None,none}
~DC ?{DC}
~saves RESULTS(,)
~ids IDS(,)
}}
```

#### ✍🏻Easy-Exp-Macros-OGL

**Описание:** Позволяет легко учитывать получаемый опыт, как с токенов противников, которые были побеждены так и с учетом ручного ввода. Версия для листа OGL

**Требуемые скрипты:** [Easy Expirience](https://github.com/palikhov/palant_roll20_setup/wiki/02.-API-Scripts#easyexperience)

```
/w gm &{template:default} {{name= Easy Experience}} {{content= 
Selected Token
[Token](!xp challenge     @{selected|xp} ?{How many|1} )
Manual
[Manual](!xp challenge ?{How much|0} )  
End of Session
[Session](!xp session)  
}}
```

#### 💀❤NPC-RND-HP

**Описание:** Перебрасывает значение HP у монстра / NPC перепрописывая их в токене

**Требуемые скрипты:** [Token Mod](https://github.com/palikhov/palant_roll20_setup/wiki/02.-API-Scripts#tokenmod)

```
!token-mod --set bar3|[[@{selected|npc_hpformula}]]
```

#### Potion-Healing

```
/em applies a Potion of healing to @{target|Target|token_name}
!token-mod {{
  --set
    bar3_value|[[{@{target|Target|bar3}+2d4+2, @{target|Target|bar3|Max}d1}kl1]]
  --ids
    @{target|Target|token_id}
}}
```

#### Light/Vision options

> Сверить с другими меню по видимости/обзору/зрению взять лучшее и потом удалить 👁
>
> ```
> ?{
> Light/Vision options:
> |Normal vision,!token-mod --set light_radius#1 light_dimradius#0 --on light_otherplayers
> |Off,!token-mod --set light_radius#0 light_dimradius#0 --off light_otherplayers
> |Darkvision,!token-mod --set light_radius#70 light_dimradius#=-70 --off light_otherplayers
> |Candle,!token-mod --set light_radius#10 light_dimradius#7 --on light_otherplayers
> |Lamp,!token-mod --set light_radius#30 light_dimradius#17 --on light_otherplayers
> |Torch/Light Cantrip,!token-mod --set light_radius#40 light_dimradius#22 --on light_otherplayers
> |Hooded Lantern/Bonfire,!token-mod --set light_radius#60 light_dimradius#31 --on light_otherplayers
> |Daylight Spell,!token-mod --set light_radius#120 light_dimradius#61 --on light_otherplayers
> |True Seeing,!token-mod --set light_radius#119 light_dimradius#119 --on light_otherplayers
> }
> ```

#### PCUtilsOGL

```
/w @{selected|character_name} &{template:desc} {{desc=
**PC Utilities**

[> Whisper to GM (wgm)](~PCutilsOGL|wgm)  
[> Whisper to Token (wch)](~PCutilsOGL|wch)
[> Miscellaneous D20 Roll (roll)](~PCutilsOGL|roll) 
[> Calculator (calc)](~PCutilsOGL|calc) 
[> Turn /talktomyself on/off (ttms)](~PCutilsOGL|ttms)
[> Post an Image (img)](~PCutilsOGL|img) 
[> Post a Link (link)](~PCutilsOGL|link) }}
```

#### InfoOGL

🛐

```
/w gm &{template:desc} {{desc=**INFO&HELP** 
Наш ►►►[Discord](https://discord.gg/Xsb4qC)

В данном кампании используется лист персонажа 
►►►**[5E OGL ROLL20](https://wiki.roll20.net/5th_Edition_OGL_by_Roll20)**

Документация на английском для листа персонажа - ►►►[**Documentation**](https://wiki.roll20.net/5th_Edition_OGL_by_Roll20) 

Настройка Roll20 при использовании 5E OGL ROLL20
►►►[**Руководство Palant'а**](https://github.com/palikhov/palant_roll20_setup/wiki/)

Дополнительное руководство для игроков с описанием настроек и используемых макросов доступно здесь - ►►►[**РУКОВОДСТВО ИГРОКА**](https://github.com/palikhov/palant_roll20_setup/wiki/06.-Руководство-для-игроков-OGL)
}}
```

#### a macro template for any repeating section of the OGL sheet

```
/w @{selected|character_name} &{template:npcaction} {{rname=Checks}} {{description=Select Attack
[@{selected|repeating_attack_$0_atkname}](~selected|repeating_attack_$0_attack)[@{selected|repeating_attack_$1_atkname}](~selected|repeating_attack_$1_attack) [@{selected|repeating_attack_$2_atkname}](~selected|repeating_attack_$2_attack)
}}
```

for spells

```
/w @{selected|character_name} &{template:npcaction} {{rname=Spells}} {{description=Select Spell
[@{selected|*******}](~selected|@@@@@@)
}}
```

***\*\**** replace with spell levels reference repeating macro (change spell to spellname) \[%{selected|repeating*spell-1*$0*spell} >>>> @{selected|repeating\_spell-1*$0\_spellname}]

List of callable names for each repeating section and their section name repeatin&#x67;*(section name)*$0\_(name called) traits > name tool > toolname proficiencies > name inventory > itemname (for money) @{selected|***} \[replace*** with cp,sp,ep,gp,pp]

#### Statblock macro

```
/w GM &{template:npcaction} {{rname=@{selected|npc_name}}} {{description=**AC** = @{selected|AC}
**Type** = @{selected|npc_type}
**Challenge** = @{selected|npcd_challenge}
**XP** = @{selected|npcd_xp}
**HP** = @{selected|npc_hpbase}
**Speed** = @{selected|npc_speed}
**STR** = @{selected|strength} @{selected|npcd_str_mod}
**DEX** = @{selected|dexterity} @{selected|npcd_dex_mod}
**CON** = @{selected|constitution}} @{selected|npcd_con_mod}
**INT** = @{selected|intelligence} @{selected|npcd_int_mod}
**WIS** = @{selected|wisdom} @{selected|npcd_wis_mod}
**CHA** = @{selected|charisma} @{selected|npcd_cha_mod}
**Immunity** = @{selected|npc_immunities}}
**Immunity Condition** = @{selected|npc_condition_immunities}} **Senses** = @{selected|npc_sensesbase}}}
```

####

```
&{template:default}{{name=Scorching Ray}}{{attack = + [[1d4]] on attack roll If bless is active
•[[1d20+@{Player_name|charisma_mod}+@{Player_name|pb}]]/[[1d20+@{Player_name|charisma_mod}+@{Player_name|pb}]]
[[2d6]]Fire[[1d6]] necrotic
[[2d6]]Fire[[1d6]] necrotic If crit
•[[1d20+@{Player_name|charisma_mod}+@{Player_name|pb}]]/[[1d20+@{Player_name|charisma_mod}+@{Player_name|pb}]]
[[2d6]]Fire[[1d6]] necrotic
[[2d6]]Fire[[1d6]] necrotic If crit
•[[1d20+@{Player_name|charisma_mod}+@{Player_name|pb}]]/[[1d20+@{Player_name|charisma_mod}+@{Player_name|pb}]]
[[2d6]]Fire[[1d6]] necrotic
[[2d6]]Fire[[1d6]] necrotic If crit ?{Spell Slot|
2,
My 3 **Rays** do **Fire Damage** to selected targets |
3,
• Attack 4 [[1d20+@{Player_name|charisma_mod}+@{Player_name|pb}]]/[[1d20+@{Player_name|charisma_mod}+@{Player_name|pb}]]
[[2d6]]Fire[[1d6]] necrotic
[[2d6]]Fire[[1d6]] necrotic If crit
My 4 **Rays** do **Fire Damage** to selected targets |
4,
• Attack 4 [[1d20+@{Player_name|charisma_mod}+@{Player_name|pb}]]/[[1d20+@{Player_name|charisma_mod}+@{Player_name|pb}]]
[[2d6]]Fire[[1d6]] necrotic
[[2d6]]Fire[[1d6]] necrotic If crit
• Attack 5 [[1d20+@{Player_name|charisma_mod}+@{Player_name|pb}]]/[[1d20+@{Player_name|charisma_mod}+@{Player_name|pb}]]
[[2d6]]Fire[[1d6]] necrotic
[[2d6]]Fire[[1d6]] necrotic If crit
My 5 **Rays** do **Fire Damage** to selected targets|
5,
• [[1d20+@{Player_name|charisma_mod}+@{Player_name|pb}]]/[[1d20+@{Player_name|charisma_mod}+@{Player_name|pb}]]
[[2d6]]Fire[[1d6]] necrotic
[[2d6]]Fire[[1d6]] necrotic If crit
• [[1d20+@{Player_name|charisma_mod}+@{Player_name|pb}]]/[[1d20+@{Player_name|charisma_mod}+@{Player_name|pb}]]
[[2d6]]Fire[[1d6]] necrotic
[[2d6]]Fire[[1d6]] necrotic If crit
• [[1d20+@{Player_name|charisma_mod}+@{Player_name|pb}]]/[[1d20+@{Player_name|charisma_mod}+@{Player_name|pb}]]
[[2d6]]Fire[[1d6]] necrotic
[[2d6]]Fire[[1d6]] necrotic If crit
My 6 **Rays** do **Fire Damage** to selected targets|
6,
• [[1d20+@{Player_name|charisma_mod}+@{Player_name|pb}]]/[[1d20+@{Player_name|charisma_mod}+@{Player_name|pb}]]
[[2d6]]Fire[[1d6]] necrotic
[[2d6]]Fire[[1d6]] necrotic If crit
• [[1d20+@{Player_name|charisma_mod}+@{Player_name|pb}]]/[[1d20+@{Player_name|charisma_mod}+@{Player_name|pb}]]
[[2d6]]Fire[[1d6]] necrotic
[[2d6]]Fire[[1d6]] necrotic If crit
• [[1d20+@{Player_name|charisma_mod}+@{Player_name|pb}]]/[[1d20+@{Player_name|charisma_mod}+@{Player_name|pb}]]
[[2d6]]Fire[[1d6]] necrotic
[[2d6]]Fire[[1d6]] necrotic If crit
• [[1d20+@{Player_name|charisma_mod}+@{Player_name|pb}]]/[[1d20+@{Player_name|charisma_mod}+@{Player_name|pb}]]
[[2d6]]Fire[[1d6]] necrotic
[[2d6]]Fire[[1d6]] necrotic If crit
My 7 **Rays** do **Fire Damage** to selected targets|
7,
• [[1d20+@{Player_name|charisma_mod}+@{Player_name|pb}]]/[[1d20+@{Player_name|charisma_mod}+@{Player_name|pb}]]
[[2d6]]Fire[[1d6]] necrotic
[[2d6]]Fire[[1d6]] necrotic If crit
• [[1d20+@{Player_name|charisma_mod}+@{Player_name|pb}]]/[[1d20+@{Player_name|charisma_mod}+@{Player_name|pb}]]
[[2d6]]Fire[[1d6]] necrotic
[[2d6]]Fire[[1d6]] necrotic If crit
• [[1d20+@{Player_name|charisma_mod}+@{Player_name|pb}]]/[[1d20+@{Player_name|charisma_mod}+@{Player_name|pb}]]
[[2d6]]Fire[[1d6]] necrotic
[[2d6]]Fire[[1d6]] necrotic If crit
• [[1d20+@{Player_name|charisma_mod}+@{Player_name|pb}]]/[[1d20+@{Player_name|charisma_mod}+@{Player_name|pb}]]
[[2d6]]Fire[[1d6]] necrotic
[[2d6]]Fire[[1d6]] necrotic If crit
• [[1d20+@{Player_name|charisma_mod}+@{Player_name|pb}]]/[[1d20+@{Player_name|charisma_mod}+@{Player_name|pb}]]
[[2d6]]Fire[[1d6]] necrotic
[[2d6]]Fire[[1d6]] necrotic If crit
My 8 **Rays** do **Fire Damage** to selected targets|
8,
• [[1d20+@{Player_name|charisma_mod}+@{Player_name|pb}]]/[[1d20+@{Player_name|charisma_mod}+@{Player_name|pb}]]
[[2d6]]Fire[[1d6]] necrotic
[[2d6]]Fire[[1d6]] necrotic If crit
• [[1d20+@{Player_name|charisma_mod}+@{Player_name|pb}]]/[[1d20+@{Player_name|charisma_mod}+@{Player_name|pb}]]
[[2d6]]Fire[[1d6]] necrotic
[[2d6]]Fire[[1d6]] necrotic If crit
• [[1d20+@{Player_name|charisma_mod}+@{Player_name|pb}]]/[[1d20+@{Player_name|charisma_mod}+@{Player_name|pb}]]
[[2d6]]Fire[[1d6]] necrotic
[[2d6]]Fire[[1d6]] necrotic If crit
• [[1d20+@{Player_name|charisma_mod}+@{Player_name|pb}]]/[[1d20+@{Player_name|charisma_mod}+@{Player_name|pb}]]
[[2d6]]Fire[[1d6]] necrotic
[[2d6]]Fire[[1d6]] necrotic If crit
• [[1d20+@{Player_name|charisma_mod}+@{Player_name|pb}]]/[[1d20+@{Player_name|charisma_mod}+@{Player_name|pb}]]
[[2d6]]Fire[[1d6]] necrotic
[[2d6]]Fire[[1d6]] necrotic If crit
• [[1d20+@{Player_name|charisma_mod}+@{Player_name|pb}]]/[[1d20+@{Player_name|charisma_mod}+@{Player_name|pb}]]
[[2d6]]Fire[[1d6]] necrotic
[[2d6]]Fire[[1d6]] necrotic If crit
My 9 **Rays** do **Fire Damage** to selected targets|
9,
• [[1d20+@{Player_name|charisma_mod}+@{Player_name|pb}]]/[[1d20+@{Player_name|charisma_mod}+@{Player_name|pb}]]
[[2d6]]Fire[[1d6]] necrotic
[[2d6]]Fire[[1d6]] necrotic If crit
• [[1d20+@{Player_name|charisma_mod}+@{Player_name|pb}]]/[[1d20+@{Player_name|charisma_mod}+@{Player_name|pb}]]
[[2d6]]Fire[[1d6]] necrotic
[[2d6]]Fire[[1d6]] necrotic If crit
• [[1d20+@{Player_name|charisma_mod}+@{Player_name|pb}]]/[[1d20+@{Player_name|charisma_mod}+@{Player_name|pb}]]
[[2d6]]Fire[[1d6]] necrotic
[[2d6]]Fire[[1d6]] necrotic If crit
• [[1d20+@{Player_name|charisma_mod}+@{Player_name|pb}]]/[[1d20+@{Player_name|charisma_mod}+@{Player_name|pb}]]
[[2d6]]Fire[[1d6]] necrotic
[[2d6]]Fire[[1d6]] necrotic If crit
• [[1d20+@{Player_name|charisma_mod}+@{Player_name|pb}]]/[[1d20+@{Player_name|charisma_mod}+@{Player_name|pb}]]
[[2d6]]Fire[[1d6]] necrotic
[[2d6]]Fire[[1d6]] necrotic If crit
• [[1d20+@{Player_name|charisma_mod}+@{Player_name|pb}]]/[[1d20+@{Player_name|charisma_mod}+@{Player_name|pb}]]
[[2d6]]Fire[[1d6]] necrotic
[[2d6]]Fire[[1d6]] necrotic If crit
• [[1d20+@{Player_name|charisma_mod}+@{Player_name|pb}]]/[[1d20+@{Player_name|charisma_mod}+@{Player_name|pb}]]
[[2d6]]Fire[[1d6]] necrotic
[[2d6]]Fire[[1d6]] necrotic If crit
My 10 **Rays** do **Fire Damage** to selected targets
}}}
```

#### TokenUtilsOGL

🔗Token

```
/w @{selected|character_name} &{template:desc} {{desc=

**Token Utilities 1**

[Create token of monster](~DMUtilsOGL|Monster-Token-Setup)  
[Create token of NPC](~DMUtilsOGL|NPC-Token-Setup)
[Create token of PC](~DMUtilsOGL|PC-Token-Setup) 
[NPC RND HP](~DMUtilsOGL|NPC-RND-HP) 
 }}
```

#### Заготовка для спеллбука NPC

```
@{wtype} &{template:default}{{name=@{character_name} Spellcasting}} {{Spell Save DC @{spell_save_dc}=@{spell_attack_bonus} to hit with spell attacks}}{{Spells
=[@{repeating_spell-cantrip_$0_spellname}](~selected|repeating_spell-cantrip_$0_spell)
[@{repeating_spell-cantrip_$1_spellname}](~selected|repeating_spell-cantrip_$1_spell)
[@{repeating_spell-cantrip_$2_spellname}](~selected|repeating_spell-cantrip_$2_spell)
[@{repeating_spell-1_$0_spellname}](~selected|repeating_spell-1_$0_spell)
[@{repeating_spell-1_$1_spellname}](~selected|repeating_spell-1_$1_spell)
[@{repeating_spell-2_$0_spellname}](~selected|repeating_spell-2_$0_spell)
[@{repeating_spell-2_$1_spellname}](~selected|repeating_spell-2_$1_spell)
}}
```

### Макросы для магических предметов

#### Wand of Magic Missiles OGL

```
@{wtype} &{template:atkdmg} {{rname=Wand of Magic Missiles}} {{attack=0}} {{range=120 feet}} {{damage=1}} {{dmg1flag=1}} {{dmg1=[[ [[2+?{Charges|1}]]d4 + [[2+?{Charges}]] ]]}} {{dmg1type=force}} {{damage=1}} {{desc=1}} {{desc=?{Charges} charge(s)}} {{charname=@{Testing|character_name}}}

!setattr --charid @{Testing|character_id} --repeating_resource_$0_resource_right|1 --silent
```

[Roll20 forum](https://app.roll20.net/forum/post/4467673/slug})

#### Staff of Healing OGL

```
/em using Staff of Healing
?{Staff of Healing|Cure Wounds,%{Testing|Cure-Wounds}|Lesser Restoration,%{Testing|Lesser-Restoration}|Mass Cure Wounds,%{Testing|Mass-Cure-Wounds}}
```

```
@{wtype}&{template:dmg&# 125; {{rname=Cure Wounds&# 125;&# 125;{{range=Touch&# 125;&# 125;{{damage=1&# 125;&# 125;{{dmg1flag=1&# 125;&# 125; {{dmg1=[[1d8+[[@{spellcasting_ability}]]]]&# 125;&# 125; {{dmg1type=Healing&# 125;&# 125;{{hldmg=[[[[(1*{(?{Charges&# 124;1&# 124;2&# 124;3&# 124;4&# 125;-1)&# 44;@{other_resource}&# 125;kl1)]]d8]]&# 125;&# 125;
!setattr --charid @{character_id} --modb --other_resource&# 124;-?{Charges&# 125; --silent
```

```
@{wtype}&{template:spell&# 125; {{level=abjuration 2&# 125;&# 125;  {{name=Lesser Restoration&# 125;&# 125; {{castingtime=1 action&# 125;&# 125; {{range=Touch&# 125;&# 125;{{v=1&# 125;&# 125; {{s=1&# 125;&# 125;{{duration=Instantaneous&# 125;&# 125;{{description=You touch a creature and can end either one disease or one condition afflicting it. The condition can be blinded&# 44; deafened&# 44; paralyzed&# 44; or poisoned.&# 125;&# 125;
!setattr --charid @{character_id} --modb --other_resource&# 124;-2 --silent
```

```
@{wtype}&{template:dmg&# 125;{{rname=Mass Cure Wounds&# 125;&# 125;{{range=60 ft&# 125;&# 125;{{damage=1&# 125;&# 125;{{dmg1flag=1&# 125;&# 125;{{dmg1=[[3d8]]&# 125;&# 125;{{dmg1type=Healing&# 125;&# 125;
!setattr --charid @{character_id} --modb --other_resource&# 124;-5 --silent
```

```
@{output_option} &{template:5e-shaped&# 125;{{title=Mass Cure Wounds&# 125;&# 125;{{range=60 ft&# 125;&# 125;{{trait=1&# 125;&# 125;{{heal=[[3d8]]&# 125;&# 125; {{uses=@{repeating_equipment_-KbFI1CvPYgpQEOMsWgZ_uses}&# 125;&# 125;  {{uses_max=@{repeating_equipment_-KbFI1CvPYgpQEOMsWgZ_uses|max}&# 125;&# 125; 
!setattr --charid @{character_id} --modb --repeating_equipment_-KbFI1CvPYgpQEOMsWgZ_uses&# 124;-5 --silent
```

```
@{output_option} &{template:5e-shaped&# 125; {{title=Lesser Restoration&# 125;&# 125; {{spell=1&# 125;&# 125; {{spell_level=^{2ND_LEVEL&# 125;&# 125;&# 125; {{school=^{ABJURATION&# 125;&# 125;&# 125; {{casting_time=^{1_ACTION&# 125;&# 125;&# 125;  {{range=Touch&# 125;&# 125; {{components=^{COMPONENTS_V_S&# 125;&# 125;&# 125; {{duration=^{INSTANTANEOUS&# 125;&# 125;&# 125; {{content=You touch a creature and can end either one disease or one condition afflicting it. The condition can be blinded&# 44; deafened&# 44; paralyzed&# 44; or poisoned.&# 125;&# 125;
!setattr --charid @{character_id} --modb --repeating_equipment_-KbFI1CvPYgpQEOMsWgZ_uses&#  124;-2 --silent
```

<https://app.roll20.net/forum/post/4467673/slug}>

### Перечень макросов, работающих в базовом аккаунте
