# Spell-50

A WeiDU.org Mod
Author: Westley Weimer, currently maintained by CamDawg
On the web: Discussion forum

Version: v7
Languages: English
Platforms: Windows, macOS, and Linux
GitHub: Pocket-Plane-Group/spell50

## Overview

From Westley Weimer's original readme:

Quite a few priest, druid and mage spells are extended (linearly) in all respects up to 50th level. For example, a 50th level mage casting Fireball does 50d6 damage (save for half). A 50th level mage casting Blur gains the blur benefits for 150 rounds. Note that this applies to you *and* to your enemies.

The last readme from Wes (v6) is available in the docs folder.

Cam adds:

This is not meant to be a balanced mod and, while you may eat a 30d6 Fireball once in a while, for the most part it's going to make the game substantially easier by buffing your spellcasters. It's meant to be fun, even if it can be a bit silly.

As of version 7, differing spell caps can be selected so the spells can be extended, or trimmed, to an arbitrary level.

## Compatibility

As of v7, Spell-50 works on the original and Enhanced Editions of Baldur's Gate, Baldur's Gate II, and Icewind Dale. It should also work on the conversion projects BGT, EET, and Tutu. Spell-50 does include Icewind Dale spells being added to BG2 games via mods like IWDification or Sword Coast Stratagems.

The spells are extended semi-automatically by making certain assumptions, e.g. that Fireball does one die of damage per level, or that Haste lasts three rounds + one round/level of the caster. As a result, it's not going to work well (or at all) with mods that radically alter the spell system, such as Spell Revisions, but it should work with most other mods. Because it's extending spells programmatically it should pick up and continue changes made by other mods.

In terms of install order, Spell-50 is probably better served going earlier in the install order. If you want IWD spells included in your BGEE/oBG2/BG2EE games then Spell-50 needs to follow a mod like IWDification that adds them. Similarly, many kit mods copy their abilities from the original spells, so Spell-50 should try to go ahead of them. Spell-50 should definitely be installed after fixpacks (BG2 Fixpack or EE Fixpack) and prior to large mods such as Tweaks Anthology or SCS.

For modders, Spell-50 will generate the file weidu_external/spell50/spell50_cap.tpa, which you can INCLUDE in your mod. The file will set the variable spell50_cap to the spell cap that Spell-50 used during installation.

## Bug Reporting

If you should encounter any bugs, please report them to the authors at the forum. In addition, Spell-50 is available on GitHub, so fixes and changes can be submitted by the community.

## Installation

First time installing a mod? Check out G3's comprehensive tutorial: A New Player’s Guide to Installing and Playing Mods.

Special Note for Siege of Dragonspear from Steam/GOG
Good Old Games (GOG) and Steam both package the additional content for Siege of Dragonspear in a method that WeiDU, the tool used to install this mod, cannot access. You must run a program called DLC Merger on your SoD installation before you can install this or any other WeiDU-based mod.

Enhanced Editions Note
The Enhanced Editions are actively supported games. Please note that every patch update will wipe your current mod setup! If in the middle of a modded game you might want to delay the patch update (if possible) as even after reinstalling the mods, you might not be able to continue with your old savegames. Alternatively, copy the whole game's folder into a new one that can be modded and will stay untouched by game patches. It is important that you install the mod to the language version you are playing the game in. Otherwise, the dialogues of the mod will not show but give error messages.

Windows
Spell-50 for Windows is distributed as a self-extracting archive and includes a WeiDU installer. To install, simply double-click the archive and follow the instructions on screen.

Alternatively, the files can be extracted into your game directory using 7zip or WinRAR. When properly extracted, your game directory will contain setup-spell50.exe and the folder spell50. To install, double-click setup-spell50.exe and follow the instructions on screen.

You can run setup-spell50.exe in your game folder to reinstall, uninstall or otherwise change components.

macOS
Spell-50 for macOS is distributed as a compressed tarball and includes a WeiDU installer.

First, extract the files from the tarball into your game directory. When properly extracted, your game directory will contain setup-spell50, setup-spell50.command, and the folder spell50. To install, double-click setup-spell50.command and follow the instructions on screen.

You can run setup-spell50.command in your game folder to reinstall, uninstall or otherwise change components.

Linux
Spell-50 for Linux is distributed as a compressed tarball and does not include a WeiDU installer. Linux users will need to do a one-time install of WeiDU (and a few other adjustments) as described in this great writeup.

To install, run 'WeInstall spell50' in your game folder.

Note for Complete Uninstallation
In addition to the methods above for removing individual components, you can completely uninstall the mod using setup-spell50 --uninstall at the command line to remove all components without wading through prompts.

## Contents

Spell-50 has one component that extends the spell cap to one of several present options, or a custom one selected by the player:

- 50 (the original option)
- 40
- 30 (default cap of Icewind Dale)
- 20 (default cap of Baldur's Gate and Baldur's Gate II)
- 1
- Custom value—open up custom_cap.disabled.txt in the spell50 folder and follow the directions there to enable this option.

Note that the cap is enforced both ways—if you select a lower cap, spells which extend beyond it will be trimmed back to the cap. If you do lower the spell cap below a spell's minimum level, in general the spell will still have the effects of its minimum level. For example, Fireball has a minimum damage of 5d6, as level 5 is the first level you can legitimately learn and cast the spell. Even if you select a spell cap below five, Fireball will still do 5d6 damage.

The following spells are affected. Spells which needed special treatment are noted with an asterisk and details are in the notes below the list. Special versions of spells—like the innate version of Hold Undead for priests of Lathander, or beholder lightning bolts—are scaled like their normal arcane/divine counterparts. Also be aware that this list covers all spells in all games affected by Spell-50, but it may not apply to your specific game. For example, Poison is not changed on oIWD/IWDEE games as its effects do not scale, but it will be scaled on the Baldur's Gate series of games since its effects vary by level.

### Arcane

- Level 1: Burning Hands; Chill Touch; Color Spray; Friends; Grease; Magic Missile*; Protection From Evil; Reflected Image; Shield; Shocking Grasp; Sleep
- Level 2: Blur; Cat's Grace; Chaos Shield; Decastave; Melf's Acid Arrow; Mirror Image; Protection from Petrification; Ray of Enfeeblement; Snilloc's Snowball Swarm; Strength
- Level 3: Fireball; Flame Arrow; Ghost Armor; Haste; Hold Person; Hold Undead; Lance of Disruption; Lightning Bolt; Melf's Minute Meteors; Minor Spell Deflection; Monster Summoning I; Non-Detection; Protection From Cold; Protection From Fire; Protection from Normal Missiles; Skull Trap; Slow; Vampiric Touch; Wraith Form
- Level 4: Beltyn's Burning Blood; Confusion; Emotion, Hoplessness; Enchanted Weapon; Farsight; Fireshield (Blue); Fireshield (Red); Greater Malison; Improved Invisibility; Minor Globe of Invulnerability; Monster Summoning II; Mordenkainen's Force Missiles*; Polymorph Self; Shadow Monsters; Spider Spawn; Stoneskin; Vitriolic Sphere; Wizard Eye
- Level 5: Chaos; Cone of Cold; Conjure Air/Earth/Fire/Water Elemental [IWD]; Conjure Lesser Air/Earth/Fire/Water Elemental [BG2]; Demi-Shadow Monsters; Hold Monster; Lower Resistance; Minor Spell Turning; Monster Summoning III; Phantom Blade; Protection From Acid; Protection From Electricity; Protection From Normal Weapons; Shadow Door; Shroud of Flame; Spell Immunity; Spell Shield; Summon Shadow; Sunfire
- Level 6: Antimagic Shell; Carrion Summons; Chain Lightning; Conjure Air/Earth/Fire/Water Elemental [BG2]; Contingency; Globe of Invulnerability; Improved Haste; Lich Touch; Mislead; Monster Summoning IV; Otiluke's Freezing Sphere; Pierce Magic; Protection From Magic Energy; Shades; Spell Deflection; Summon Nishruu; Tenser's Transformation; Wyvern Call
- Level 7: Acid Storm; Control Undead; Mass Invisibility; Monster Summoning V; Mordenkainen's Force Blade; Mordenkainen's Sword; Project Image; Protection From The Elements; Spell Turning; Summon Djinni; Summon Efreeti; Summon Hakeashar
- Level 8: Abi-Dalzim's Horrid Wilting; Incendiary Cloud; Monster Summoning VI; Protection From Energy; Simulacrum; Symbol, Fear; Symbol, Stun
- Level 9: Energy Blades; Monster Summoning VII; Summon (Dark) Planetar

### Divine

- Level 1: Armor of Faith; Protection From Evil; Protection From Good; Sanctuary; Shillelagh; Spirit Ward; Sunscorch
- Level 2: Aid; Barkskin; Draw Upon Holy Might; Flame Blade; Hold Person; Goodberry; Prayer; Resist Fire And Cold; Silence, 15' Radius; Spiritual Hammer
- Level 3: Call Lightning*; Glyph of Warding; Hold Animal; Holy Smite; Protection From Fire; Rigid Thinking; Unholy Blight
- Level 4: Death Ward; Farsight; Free Action; Holy Power; Mental Domination; Poison*; Produce Fire; Protection From Evil, 10' Radius; Protection From Good, 10' Radius; Protection From Lightning; Recitation; Spirit Fire; Static Charge
- Level 5: Champion's Strength; Chaotic Commands; Flame Strike; Greater Command; Iron Skins; Magic Resistance; Mass Cause Light Wounds; Mass Cure; Righteous Magic; Righteous Wrath of the Faithful; Undead Ward
- Level 6: Aerial Servant; Conjure Fire Elemental; Entropy Shield; Fire Seeds; Spiritual Lock
- Level 7: Aura of Flaming Death; Confusion; Conjure Earth Elemental; Energy Blades; Finger of Death; Fire Storm; Impervious Sanctity of Mind; Mass Raise Dead; Regeneration; Shield of the Archons; Summon (Fallen) Deva; Sunray; Symbol, Fear; Symbol, Stun; Wither

### Other

- Absorb Health; Boon of Lathander; Chaos of Battle; Children of the Night; Dancing Lights; Dispel Magic [Inquisitor]*; Divine Favor; Dragon Disciple Breath Attack; Faerie Fire; Flaming Fists; Greater Sun; Hardiness; Lay On Hands; Poison Weapon; Seeking Sword; Smite Evil; Storm Shield; Sun Soulray; other miscellaneous monster abilities

### Spell-Specific Notes

Call Lightning
Call Lightning uses a special projectile which caps the maximum number of lightning strikes to 11. The damage is properly scaled out to the level cap.

Dispel Magic [Inquisitor]
Inquisitor Dispel Magic scales at double the caster level. As such its maximum cap is 25, which corresponds to a dispel level of 50, the highest available character level in the game.

Magic Missile
Magic Missile uses a special projectile that changes at every level to accommodate additional missiles. However, the projectile maxes out at 11 missiles (level 21). On older engines (original Icewind Dale and Baldur's Gate), this means the spell cannot be extended beyond level 21. On newer engines (original Baldur's Gate II or the Enhanced Editions) the spell will be extended out to the selected cap by having the spell cast itself multiple times to properly scale the number of missiles. For the most part this is done invisibly to the player, though they may see feedback in the combat log indicating multiple casts.

Mordenkainen's Force Missiles
Like Magic Missile, Force Missiles is limited by its special projectile. Unlike Magic Missile, this can't easily be overcome by using the same multi-cast solution, so Force Missiles remains bound by the 11 missile maximum, meaning you don't get additional missiles at levels 40, 43, 46, and 49. However, the concussive damage keeps scaling all the way out to level 50.

Poison
Poison does not have a linear progression so we use its last progression to extend it out to the selected level cap. Every two levels the initial damage increases 2d8; per round damage will remain capped at six but will last an additional round/2 levels.

Spook
Spook is not extended at all as the save penalties quickly veer into ridiculous territory. While it has a flat duration of three rounds, the saving throw penalty increases by one every two levels which, if extended linearly, would result in a saving throw of -9 at level 18--meaning an enemy with a 1 saving throw only has a 50/50 chance to resist, and it'll only get worse from there.

## Contact Information

The Spell-50 is the hard work of Westley Weimer and is currently being maintained by CamDawg. For issues, suggestions and general feedback, the The Spell-50 forums are the best resource.

## Thanks and Acknowledgments

From Wes: Thanks to the IEFF/IESDP for explaining the SPL format.

From Cam: Thankfully a lot of the tools to automate the process were already built, namely, a series of functions I had written for the BG2 Fixpack. So thanks to Wes for the original mod, and thanks to the community for still sticking around.

Tools Used in Creation

- WeiDU by Wes Weimer, the bigg, and Wisp
- Near Infinity by Jon Olav Hauglid, FredSRichardson, and argent77
- Notepad++, by the Notepad++ team
- WeiDU Notepad++ Highlighters by cmorgan, updated by argent77
- ConTEXT Text Editor by Eden Kirin
- IESDP maintained by igi and lynx
- WeiDU ConTEXT Highlighters by Idobek, updated by cmorgan

## Credits and Copyright Information

The modding community for the Infinity Engine has been going strong for more than two decades now, and is the culmination of thousands of unpaid modding hours by fellow fans of the game. Modders produce their best work and players get the best, well-supported mods when we all work together.

There are two big ways to upset this harmony. One is to claim someone else's work as your own. The second is to host and redistribute a mod without permission from the author(s).

Be kind to your fellow players and modders. Don't do either.

## Version History

Version 7 - December 30, 2023

- Updated to work with several additional games: BGEE, BG2EE, IWDEE, BGT, Tutu, EET, original Baldur's Gate, and original Icewind Dale
- Spell extensions are now done semi-automatically at install time and no longer overwrite existing spells
- Ability to select level cap from a variety of options
- Updated to cover spells from Icewind Dale imported into BG/BG2 games via IWDification, SCS, or Talents of Faerûn
- Spell descriptions are now updated, mainly to remove phrases indicating a maximum damage or other effects
- Extended to cover these additional BG2 spells:
  - Arcane: Grease; Magic Missile; Shocking Grasp; Melf's Acid Arrow; Flame Arrow; Spell Shield; Contingency; Symbol, Fear; Symbol, Stun
  - Divine: Armor of Faith; Call Lightning; Hold Animal; Holy Smite; Unholy Blight; Shield of the Archons; Sunray
  - Other: Kit versions of spells (Lathander's Hold Undead; Avenger's Chain Lightning; &c.); other class/kit abilities like Lay On Hands

Version 6 - May 6, 2003

- New WeiDU, who knows. Does anyone still use this mod?

Version 5

- Whoops, include the right files.

Version 4

- Self-extracting RAR format, newer WeiDU.

Version 3

- Redo the 50-th level extensions using only the following fields: power, value, time, num_dice, size_dice, save_bonus This should fix a number of weird problems (like durations above 255 wrapping back to 1, or the game hanging when you cast pro-magic-energy). Thanks to Lee Jones for reporting this problem.

Version 2

- GB's Fire Storm, Ice Storm, Meteor Swarm duration fix.

Version 1

- Initial release. 50-th level extensions to some spells.