mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 22:58:34 +00:00
Merge pull request #774 from hgtw/spa112
Make SPA 112 affect fizzle rate not effective caster level
This commit is contained in:
@@ -757,6 +757,8 @@ bool Client::CheckFizzle(uint16 spell_id)
|
||||
|
||||
act_skill = GetSkill(spells[spell_id].skill);
|
||||
act_skill += GetLevel(); // maximum of whatever the client can cheat
|
||||
act_skill += itembonuses.adjusted_casting_skill + spellbonuses.adjusted_casting_skill + aabonuses.adjusted_casting_skill;
|
||||
Log(Logs::Detail, Logs::Spells, "Adjusted casting skill: %d+%d+%d+%d+%d=%d", GetSkill(spells[spell_id].skill), GetLevel(), itembonuses.adjusted_casting_skill, spellbonuses.adjusted_casting_skill, aabonuses.adjusted_casting_skill, act_skill);
|
||||
|
||||
//spell specialization
|
||||
float specialize = GetSpecializeSkillValue(spell_id);
|
||||
|
||||
Reference in New Issue
Block a user