Angband Forums (http://angband.oook.cz/forum/index.php)
-   Variants (http://angband.oook.cz/forum/forumdisplay.php?f=4)
-   -   Extolling Virtues (http://angband.oook.cz/forum/showthread.php?t=9385)

 MITZE April 16, 2019 21:16

Extolling Virtues

There was a bit of wondering going on a little while ago as to what affects virtues and what effects virtues have in the various Henglikes (Composband and FrogComposband being the most recent ones, with the latter being actively maintained), so I decided to make a topic in the pursuit of trying to shed a little light on the subject.

---

Q: What are virtues?

A: Virtues are a list of optional . . . shall we say, conducts, for a given character to follow. They're opaque in terms of what effect having a high or low score for a given virtue has, though the game is at least kind enough to give you an indication when something you've done has had a positive or negative effect on one of your character's virtues.

Q: How do I get them?

A: Every character is given eight virtues, assuming you set the birth option to have virtues active. Some virtues are guaranteed; most of, if not all, races have a particular virtue tied to them. The same goes for classes as well as magic realms. If you get the same virtue multiple times from your race/class/realm combo, duplicates of it are eliminated from your virtue list. If after all that you have less than eight virtues, you randomly get some virtues from a predefined set until you have eight, still eliminating duplicate virtues.

Q: What is the range of values for a virtue score to be?

A: Virtues can be a value from -125 to +125.

Q: How do you affect your score for a virtue?

A: Each virtue has its own things that it's affected by; hasting your character, for instance, negatively affects your Patience, while successfully [T]unneling a square positively affects your Diligence. Also, it becomes more difficult to affect a virtue the farther away from neutral (+0) it gets; to modify a virtue beyond an absolute value of 50, you need to pass a 1 in 2 check; there are additional 1 in 2 checks to go beyond absolute values of 80 and 100 as well (to wit: you must pass a 1 in 2 check to modify a virtue beyond -/+50, a 1 in 4 check beyond -/+80, and a 1 in 8 check beyond -/+100).

Q: What do virtues affect?

A: Most of (but not all) of the virtues on their own have their own effect; Temperance, depending on whether its score is in the positive or negative, will make you grow hungry either slower or faster (off the top of my head, roughly -/+ 33%). Additionally, most virtues affect your alignment, which has its own effects (generally, making specific types of monsters friendly to you and either raising or lowering your failrates for certain magic realms, depending on your alignment and the realm in question).

Q: What game are you using as a basis for this?

A: I'm basing everything in this topic off of FrogComposband; each post dedicated to a particular virtue, at the time of its posting, will be based off the FrogComposband master branch on GitHub.

 MITZE April 16, 2019 23:31

Virtue: Chance

WHAT RACES, CLASSES, AND MAGIC REALMS GET THE 'CHANCE' VIRTUE?

Races:
Beastman
Leprechaun

Classes:
Beastmaster
Chaos-Warrior
Disciple
Tourist
Wild-Talent

Magic Realms:
Chaos

HOW DO I AFFECT MY CHANCE VIRTUE SCORE?

The following things affect your 'Chance' virtue score:

-5 when:
You are cured of all mutations.

-3 when:
A round of a Casino game (other than the Monster Arena) ends and you have less gold than you started it with.

-1 when:
You fail to cast a spell and your failrate for it is less than or equal to 1d100.
You genocide a monster race.
You mass genocide.
You mass genocide undead monsters.

+1 when:
You successfully cast a spell and your failrate for it is greater than 1d100.
You eat an unidentified food.
You quaff an unidentified potion.
You read an unidentified scroll.
You gain a mutation.
You polymorph a monster.
You cast 'Wonder' or 'Invoke Spirits' and the consequent hidden die roll to determine the effect is less than 26.
You cast 'Shuffle' and the consequent hidden die roll to determine the effect is less than 30.
You polymorph self.
1 in 7 times you make a melee attack with a chaos-branded weapon and 1d10 equals 1.

+2 when:
Your HP reaches 0 from taking damage not caused by genociding.

+3 when:
A round of a Casino game (other than the Monster Arena) ends and you have the same amount of or greater gold than you started it with.

WHAT DOES MY CHANCE VIRTUE AFFECT?

The 'Wonder,' 'Invoke Spirits,' and 'Shuffle' spells:
While 1d400 is less than the absolute value of your Chance virtue, +1 to the internal die roll to determine the effect of the spell if your Chance virtue is positive; -1 to the die roll if your Chance virtue is negative.

Loot quality:
+(Chance/50) to chance of good objects
+(Chance/100) to chance of great objects

Chance has no effect on alignment.

 CyclopsSlayer April 16, 2019 23:35

Thank you for this!

 NightLizard April 17, 2019 15:29

Do you have to play at the casino or can you just leave and enter repeatedly to farm chance?

 MITZE April 17, 2019 19:32

Quote:
 Originally Posted by NightLizard (Post 137790) Do you have to play at the casino or can you just leave and enter repeatedly to farm chance?
Just checked, and it's not leaving the casino that gives the plus or minus Chance, it's winning or losing any of the games other than the monster arena.

 MITZE April 17, 2019 23:45

Virtue: Compassion

WHAT RACES, CLASSES, AND MAGIC REALMS GET THE 'COMPASSION' VIRTUE?

Races:
None

Classes:
Bard

Magic Realms:
Hex

Extra:
All characters who don't already have it and eight virtues total have a 3 in 29 chance of receiving the Compassion virtue.

HOW DO I AFFECT MY COMPASSION VIRTUE SCORE?

The following things affect your 'Compassion' virtue score:

-1 when:
You fail to cast a Hex spell and 1d100 is less than the failrate.
You successfully cast a Hex spell and 1d(100+CL) is less than the cost.
A non-evil sleeping monster who is not the originator is attacked via spells or devices.
An evil sleeping monster who is not the originator is attacked via spells or devices, 1 in 5 times.
You attack a friendly monster.
You attack a pseudo-/unique pet that you are not riding, 1 in 3 times.
You successfully cast a Hex spell for the first time.
You move while wielding Stormbringer into a non-hostile visible monster and you are neither stunned, confused, hallucinating, or berserk.
You are not a berserker and you choose to attack a non-hostile visible monster while you are neither stunned, confused, hallucinating, or berserk.
You attack a non-evil sleeping monster in melee.
You attack an evil sleeping monster in melee, 1 in 5 times.
You attack a non-evil sleeping monster via shooting.
You attack an evil sleeping monster via shooting, 1 in 5 times.
A scared monster in player LOS that's aware of the player that did not take a turn and did not move becomes unafraid.
You reduce a pitiful looking begger or a mangy looking leper to less than 0 HP.

+1 when:
You successfully cast a Life spell and 1d(100+CL) is less than the cost.
A monster who is not evil and not the originator of the effect gets healed.
You successfully cast a Life spell for the first time.

+2 when:
A monster who is not evil and is good and not the originator of the effect gets healed.

+5 when:
A mangy looking leper who is not the originator of the effect gets healed.

WHAT DOES MY COMPASSION VIRTUE AFFECT?

Healing done to a target who is not evil and not the originator of the effect:
Heal Value is multiplied by ((625+Compassion)/625).

SPECIAL THANKS
Special thanks go to clouded and especially rodent (otherwise known on here as 'Sideways'), for helping me parse the inscrutable parts of the codebase.

 wobbly April 18, 2019 04:40

Did you miss 1 here? I have in my head that that you gain compassion when you cross a hunger threshold while fasting. It's possible that the fasting spell just counts as casting a life spell multiple times while the spell is in effect.

 MITZE April 18, 2019 10:01

Quote:
 Originally Posted by wobbly (Post 137805) Did you miss 1 here? I have in my head that that you gain compassion when you cross a hunger threshold while fasting. It's possible that the fasting spell just counts as casting a life spell multiple times while the spell is in effect.
I mean, I searched the Frog Git for VIRTUE_COMPASSION and went through every result that came up, so unless that didn't return what you're thinking of . . .

I'll run a test character later to check this.

EDIT: Checked, and I can't find anything modifying Compassion related to the Fasting spell.

 MITZE April 18, 2019 23:43

Virtue: Diligence

WHAT RACES, CLASSES, AND MAGIC REALMS GET THE 'DILIGENCE' VIRTUE?

Races:
Android
Dwarf
Jelly
Klackon
Xorn

Classes:
None

Magic Realms:
None

Extra:
All characters who don't already have it and eight virtues total have a 1 in 29 chance of receiving the Diligence virtue.

HOW DO I AFFECT MY DILIGENCE VIRTUE SCORE?

The following things affect your 'Diligence' virtue score:

-1 when:
You rest for more than 100 turns.
You rest when you're at full HP and SP, and are not blind, confused, poisoned, scared, stunned, cut, slowed, paralyzed, hallucinating, waiting for Word of Recall or a DL-regenerating effect to kick in, or waiting as a Magic-Eater to regain charges.

+1 when:
You successfully cast a Life spell and 1d(100+CL) is less than the cost.
You successfully finish [T]unnelling a square.
You become hasted.
You become superhasted.
You successfully cast a Life spell for the first time.

WHAT DOES MY DILIGENCE VIRTUE AFFECT?

The amount of random piles of gold or non-food non-flask non-lantern non-?WoR loot on the dungeon floor:
# of Gold/Loot Piles is multiplied by ((625+Diligence)/625).

 MITZE April 19, 2019 22:00

Virtue: Enlightenment

WHAT RACES, CLASSES, AND MAGIC REALMS GET THE 'ENLIGHTENMENT' VIRTUE?

Races:
Mindflayer

Classes:
High-Mage
Mindcrafter
Mirror-Master
Psion
Sorcerer
Tourist

Magic Realms:
None

HOW DO I AFFECT MY ENLIGHTENMENT VIRTUE SCORE?

The following things affect your 'Enlightenment' virtue score:

-5 when:
You suffer amnesia.

-2 when:
Your INT or WIS gets drained.

-1 when:
You become blind.

+1 when:
Your base INT or WIS gets increased.
You successfully cast Precognition (Mindcrafter spell) in its most powerful form.
You successfully cast Shuffle (Trump spell) and the result is the Sun.
You successfully cast Clairvoyance (Sorcery or Arcane spell).
You successfully cast Call Sunlight (Nature spell).
You successfully cast Clairvoyance (non-realm ability).
You drink a potion of enlightenment.
You drink a potion of experience.
You successfully invoke the Clairvoyance effect from a device or activation (this includes the Jewel of Judgement's activation).
You successfully cast Psionic Seeing (Psion power) in its most powerful form.
You successfully invoke the Self Knowledge effect.

+2 when:
You drink a potion of *enlightenment*.

WHAT DOES MY ENLIGHTENMENT VIRTUE AFFECT?

The rate at which you receive level feelings:
Level Feeling Delay is multiplied by ((625-Enlightenment)/625).

All times are GMT +1. The time now is 00:27.