Jump to content
View in the app

A better way to browse. Learn more.

Obsidian Forum Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

I tried adjusting usageValue but it seems it does not affect power pool costs.

I then added "IsClassPowerPoolCount(This, Wizard, GreaterThanOrEqualTo, 2)" in ActivationPrerequisites and adding addResource statuseffect that removes 2 casts but it seems I might be missing a way to specify it to level 1 spells.

Are there any values that needs to be modified that I might have missed?

Edited by Cmushi

I got curious and took a look at the decompiled code and the GenericAbility.ConsumeResource function looks kinda like this:

if (this.GenericAbilityData.IsSpellUsageType)
{
    casterStats.ExpendSpellCast(this.AbilityClass, this.AbilityLevel);
}
else if (this.GenericAbilityData.IsClassPoolUsageType)
{
    casterStats.ConsumeClassAbilityPoolPoints(this.AbilityClass, this.UsageValue);
}
else if (this.GenericAbilityData.IsAccruedResourceUsageType)
{
    casterStats.ExpendAccruedResource(this.AbilityClass, this.UsageValue);
}

As you can see, the ExpendSpellCasts function doesn't take a parameter for UsageValue and always removes 1 cast from the appropriate spell level.

So basically the game never utilizes the UsageValue of Spells specifically. I don't think there's a way to get around it sadly.
You could maybe add a status effect with StatusEffectType set to SpellCastBonus and with -1 Value, to "remove" a Lv1 cast? But the spell could still be cast when you only have a single Lv1 cast remaining, so maybe wouldn't be helpful.

  • Author

That's what I thought, thanks. Is there IsClassPowerPoolCount or IsClassAccruedResourceCount but for spells?

No, doesn't seem to be anything like that sadly :(

Create an account or sign in to comment

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.