Browse Source

Make templates more general, add Anthony

marches
Josh Gordon 3 years ago
parent
commit
143e38eb12
  1. 104
      Characters/Vostrodamur.txt
  2. 3
      app/items.py
  3. 10
      app/routes.py
  4. 4
      app/templates/index.html
  5. 2
      app/templates/items.html

104
Characters/Vostrodamur.txt

@ -0,0 +1,104 @@
Anthony Vostrodamur | Human Wizard 16
Stats: (initial roll [15,9,12,16,13,12])
(+1 to all from human, +2 Int (ASI), +1Int (Keen Mind))
Int 20 (+5)
Wis 16 (+3)
Dex 14 (+2)
Con 14 (+2)
Cha 13 (+1)
Str 10 (+0)
HP: 98/98
AC: 12 (15 with mage armor)
+5 Proficiency
Saving throws: Int, Wis, Con
Skills: Arcana (+10), Investigation (+10)
Spell save DC: 8+5+5 = 18
Class Features:
Cantrips (5)
Fire Bolt (3d10 fire, 120 feet)
Shape Water (move water, freeze water for an hour, 5ft cube of water at 30ft)
Prestidigitation
Minor Illusion
Mending
Spellcasting [3,3,3,2,1,0,1,1,0]/[4,3,3,3,2,1,1,1,0]
Level 1
Mage Armor
Shield
Detect Magic
Find Familiar (Hawk)
Level 2
Detect Thoughts
Augury
Misty Step (Teleport 30ft)
Level 3
Clairvoyance
Fireball
Tiny Hut
Level 4
Arcane Eye
Locate Creature
Black Tentacles
Level 5
Scrying
Cone of Cold
Level 6
True Seeing
Level 7
Plane Shift
Level 8
Antimagic Field
Divination Tradition
Portent (_,_,_)
Roll 3 d20s at start of day. The roll can replace any roll made by a creature you see, but use of portent must be anounced before the roll is made
Expert Divination
When you cast a divination spell of 2nd level or higher using a spell slot, you regain one expended spell slot. The slot you regain must be of a level lower than the spell you cast and can’t be higher than 5th level.
Arcane Recovery
When you short rest, get back 8 levels worth of spell slots
Items:
Crystal Ball
(Cast scrying DC 17 at will)
Helm of Telepathy
(Detect thoughts DC 13 at will, also cast suggestion DC 13)
Robe of eyes
(See in all directions, advantage on perception based on sight, darkvision, see into ethereal plane)
(Can be blinded for 1 minute by a light spell)
Feats (3):
Keen Mind
+1 Int
Always know current time, and which way is north
Perfect memory for the past month
Resilient
+1 Con
Proficient in Con saving throws
Lucky (3/3)
```
You have 3 luck points. Whenever you make an attack roll, an ability check, or a saving throw, you can spend one luck point to roll an additional d20. You can choose to spend one of your luck points after you roll the die, but before the outcome is determined. You choose which of the d20s is used for the attack roll, ability check, or saving throw.
You can also spend one luck point when an attack roll is made against you. Roll a d20, and then choose whether the attack uses the attacker’s roll or yours. If more than one creature spends a luck point to influence the outcome of a roll, the points cancel each other out; no additional dice are rolled.You regain your expended luck points when you finish a long rest.
```
Story:
Anthony lived in a large city ruled by a tyrant for his entire childhood. His father worked secretly amongst other rebels, and plotted the assassination of the tyrant. The day before the plot was put into action, guards arrested all of the rebels with months of evidence from secret surveillance all around the city. His mother and siblings were forced out onto the street when he was young, permanently scarring Anthony. He found work as a wizard's apprentice, and studied divination magic to protect himself from the panopticon society he lived in.
While studying a certain spell, he forsaw a terrible workplace accident befalling his master, and was able to stop it in time. His master decided he should no longer be an apprentice, and recommended the wizard college to take him in as a graduate student. There, he studies ways to create and destroy privacy, and if privacy even exists in the first place.
Appearance:
Anthony is tall, dark brown hair, and has a scraggly beard.
Rumors:
Good
Anthony is extremely lucky.
Anthony Vostrodamur's father died honorably fighting an evil tyrant
Bad
Anthony thinks he has Chinese Spy Satellites in his teeth
Anthony is paranoid he is being watched
Lie
Anthony is secretive because he has something to hide

3
app/items.py

@ -1,7 +1,6 @@
import glob
def get_items():
items_dir = "../Items/*"
def get_items(items_dir):
items_list = []
for fname in glob.glob(items_dir):
print(fname)

10
app/routes.py

@ -16,7 +16,15 @@ def index():
@app.route('/items')
def items():
return render_template('items.html',items=get_items())
return render_template('items.html',title="Items",items=get_items("../Items/*"))
@app.route('/places')
def places():
return render_template('items.html',title="Places",items=get_items("../Places/*"))
@app.route('/characters')
def characters():
return render_template('items.html',title="Characters",items=get_items("../Characters/*"))
if __name__ == "__main__":
app.run()

4
app/templates/index.html

@ -10,8 +10,8 @@
<nav>
<ul>
<li><a href="/items">Items</a></li>
<li>Places</li>
<li>Characters</li>
<li><a href="/places">Places</a></li>
<li><a href="/characters">Characters</a></li>
</ul>
</nav>
</body>

2
app/templates/items.html

@ -3,7 +3,7 @@
<meta charset='utf-8'>
<link rel="stylesheet" type="text/css" href="style.css">
<link href="https://fonts.googleapis.com/css?family=IBM+Plex+Mono|IBM+Plex+Sans|IBM+Plex+Sans+Condensed" rel="stylesheet">
<title>Items - COSI D&D Archive</title>
<title>{{ title }} - COSI D&D Archive</title>
</head>
<body class="content">
<h1><a href="/">COSI D&D Archive</a></h1>

Loading…
Cancel
Save