gstaff commited on
Commit
f55bad7
1 Parent(s): 9b02197

Update starter sample.

Browse files
Files changed (3) hide show
  1. SampleCard.png +0 -0
  2. app.py +23 -16
  3. placeholder.png +0 -0
SampleCard.png CHANGED
app.py CHANGED
@@ -372,31 +372,38 @@ def transcribe(audio: str) -> (str, str):
372
  return result["text"], None
373
 
374
 
375
- starting_text = """Name: Jabberwock
376
- Type: Medium humanoid (human), neutral evil
377
- Description: A Jabberwock is a creature of the Deep Sea.
378
 
379
  Stats:
380
- Armor Class: 15 (breastplate)
381
- Hit Points: 22 (5d8 + 5)
382
- Speed: 30 ft
383
- STR: 8 (-1)
384
- DEX: 14 (+2)
385
- CON: 12 (+1)
386
  INT: 2 (-4)
387
  WIS: 10 (+0)
388
- CHA: 4 (-3)
389
- Skills: Perception +3
390
- Senses: darkvision 60 ft., passive Perception 14
391
  Languages: —
392
- Challenge: 1/4 (50 XP)
393
 
394
  Passives:
395
- Legendary Resistance (3/Day): If the Jabberwock fails a saving throw, it can choose to succeed instead
396
 
397
  Actions:
398
- Bite: Melee Weapon Attack: +5 to hit, reach 5 ft., one target. Hit: 6 (1d8 + 3) piercing damage.
399
- Claws (Recharge 5-6): Melee Weapon Attack: +5 to hit, reach 5 ft., one target. Hit: 6 (1d10 + 3) slashing damage."""
 
 
 
 
 
 
 
400
 
401
 
402
  def generate_image(card_text: str):
 
372
  return result["text"], None
373
 
374
 
375
+ starting_text = """Name: Bandersnatch
376
+ Type: Large beast, chaotic evil
377
+ Description: A Bandersnatch is a fearsome creature that dwells in the depths of ancient forests. Its body is covered in thick, matted fur, and its eyes glow with an otherworldly light. Its roar is deafening, and its claws are as long as a man's arm.
378
 
379
  Stats:
380
+ Armor Class: 13 (natural armor)
381
+ Hit Points: 115 (15d10 + 45)
382
+ Speed: 40 ft.
383
+ STR: 26 (7)
384
+ DEX: 12 (+1)
385
+ CON: 18 (+4)
386
  INT: 2 (-4)
387
  WIS: 10 (+0)
388
+ CHA: 6 (-2)
389
+ Skills: Perception +6, Stealth +4
390
+ Senses: darkvision 60 ft., passive Perception 16, passive Stealth 14
391
  Languages: —
392
+ Challenge: 9 (5,000 XP)
393
 
394
  Passives:
395
+ Frenzy: When the Bandersnatch drops to 20 hit points or lower, it gains a bonus to all damage rolls and attacks an additional target as a bonus action until it is destroyed or drops out of combat.
396
 
397
  Actions:
398
+ Multiattack: The Bandersnatch makes three attacks: two with its claws and one with its bite.
399
+
400
+ Claws: Melee Weapon Attack: +11 to hit, reach 10 ft., one target. Hit: 21 (4d6 + 7) slashing damage.
401
+
402
+ Bite: Melee Weapon Attack: +11 to hit, reach 5 ft., one target. Hit: 19 (2d10 + 7) piercing damage.
403
+
404
+ Tail Swipe: Melee Weapon Attack: +11 to hit, reach 15 ft., one target. Hit: 21 (4d6 + 7) bludgeoning damage.
405
+
406
+ Fear Aura: Any creature within 120 feet of the Bandersnatch must succeed on a DC 16 Wisdom saving throw or become frightened for 1 minute. A creature can repeat the saving throw at the end of each turn."""
407
 
408
 
409
  def generate_image(card_text: str):
placeholder.png CHANGED