Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions conf/Solocraft.conf.dist
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@ SoloCraft.Debuff.Enable = 1

# Spellpower Bonus Multiplier
# Spellcasters spellpower bonus multiplier to offset no spellpower received from stats
# Formula: (player->level * multiplier) * ((classBalance / 100) * difficulty)
# Example Level 24 Mage with default modifier and a dungeon difficulty of 5 will receive a base
# Formula: (player->spellpower * multiplier) * ((classBalance / 100) * difficulty)
# Example Mage with default modifier, 60 spel power bonus and a dungeon difficulty of 5 will receive a base
# Spellpower increase of 300.

# Default: 2.5
# Default: 1.0
# 0.0 (Disable)
SoloCraft.Spellpower.Mult = 2.5
SoloCraft.Spellpower.Mult = 1.0


# Stats Percentage Bonus Multiplier
Expand Down
2 changes: 1 addition & 1 deletion src/Solocraft.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -629,7 +629,7 @@ class SolocraftPlayerInstanceHandler : public PlayerScript
// Debuffed characters do not get spellpower
if (difficulty > 0)
{
SpellPowerBonus = static_cast<int>((player->GetLevel() * SoloCraftSpellMult) * difficulty);
SpellPowerBonus = static_cast<int>((player->GetBaseSpellPowerBonus() * SoloCraftSpellMult) * difficulty);
player->ApplySpellPowerBonus(SpellPowerBonus, true);
}
}
Expand Down