2107Fermer2109
WarptenLe 23/07/2017 à 18:01
// if (caster->GetTypeId() == TYPEID_PLAYER && !_spellInfo->UsesWeaponSkill(caster))
// {
// Player const* player = caster->ToPlayer();
// for (int32 i = 0; i < sSkillLineAbilityStore.GetNumRows(); ++i)
// {
// SkillLineAbilityEntry const* skillLineAbility = sSkillLineAbilityStore.LookupEntry(i);
// if (skillLineAbility->spellId == _spellInfo->Id)
// {
// if (player->GetSkillValue(skillLineAbility->skillId) >= skillLineAbility->req_skill_value)
// level = player->GetSkillValue(skillLineAbility->skillId) / 5.0f;
// }
// }
// }