Alignment

Almost all characters will have an alignment that can be Life, Chaos, Order or Death. Life and Death hate each other as do Chaos and Order.

Creatures will be peaceful, hostile or neutral towards the player based on their alignment:

* A co-aligned creature (same alignment) should usually be friendly
* A cross-aligned (hated) creature will generally be aggressive
* Side-aligned (Chaos and Order for a Life-aligned character for example) characters are normally neutral but could easily be hostile or friendly during an Encounter

## Divine favor

Divine favor is a resource that allows a character to cast miracles and ask stuff from their god at an altar. There are multiple ways to obtain Divine favor.

Divine Favor gains (I'm not sure about the values yet (if that wasn't clear))
 Sacrificing a cross-aligned creature
 Sacrificing riches
 Helping co-aligned characters in an Encounter | 5 to 10 probably

## Piety

Piety is is basically the "religious level" of a character. Levels of Piety can be obtained by spending Divine favor at an Altar. Piety levels can be lost by angering your god. *(killing a co-aligned priest, sacrificing a co-aligned creature on an Altar, cannibalism etc. I'll make a list later)*

Characters start at level 0 of piety (except Priests who start at 1). The effects obtained from Piety are as follows:

* More Divine favor generated from killing cross-aligned creatures (+1 at level 4 and 5) and praying (+Piety level when praying)
* More miracle slots (+1 at level 2 and 5)
* Miracles become more powerful with Piety
* Better chances of getting good stuff from your god at an altar (see Altars)
* Co-aligned creatures like you more *(when I've determined how that works)*

Divine Favor cost to buy a Piety level

*Piety levels will probably have actual names later instead of just numbers. Oh and the numbers in here are completely arbitrary for the moment, I haven't really thought too much about them yet.*

## Altars

Altars are room features that can appear in the Dungeon. They can be used to pray to a god and make sacrifices. The player can put down an item or a character's body on the altar as a candidate for sacrifice or prayer.

### Sacrifice

Sacrificing an item of high value, a body of a cross-aligned creature or a cross-aligned artifact will earn the character some Divine favor.

Sacrificing an item of low value or a rotten corpse will not do anything.

Sacrificing a co-aligned creature or of the same race as the character will anger the character's god, depending on the level of the creature. Here are the possible results:

* lose a level of Piety
* summon monsters as if caught in an Ambush
* Punish the character
* any of the effects of a bad Prayer (potentially applied multiple times)

### Prayer

Praying at an altar lets the player spend Divine favor in hope of a reward. It's basically a gacha, you put a lot of Divine favor in and your god (well, a game system simulating that) tries to guess what you want and might help you if you've given them enough Divine favor.

The system functions on the same principle as Nethack's prayer mechanic or Crypt of the Necrodancer's Scroll of Need. It tries to see what problems the player currently has, and then tries to remedy them. If it doesn't find any problems, then it will try to give them something useful that they're lacking.

Here are some of the problems that can be cured: *(I'll add more when I think of them)*

* if the character is suffering from an ailment like a Curse or a Disease, the god can lift the curse/cure the disease
* if the character's wearing cursed equipment the god may uncurse it
* if the character's extremely low on hit points the god may heal them
* if the body on the altar is a deceased party member and the player payed a fuckton of Divine favor, the character may be resurrected
* if the party has no food and is hungry food may be produced

And some of the bonuses a god can grant:

* if the player put a piece of equipment on the Altar, bless the equipment on the altar and improve it if possible *(more details later)*
* if the player put water on the Altar, bless it, making it holy water
* if the player put a coin on the Altar, give an appropriate amount of coin
* if the player put an empty bottle or a blank scroll on the Altar, give a random potion or scroll
* if the player put an item that has an Artifact version on the Altar, transform that item into the Artifact (this costs a LOT of Divine favor)

If a character prays without offering any divine favor, they will be warned by their god not to do that. If they persist they will anger their god, which can lead to various unpleasant results:

* inflict a random Curse or Disease on the character
* curse the character's equipment (or the item on the Altar if there is one) or random items in their inventory
* if the player put water on the Altar, curse it, making it unholy water
* if the player put a coin on the Altar, remove part of the money in their inventory
* if the player put an empty bottle or a blank scroll on the Altar, give a bottle of poison or a cursed scroll

## Miracles and Divine blessings

Miracles are powers lent by the gods to their believers. They can be used at the cost of Divine favor.

Miracles usually cost between 2 and 10 points of Divine Favor, depending on how powerful they are. Their potency is generally increased by the character's Piety level. Priests and Monks also get bonuses to their miracles.

Characters have access to 6 different Miracles and 2 Divine blessings. Each cult's powers are different as they are related to their god's domain.

### Miracle slots

The number of Miracle slots a character has access to is how many Miracles they can choose to be part of their available abilities for combat. Changing which miracles are currently active requires praying at an Altar or during a Rest.

### Divine Abilities

In addition to the 6 Miracles, each cult also has access to 2 Divine Blessings, which are passive boosts to the character's attributes or abilities. They can be equipped in the same way as Miracles and take up a Divine Blessing slot.

Miracle/blessing Slots for each Piety level
 Divine blessing slots

## Pantheon

These are the gods available to characters. Some will not be available on character creation but will be available with alignment switching mechanics. (I haven't thought of them yet though)

Some have multiple alignments because on character creation you'll choose your alignment \*then\* choose your god for that alignment. *Okay I'm not sure about that actually. We'll see.*

There's a bunch of dragon gods because dragons are cool and Monks will only be able to become Dragon Servants if they worship a dragon god. I'm thinking of adding another advanced class for Monk so other worshippers don't have only one advanced class choice.

```
Note 1: I haven't named any of them yet so I'm putting their domain instead of their name

```

```
Note 2: I haven't really designed the miracles that much yet so I'm just putting the ideas in a jumble for now

```

```
Note 3: I haven't decided stuff yet for the divine blessings

```

### Moons

Three-eyed dragon god of the Moons. Each of the world's moons is said to be one of his eyes. Each moon has a different color.
This god's miracles are based on the current phases of the moons. A worshipper of the moons will have an indicator of which moon is in which phase (they're all on different cycles).

Each of the powers has an area of effect based on the corresponding moon phase, and the effects of the miracle will be based on which moon is currently in that phase, with each moon providing a different effect.

**Alignment**: Order/Death

**Powers**

* New moon
* Crescent
* Gibbous
* Full moon
* First quarter
* Second quarter

**Blessings**

### Sun

Dragon god of the sun.

**Alignment**: Life/Chaos

**Powers**

* Resurrection
* AoE Light, gives fire weakness to side-aligned and cross-aligned
* Fire shield, fire damage to melee attackers
* Some kind of blind

**Blessings**

```
I kinda wanted to do something with greed and gold, and have a fire attack with random damage based on the amount of gold offered but.... eeeeeh

```

### Madness

Maybe a dragon god too, idk yet.

**Alignment**: Chaos

**Powers**

* Random spellcast
* AoE random terrain transformation
* Random conditions applied on caster and nearby entities
* Dice roll pure damage spell, 1 to X with X being a potentially huge number
* Mass confusion
* Mass rage

**Blessings**

```
The last two kinda feel like filler shit

```

### Trickery

**Alignment**: Chaos

**Powers**

* Force taunt on target, taunts even their allies
* Reflect damage
* Steal mana
* Position swap
* Damage on miss debuff
* Steal buffs

**Blessings**

### Masks

**Alignment**: Chaos

**Powers**

* Passive lie detection in conversations (think FTL events where other are trying to fuck you over)
* Swap stats with another character
* Swap own stats between them
* Illusions (choose one of three tiles, reposition on it and illusions appear on the others)
* Make a mask of another character, deflecting part of the damage on them when you take damage

**Blessings**

### Time

**Alignment**: Order

**Powers**

* Speed boost/debuff AoE
* Bonus turns
* Cancel damage received recently
* Steal speed
* Delay character's next turn

**Blessings**

### Forest

**Alignment**: Life

**Powers**

* Tree summon, roots characters entering adjacent tiles, can be destroyed
* Explosive mushrooms (poison explosion mine)
* Wall of brambles, traversable but slows and deals damage, can be destroyed
* Overgrowth, roots characters around the caster
* Bark armor
* Summon fruit

**Blessings**

### Pain

**Alignment**: Death

**Powers**

* Gain stats on damage taken
* Debuff that deals damage taken on each action performed
* Debuff that applies random condition when hit
* Pure damage to target based on how low caster HP is
* Debuff that reduces all resistances
* Buff, on expiration, gain health for each hit taken while it was active

**Blessings**