博德之门3v1.0.2.42026年10月12日 更新

Autocast Daily Spells

Description This mod lets you schedule a 'morning routine' for each party member, such as casting buffs like Longstrider, Heroes' Feast, or Shield of Thralls. They can also summon familiars, bond to a weapon, reapply Speak with Dead, and much more! When a character learns a supported ability, they will be given that ability's autocasting item. The item has the same icon as the ability and is collected in the character's Magically Inert Bag. To schedule them to autocast some of their abilities af

Description

This mod lets you schedule a 'morning routine' for each party member, such as casting buffs like Longstrider, Heroes' Feast, or Shield of Thralls. They can also summon familiars, bond to a weapon, reapply Speak with Dead, and much more!

When a character learns a supported ability, they will be given that ability's autocasting item. The item has the same icon as the ability and is collected in the character's Magically Inert Bag. To schedule them to autocast some of their abilities after a Long Rest, move the corresponding autocasting items to their Bag of Autocasting.

If an ability requires you to choose a target, then you will be given more than one autocasting item for it. The normal autocasting item (the Casting Item) needs to go in the caster's Bag of Autocasting, and at least one Target Item (which will have an aiming reticle over the ability icon) needs to go into the target character's bag.

For basic use, that's all you need to know! This process is also shown in the mod images at the top of the page. If you want to learn more, see the Additional Details section below.

If you encounter a problem, please check the Troubleshooting section at the bottom of the page before leaving a bug report.

Compatibility

In my testing, this mod is safe to add to existing saves.

This mod does not override any resources, so in theory it should be compatible with everything. However, there might be unexpected behaviors if combined with mods that change any of the supported spells or that scripts different character behavior immediately after a Long Rest.

IMPORTANT NOTE: Even though this mod should be compatible with mods that add new spells, it will probably not support autocasting for them. This includes not being able to autocast with spell slots above Level 6. If you made a spells mod and want to add autocasting support, please do! The details can get complicated depending on how the spells work, but it's primarily just adding facts to a handful of Osiris databases. Feel free to unpack this mod and reference its script (I tried to leave lots of comments that describe how it works) or to ask questions.

Game Balance

This mod does not alter game balance as much as possible. There are a couple of very small ways that you can exploit it, but practically speaking it doesn't make the game any easier. Just, more convenient.

For example, you can autocast spells that a caster does not have prepared because there's no cost to changing prepared spells outside of combat.

Likewise, characters who are not currently in the party can also autocast spells because there's no cost to swapping them in and out. The only limitation here is that they are not allowed to autocast concentration spells because their concentration would ordinarily be broken by dismissing them from the party.

Even though there is no cost to (un)equipping magic items outside of combat, you must have an item equipped to autocast a spell that it unlocks. Otherwise, you could have multiple characters autocast its spell at the same time, which very much does alter the game's balance.

Unfortunately, not all spell casts triggered by an Osiris script (which is how this mod works) are counted by the game engine toward spell cooldowns. That is, if you autocast a once-per-long-rest spell, the game might let you manually cast it a second time. To counteract this, I've made a system that undoes the effects of any spell you cast that should have been prevented by the cooldown. For example, you are only supposed to be able to summon Scratch once per short rest. If you autocast summoning him, you will be able to summon him a second time without needing to rest first, but if you do then he will be immediately dismissed so that game balance isn't affected. Again, you might be able to eke out some small benefits by exploiting imperfections in this system (such as gaining a small amount of healing from re-casting Khalid's Gift: Aid before the max HP boost is removed), but these benefits should be negligible and are hard to stumble across accidentally. If anything, you are more likely to be harmed by re-casting spells you shouldn't be able to - for example, if you have a buff from Astral Knowledge and then try to switch to a different version of it, you will lose the buff entirely for the rest of the day!

Additional Details

Characters are given the Bag of Autocasting and the Magically Inert Bag the first time they join the active party. Once they have been given their bags, you can freely reconfigure their autocasting queue from the camp inventory menu without having to re-recruit them.

Autocasting items will only be given to each character one time, even if you respec them or get an identical spell from multiple sources. New autocasting items are given after these events:

  1. A character joins the active party

  2. A character completes leveling up

  3. The end of the day (applies to everyone who has already been given a Bag of Autocasting)

The order in which you add Casting Items to the Bag of Autocasting is the order in which the caster will attempt to use their abilities.

To cast a targeted spell on yourself, the caster needs both the Casting and Targeting items in their Bag of Autocasting. To cast a targeted spell on more than one character, each one needs to be configured with a Target Item for it. If you're using Adjustable Party Limit and don't have enough Target Items to cast on everyone in the party, you can recruit a hireling, spec them to have the spell you want, and then take their autocasting items. You're free to dismiss the hireling afterward and can continue to use the items you got.

Starting a conversation will pause all autocasting until the conversation ends. Starting combat ends autocasting entirely for the rest of the day.

If the Magically Inert Bag becomes a jumbled mess over time, I recommend sorting the container by Latest or Type to clean it up again.

Spell Level

If a spell gets stronger with upcasting, there will be separate Casting Items for each level you can cast it at. Otherwise, it will be cast at the lowest level possible.

Warlock spell slots will be used before normal spell slots of an equal level. For example, a normal level 1 spell slot will be used before a level 2 Warlock spell slot, but a level 2 Warlock spell slot will be used before a normal level 2 spell slot.

If no spell slots of at least the minimum spell level are available, or if the character no longer has access to the spell, it will not be cast.

Sharing Autocast Targets

If multiple characters are configured to autocast the same target spell, they will cast it on the target who is closest to them until all targets have been cast on. This means that if there are two casters for a spell that has four targets, then each caster will probably use the spell twice. However, if one caster is far away and has to run closer before they can cast it on their first target, the other caster might have already gotten to all of the other three.

Also, if one of the casters has the spell at the beginning of their autocast queue and the other caster has it at the end of theirs, then the first caster will probably cast it on everyone and the second caster will not cast it on anyone. The only limit to this is if the spell has a cooldown or requires concentration so that the first caster will only use the spell once before stopping.

Troubleshooting

Problem: I'm not getting any autocasting items.

The icon for containers created with Osiris are currently bugged and don't show the number of items inside them until the game is saved and reloaded. Make sure to open the Magically Inert Bag to confirm that it's actually empty before reporting a bug for this mod.

Problem: I didn't get new autocasting items from leveling up.

This can happen if you have multiple level ups available and only use some of them (like bringing a new hireling up to level 6 and then stopping even though the party is level 12). If you do this, either go one level past learning whatever spells you want the autocasting items for, or just end the day to get the items that way.

Problem: A character is stuck in the Autocasting condition.

Shove the character to break them out of the condition. You can also leave camp to immediately end autocasting for everyone.

If the game somehow softlocks so that everyone is stuck autocasting and you also can't leave camp (which I doubt is even possible), then I've also added an emergency failsafe that will end all autocasting three minutes after it starts.

Problem: A spell isn't being cast or received even though it's in the Bag of Autocasting.

There might be a reason for this that isn't a bug. Check the following things:

  1. Does the spell require concentration? If so, the caster must be in the active party to cast it. If they are in the party, then make sure they aren't casting a different concentration spell later in their autocast queue that would overwrite it.

  2. Is it a target spell? If so, double-check that the caster has been given the Casting Item and that all of the receivers have been given a Target Item for it.

  3. Does it cost a spell slot / class resource? If so, check that they have enough resources left over from autocasting that they could have done this too.

  4. Does the caster still have access to the ability? If it's granted by a piece of equipment, they need to have it equipped to cast the spell.

If none of these things are the cause, then something probably went wrong. Sometimes this is a problem with the base game. For example, Enhance Ability: Bear's Endurance is bugged so that its buff won't be applied to characters with more than 7 temporary HP, even though all of the other Enhance Ability spells work just fine in this situation. Before reporting a bug for this mod, make sure that you can cast the spell manually right after autocasting ends. If it still doesn't work when you try to cast it manually, then it's a problem with the base game.

Otherwise, try removing the autocasting items for this spell from everyone's Bags of Autocasting and then adding them again. If the spell still isn't cast, please submit a bug report with as much detail as you can provide about what happens during autocasting, including which spell isn't casting, whether or not the caster is in the party and/or is a hireling, and anything else that might be specific to your problem.

Problem: Aid and/or Heroes' Feast isn't being applied to everyone in the party.

Depending on the camp site and where the spell is in the autocasting queue, it can be difficult to cast these spells when everyone is in range. It is more likely that everyone will be in range if these spells are cast at the very beginning of the queue. Also note that these spells won't apply their buffs to party members if they are cast by a hireling who is not currently in the party. This is because the game considers hirelings to be neutral NPCs instead of allies (notice how they're highlighted in yellow instead of green), unlike other camp followers. You can have an allied character cast the spell instead.

Problem: Animations are bugged when autocasting the spells that cost Ki Points.

I know. So far as I can tell, this is an actual bug in the game engine when Osiris tells a character to cast one of these spells.

来源与文件

  • 原作者:WorldWalker42
  • 原项目:Autocast Daily Spells
  • 文件:Autocast Daily Spells(ID:119331)

文件说明

Can place the .pak file directly into the mods folder.

前往 N 网打开所选文件。安装与下载要求以原作者及平台说明为准。

<!-- aoe-mods-source:nexusmods:baldursgate3:22476 -->

下载模块

共 1 个来源
立即下载推荐来源
前往下载