Browse Source

Scavenge powercard, shares calculator page, handbook points at detailed TOC

master
Brandon Cornejo 4 years ago
parent
commit
7487d3d390
  1. 2
      acks/templates/base.html
  2. 2
      acks/templates/shares_calc.html
  3. 32
      roll20/macros/scavengcard.macro

2
acks/templates/base.html

@ -17,7 +17,7 @@
{% set navigation_bar = [ {% set navigation_bar = [
('/', 'index', 'Home', false), ('/', 'index', 'Home', false),
('/handbook', 'handbook', 'Handbook', false),
('/handbook#detailed-table-of-contents', 'handbook', 'Handbook', false),
(player_bar, 'section', 'Player Resources', false), (player_bar, 'section', 'Player Resources', false),
(judge_bar, 'section', 'Judge Resources', false), (judge_bar, 'section', 'Judge Resources', false),
('https://reddit.com/r/PalismaACKS', 'subreddit', '/r/PalismaACKS', true), ('https://reddit.com/r/PalismaACKS', 'subreddit', '/r/PalismaACKS', true),

2
acks/templates/shares_calc.html

@ -51,7 +51,7 @@
</form> </form>
</div> </div>
<div class="uk-width-1-3"> <div class="uk-width-1-3">
<h4>Henchmen GP Shares</h4>
<h4>Henchmen XP Shares</h4>
<table id="hench_shares" class="uk-table"> <table id="hench_shares" class="uk-table">
<thead> <thead>
<tr> <tr>

32
roll20/macros/scavengcard.macro

@ -0,0 +1,32 @@
!scriptcard {{
--#title|Scavenge Gear
--:Initialize Roll Vars|
--&EqType|?{Equipment Type?|Bladed Weapon,Scavenge-Blade|Blunt Weapon,Scavenge-Blunt|Armour and Equipment,Scavenge-Other}
--=Quantity|?{Quantity?|1}
--=Roll|
--=RollCount|0
--?[&EqType] -eq Scavenge-Blade|>Blade;[$Quantity]
--?[&EqType] -eq Scavenge-Blunt|>Blunt;[$Quantity]
--?[&EqType] -eq Scavenge-Other|>Other;[$Quantity]
--:Loop|
--=RollCount|[$RollCount] + 1
-->RollTable|
--+[$RollCount]|[$Roll.tableEntryText]
--?[$RollCount] -lt [$Quantity]|Loop
--X| End macro
--:Blade| --+Bladed Weapon(s)|Rolling [%1%] times --<|
--:Blunt| --+Blunt Weapon(s)|Rolling [%1%] times --<|
--:Other| --+Armour/Other|Rolling [%1%] times --<|
--:FUNCTIONS|
--:RollTable|
--=Roll|[T#[&EqType]]
--<|
}}
Loading…
Cancel
Save