mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-15 16:41:29 +00:00
Merge branch 'master' into tasks
This commit is contained in:
commit
3d3eee9772
@ -244,8 +244,7 @@ bool IsBeneficialSpell(uint16 spell_id)
|
|||||||
} else {
|
} else {
|
||||||
// If the resisttype is not magic and spell is Bind Sight or Cast Sight
|
// If the resisttype is not magic and spell is Bind Sight or Cast Sight
|
||||||
// It's not beneficial
|
// It's not beneficial
|
||||||
if (sai == SAI_Dispell_Sight && spells[spell_id].skill == 18 &&
|
if ((sai == SAI_Calm && IsEffectInSpell(spell_id, SE_Harmony)) || (sai == SAI_Calm_Song && IsEffectInSpell(spell_id, SE_BindSight)) || (sai == SAI_Dispell_Sight && spells[spell_id].skill == 18 && !IsEffectInSpell(spell_id, SE_VoiceGraft)))
|
||||||
!IsEffectInSpell(spell_id, SE_VoiceGraft))
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user