Skip to content

Commit

Permalink
adjust mana cost
Browse files Browse the repository at this point in the history
  • Loading branch information
ikonomov committed Oct 5, 2023
1 parent 312b525 commit 260a30f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
12 changes: 5 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ Note: You'll need access to the data from the original game. If you don't have a
* Nightmare difficulty: 10 [20]
* Hell difficulty: 20 [30]
* Regenerate 1% (Sorcerer +0.01% per level) of max mana per second.
* Sorcerer receives the same 25% mana cost reduction (doens't extend below the minimum) as Rogue for all spells.
* +50% strength modifier to damage formula when using two-handed melee weapons.
* Block bonus:
* Warrior: 10 [30]
Expand All @@ -48,22 +49,19 @@ Note: You'll need access to the data from the original game. If you don't have a
* Stone Curse does not affect unique monsters.
* The casting sound (spell sound unchanged) for Phasing and Teleport has been removed.
* Mana cost:
* Sorcerer receives the same 25% reduction (doens't extend below the minimum) as Rogue for all spells.
* Town Portal initial: 50 [35]; minimum: 35 [18]
* Phasing initial: 16 [12]; minimum: 8 [4]
* Teleport initial: 50 [35]; minimum: 30 [15]
* Stone Curse initial: 100 [60]; minimum: 60 [40]; decrease per slvl: 6 [3]
* Fire Wall initial: 40 [28]; minimum: 28 [16]
#### Items:
* Adria sells scrolls only.
* Griswold does not sell magical items.
* Pepin does not sell potions except arena potions which can be used on cleared levels and purchased by a character that has killed Diablo on Hell difficulty.
* Wirt sells staves in addition to his normal inventory.
* The maximum price of items at Wirt has been reduced to 45,000 [135,000] gold.
* Effects of drinking Spectral Elixir: +1 to one attribute [+3 to all attributes].
* Damage versus demons affix:
* Deadly Hunter: +50% [+200%]
* Civerb's Cudgel: +150% [+200%]
* Damage versus demons affix [+200%]:
* Deadly Hunter: +50%
* Civerb's Cudgel: +150%
* Staff charges have been set to minimum values.
* Set to maximum values:
* Affixes with a range of values.
Expand Down Expand Up @@ -146,7 +144,7 @@ Note: You'll need access to the data from the original game. If you don't have a
</details>

#### Shrines:
* Fascinating, Ornate and Sacred reduce magic instead of mana by 2% (-1 minimum) [10%].
* Fascinating, Ornate and Sacred reduce magic by -2% (-1 minimum) [-10% mana].
* Abandoned, Creepy, Eerie and Quiet increase attributes by 1 [2].
* Hidden increases durability of items to a maximum of 250 [255].
#### Monsters:
Expand Down
4 changes: 2 additions & 2 deletions Source/spelldat.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ const SpellData SpellsData[] = {
/*SpellID::Lightning*/ { P_("spell", "Lightning"), IS_CAST4, 300, 15, 10, Lightning | Targeted, 4, 3, 20, { MissileID::LightningControl, MissileID::Null, }, 1, 6, 20, 20 },
/*SpellID::Flash*/ { P_("spell", "Flash"), IS_CAST4, 750, 50, 30, Lightning, 5, 4, 33, { MissileID::FlashBottom, MissileID::FlashTop }, 2, 16, 20, 20 },
/*SpellID::Identify*/ { P_("spell", "Identify"), IS_CAST6, 0, 10, 13, Magic | AllowedInTown, -1, -1, 23, { MissileID::Identify, MissileID::Null, }, 2, 1, 8, 12 },
/*SpellID::FireWall*/ { P_("spell", "Fire Wall"), IS_CAST2, 600, 40, 40, Fire | Targeted, 3, 2, 27, { MissileID::FireWallControl, MissileID::Null, }, 2, 28, 8, 8 },
/*SpellID::FireWall*/ { P_("spell", "Fire Wall"), IS_CAST2, 600, 40, 28, Fire | Targeted, 3, 2, 27, { MissileID::FireWallControl, MissileID::Null, }, 2, 16, 8, 8 },
/*SpellID::TownPortal*/ { P_("spell", "Town Portal"), IS_CAST6, 300, 20, 50, Magic | Targeted, 3, 3, 20, { MissileID::TownPortal, MissileID::Null, }, 3, 35, 8, 8 },
/*SpellID::StoneCurse*/ { P_("spell", "Stone Curse"), IS_CAST2, 1200, 80, 100, Magic | Targeted, 6, 5, 51, { MissileID::StoneCurse, MissileID::Null, }, 6, 60, 8, 8 },
/*SpellID::StoneCurse*/ { P_("spell", "Stone Curse"), IS_CAST2, 1200, 80, 60, Magic | Targeted, 6, 5, 51, { MissileID::StoneCurse, MissileID::Null, }, 3, 40, 8, 8 },
/*SpellID::Infravision*/ { P_("spell", "Infravision"), IS_CAST8, 0, 60, 40, Magic, -1, -1, 36, { MissileID::Infravision, MissileID::Null, }, 5, 20, 0, 0 },
/*SpellID::Phasing*/ { P_("spell", "Phasing"), PS_TMAG, 350, 20, 16, Magic, 7, 6, 39, { MissileID::Phasing, MissileID::Null, }, 2, 8, 40, 40 },
/*SpellID::ManaShield*/ { P_("spell", "Mana Shield"), IS_CAST2, 1600, 120, 33, Magic, 6, 5, 25, { MissileID::ManaShield, MissileID::Null, }, 0, 33, 4, 4 },
Expand Down

0 comments on commit 260a30f

Please sign in to comment.