Forgot to set FizzleDefaultSkill rule
This commit is contained in:
parent
49bb456594
commit
92bd67d314
1 changed files with 1 additions and 1 deletions
|
@ -1108,7 +1108,7 @@ bool Entity::CheckFizzleSpell(LuaSpell* spell) {
|
|||
|
||||
float fizzleMaxSkill = rule_manager.GetGlobalRule(R_Spells, FizzleMaxSkill)->GetFloat();
|
||||
float baseFizzle = rule_manager.GetGlobalRule(R_Spells, DefaultFizzleChance)->GetFloat()/100.0f; // 10%
|
||||
float skillObtained = 0.2f; // default of .2f so we don't go over the threshold if no skill
|
||||
float skillObtained = rule_manager.GetGlobalRule(R_Spells, FizzleDefaultSkill)->GetFloat(); // default of .2f so we don't go over the threshold if no skill
|
||||
Skill* skill = GetSkillByID(spell->spell->GetSpellData()->mastery_skill, false);
|
||||
if(skill && spell->spell->GetSpellData()->min_class_skill_req > 0)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue