When Matthias Was Overall Level 4

- Posted in Scarlet-Horizons by



Matthias d'Slaytonthorpe
FGT 1/MAG 1/WAR 2
35 HP
Overall Level 4
Neutral Evil Human
XP Total: 10,500
TNL: 3,500

Str: 12/40 (+0)
Dex: 14/45 (+1)
Con: 18/11 (+3)
Int: 17/55 (+2)
Wis: 13/40 (+1)
Cha: 12/40 (+0)

Saving Throws:
Death/Poison: 13 {12}
Paralysis/Petrify: 14 {13}
Spells/Rods/Staves: 13 {12}
Wands: 16 {15}
Breath: 15 {14}

Armor Class:
Undressed & prone 9
Undressed 8
Harnessed 4 (armor/ring/cloak)
Harnessed but Flat-Footed 5

Traits:
Dark Magic +2
Eidetic Memory +2
Natural Linguist +2
Scribe +1
Skilled Liar +2

Pact Powers:
dominate person 2 x daily
produce hellbane 3 x daily

Mage/Warlock Spells:
4 of 1st level
3 of 2nd level

Favored combo when not using Eldritch Blast Asmodeus' Disdain or Warlock's Wrath followed
by Fell Finger

Prepared Daily:
cantrips: Asmodeus' Touch
Fell Finger
1st-level: Asmodeus' Disdain x 2
blur (possibly sacrificed for Hellish Rebuke)
mirror image
2nd-level: Cloud of Daggers
Invisibility

Lv/Class-Based Attack Bonus: +2
Equivalent Base THAC0: 18

Risk Dice Pool: 05
Deeds Known: 07

short sword:
   vs mundane foe m.THAC0 18 (1d6+1)

+1 boot knife
   m.THAC0 17 (1d4+2)

Heroic Deeds:

  1. Arcane Deflection
  2. Eldritch Blast
  3. Effortless Dodge
  4. Manipulate Fate
  5. Skin of Your Teeth
  6. Vampiric Skimming
  7. Warlock's Wrath

Equipment:
Carceri's Ring
+1 cloak of deflection
+1 boot knife (1d4+3)
daggers (pair, mundane)
ethanol (1 pt., 40-proof)
inflammable oil x 5
leather armor
potion of extra-healing x 4
short sword
+1 ring of protection
short bow

Other Valuables:
- sapphire fragment worth 100 GP
- silver necklace with pearls worth 400 GP
- platinum necklace worth 300 GP
- 99 GP, 161 SP, 43 SC, 07 RD

Contacts:
Sagius Nithrexus
Devra True-aim


XP Awards
+750 for striking an accord with the Kellen's Rock Culprits {total: 10,500/14K} +750 for gaining an audience with The Kellen's Rock Culprits {total: 9,750/14K}

When Whiteheart Was Overall Level 10

- Posted in Scarlet-Horizons by


Whiteheart Stiffwhiskers
CLE 3/PAL 5/SOH
Paladin of Saint Ygg
Overall Level 10
Lawful Good Mousefolk, HP: 57
XP Total: ?
TNL: ?

Str: 16/45 (+2)
Dex: 12/30 (+0)
Con: 16/85 (+2)
Int: 12/30 (+0)
Wis: 13/45 (+1)
Cha: 17/30 (+2)

Saving Throws:
Death/Poison: 10
Paralysis/Petrify: 12
Spells/Rods/Staves: 14
Wands: 11
Breath: 13

Special Abilities:
- Advantage on CON-related saves
- Cure Disease
- Channel Energy 3 x daily
- Lay on Hands
- Paladin Party Boon
- Paladin Personal Boon
- Sacrifice a prepared spell for healing
- Smite 2 + {CHA bonus} times daily

Lv/Class-Based Attack Bonus: +7
Equivalent Base THAC0: 13
+2 Holy Keen Longsword, Andurel

* Damage Dealt:
   vs mundane foe m.THAC0 9 (1d8+4/19-20)
   vs evil foes m.THAC0 9 (2d8+9/19-20)
   vs aberration/outsider/undead:
      m.THAC0 7 (3d8+12/19-20)

Overall Smiting Damage
add +4 to the attack roll, and...
aberration/outsider/undead: 3d8+27/(19-20)
other evil creatures: 2d8+24/(19-20)

* If Whiteheart successfully uses Enlightened Strike, then he may add an additional three points (the sum of Wis & Cha modifiers) of damage to the damages shown above.

If under the effect of Divine Favor he has cast, improve the above m.THAC0 and damage rolls by +2. While divinely favored and smiting a mundane evil foe, m.THAC0 04 and 2d8+26/(19-20); If divinely favored and smiting an aberration, undead, or outsider, m.THAC0 04 and 3d8+29/(19-20).

Armor Class:
   Undressed 10
   +1 Chainmail only 04
   +3 Shield only 06
   Harnessed -2
   Harn & SYS -4, & DR 3
   Harnessed but Flat-Footed 0
   Har/SYS/SOF: -7
   Har/SYS/SOF/MV: -9
   Touch 10

Spell Progression: 4/4/3/3/2
Mod for Wisdom: 5/5/4/4/3

Clerical spells:
5 1st, 5 2nd, 4 3rd, 4 4th, 3 5th

Typically Prepared:

Bless x 2 (target: caster, allies w/i 50' burst)
Detect Alignment x 1
Divine Favor x 1 (target: self)
Shield of Faith x 1 (target: single)

Consecrate x 1
Delay Poison x 1
Resist Energy x 1
Spiritual Weapon x 1
Zone of Truth x 1

Daylight x 1
Magic Vestment x 1
Protection from Energy x 1
Remove Blindness/Deafness x 1

Air Walk x 1
Death Ward x 1
Dimensional Anchor x 1
Sending x 1

Break Enchantment x 1
Commune x 1
Flamestrike x 1

Heroic Deeds:
   Known: 17
   Daily Risk Dice: 09

  1. Auspicious Fortune
  2. Bite the Bullet
  3. Blessed Assurance
  4. Brace
  5. Blitz
  6. Cleave
  7. Dual Heroic Deeds
  8. Effortless Dodge
  9. Enlightened Strike
  10. Healing Surge
  11. Holy Aura
  12. Iron Shell
  13. Primary Foe
  14. Skin of Your Teeth
  15. St. Ygg's Shield
  16. Unbreakable
  17. Unusual Prowess

Other Equipment:
black monster-hide belt
bronze ring
+1 chainmail
+2 keen holy longsword
daggers (pair, mundane)
ethanol (1 pt., 80-proof)
potion extra-healing x 5
scroll: group recall
+3 shield

Versus mundane evil creatures, a paladin adds his Charisma bonus to other to-hit bonuses and adds his paladin levels (max 5) to damage.

Versus aberrations, evil outsiders, and undead, a paladin gets the foregoing bonuses against evil creatures, plus gets to add his Charisma bonus to damage, and his weapon's base damage die/dice is doubled.

Tactics:

If accompanied by allies, Whiteheart attempts to prepare for any combat by casting Bless. If exigencies permit, the paladin will follow up the Bless spell with 2nd round use of Dual Heroic Deeds to invoke both Blessed Assurance and Holy Aura.

If fighting solo, Whiteheart attempts to begin by casting Divine Favor. He will follow this, if possible, with the Saint Ygg's Shield heroic deed. Finally, if fighting a particularly heinous foe or monster, he will seek to inflict maximum damage with his bronze ring, to be followed with healing for himself via Lay on Hands. If his bronze ring usage for the day is depleted, he may resort to Flamestrike.

Count top-level subdirectories

- Posted in Coding by

C# get number of top-level subdirectories in a directory.

Here's a brief program that demonstrates counting the number of top-level subdirectories that reside within a given directory:

https://gist.github.com/kyrathasoft/1dc1a1eb4d6a2a56827dcb5f43840afe