Skip to content

Instantly share code, notes, and snippets.

View palikhov's full-sized avatar
🐉
E5E / SRD 5.1 rus / Excel GM Tools

Anton Palikhov palikhov

🐉
E5E / SRD 5.1 rus / Excel GM Tools
View GitHub Profile
@palikhov
palikhov / Word2WABBCode02_01122021.vba
Created December 1, 2021 12:29
Macro to convert formatted Word document to Worldanvil BBCode
'Word2BBCode-Converter v0.2, December 1, 2021
'Palant edition
'Some parts adapted from
'Word2Wiki-Converter V0.4, May 28, 2006 and Matthew Kruer project
'http://de.wikipedia.org/wiki/Wikipedia:Helferlein/Word2MediaWikiPlus
'Original Version by InfPro: http://www.infpro.com/downloads/downloads/wordmedia.htm
'Major improvements by Gunter Schmidt, Mail me: [email protected]
'Works only with Word 2000 and above
'License: GPL: Feel free to use and modify. Keep the credits and do not sell.
'Functionality:
@palikhov
palikhov / StatBlockTutorials.md
Created January 4, 2022 06:53 — forked from cfi2017/StatBlockTutorials.md
Converting CritterDB, Homebrewery, GM-Binder stat blocks and more

Stat Block Conversion Tutorials

This page will show you how to convert statblocks from various different formats into others.

Formats and Systems

  • CritterDB CritterDB is a relatively new service that offers bestiaries to store and public stat blocks in. Easily create a stat block and have it displayed a great way. Personally, this is my go to when creating new creatures and critters. A major advantage of this format is that while you can convert from this format to any other, you can not convert back to it.
  • Homebrewery or GM-Binder Both Homebrewery and GM-Binder are great when it comes to easily creating documents that look like they could be written by wizards themselves. They make use of the markdown format, which makes both reading, writing and editing easy, even for machines.
@palikhov
palikhov / global_macros.txt
Created January 4, 2022 06:54 — forked from heysl/global_macros.txt
Roll20.net - useful Macros
*** Based on "D&D 5E by Roll20" Character Sheet v4.21 (https://wiki.roll20.net/D%26D_5E_by_Roll20) ***
! Select token to use !
! Don't forget to set 'In Bar' option in global macros list !
Initiative
%{selected|npc_init}
Resistances/Immunities
/w gm &{template:default} {{name=DR/Immunities: @{selected|npc_name}}} {{Dmg Resistance= @{selected|npc_resistances}}} {{Dmg Vulnerability= @{selected|npc_vulnerabilities}}} {{Dmg Immunity= @{selected|npc_immunities}}} {{Condition Immunity= @{selected|npc_condition_immunities}}}
@palikhov
palikhov / Spells - Druid
Created January 4, 2022 06:55 — forked from bradleyallanpatterson/Spells - Druid
Generic Roll20 Character Macro for spells - druid spells
/w @{character_name} &{template:atk} {{desc=**Spells**
**1st:**
**2nd:**
**3rd:**
**4th:**
@palikhov
palikhov / Spells - Paladin
Created January 4, 2022 06:55 — forked from bradleyallanpatterson/Spells - Paladin
Generic Roll20 Character Macro for spells - paladin spells
/w @{character_name} &{template:atk} {{desc=**Spells**
**1st:**
[Searing Smite](!
%{@{selected|character_name}|Spell_1_SearingSmite})
[Thunderous Smite](!
%{@{selected|character_name}|Spell_1_ThunderSmite})
}}
@palikhov
palikhov / Spells - Cleric
Created January 4, 2022 06:55 — forked from bradleyallanpatterson/Spells - Cleric
Generic Roll20 Character Macro for spells - cleric spells
/w @{character_name} &{template:atk} {{desc=**Spells**
**Cantrips:**
**1st:**
[Searing Smite](!
%{@{selected|character_name}|Spell_1_SearingSmite})
[Thunderous Smite](!
%{@{selected|character_name}|Spell_1_ThunderSmite})
**2nd:**
[Spiritual Weapon](!
%{@{selected|character_name}|Spell_2_SpiritualWeapon})
@palikhov
palikhov / Spells - Ranger
Created January 4, 2022 06:55 — forked from bradleyallanpatterson/Spells - Ranger
Generic Roll20 Character Macro for spells - ranger spells
/w @{character_name} &{template:atk} {{desc=**Spells**
**1st:**
[Cure Wounds](!
%{@{selected|character_name}|Spell_1_CureWounds})
[Detect Magic](!
%{@{selected|character_name}|Spell_1_Detect_Magic})
[Disguise Self](!
%{@{selected|character_name}|Spell_1_Disquise_Self})
[Detect Poison And Disease](!
%{@{selected|character_name}|Spell_1_Detect_Poison_Disease})
}}
@palikhov
palikhov / Spells - Wizard
Created January 4, 2022 06:55 — forked from bradleyallanpatterson/Spells - Wizard
Generic Roll20 Character Macro for spells - wizard spells
/w @{character_name} &{template:atk} {{desc=**Spellbook**
**Cantrips:**
[Chill Touch](!
%{@{selected|character_name}|Spell_0_ChillTouch})
[Fire Bolt](!
%{@{selected|character_name}|Spell_0_FireBolt})
**1st:**
[Burning Hands](!
%{@{selected|character_name}|Spell_1_BurningHands})
[Chromatic Orb](!
%{@{selected|character_name}|Spell_1_Chromatic_Orb})
[Magic Missile](!
%{@{selected|character_name}|Spell_1_MagicMissile})
@palikhov
palikhov / Character Stats
Created January 4, 2022 06:55 — forked from bradleyallanpatterson/Character Stats
Generic Roll20 Character Macro for skills initiative and saving throws
/w gm &{template:npcaction}{{rname=@{selected|character_name}}}{{name=@{selected|npc_type}
**HP: **@{selected|bar1} / @{selected|hp|max} | ** AC: ** @{selected|ac} | **Spd: ** @{selected|speed}
}}{{description=
[Initiative](~selected|INITIATIVE)
****
**Abilities**
[**Str @{selected|strength}** *(@{selected|strength_mod})*](~selected|npc_str) | [save](~selected|npc_str_save)
[**Dex @{selected|dexterity}** *(@{selected|dexterity_mod})*](~selected|npc_dec) | [save](~selected|npc_dex_save)
[**Con @{selected|constitution}** *(@{selected|constitution_mod})*](~selected|npc_con) | [save](~selected|npc_con_save)
[**Int @{selected|intelligence}** *(@{selected|intelligence_mod})*](~selected|npc_int) | [save](~selected|npc_int_save)
@palikhov
palikhov / spiritualWeapon.js
Created January 4, 2022 06:55 — forked from nolivo/spiritualWeapon.js
A script for use with Roll20 to summon a spiritual weapon to the right of a selected character's token
on("ready",function()
{
on("chat:message",function(msg){
if(msg.type=="api" && msg.content.indexOf("!spiritualWeapon")==0 && playerIsGM(msg.playerid))
{
var selected = msg.selected;
if (selected===undefined)
{
sendChat("API","Please select a character.");
return;