Forum > Serverside Modding
[HELP] Remove Talent Point Requirement
<< < (5/5)
mrxxx:
Sorry for bumping this but how is one supposed to remove / reduce tier talent point requirement for talent preview option? I can't seem to find any related code in BlizzardTalentUI.lua or TalentFrameBase.lua, not sure about core but i think it only has the regular talent checks. Am i just being blind or is this something more complicated?
noc:
Hello,
For this to work you need to replace in TalentFrameBase.lua
--- Quote ---PLAYER_TALENTS_PER_TIER = 5; --- End quote --- par --- Quote ---PLAYER_TALENTS_PER_TIER = 0; --- End quote --- then in TalentFrame_Update(TalentFrame) :
--- Quote ---if ( ((tier - 1) * (TalentFrame.pet and PET_TALENTS_PER_TIER or PLAYER_TALENTS_PER_TIER) <= tabPointsSpent) ) then tierUnlocked = 1; else tierUnlocked = nil; end --- End quote --- by --- Quote ----- if ( ((tier - 1) * (TalentFrame.pet and PET_TALENTS_PER_TIER or PLAYER_TALENTS_PER_TIER) <= tabPointsSpent) ) then tierUnlocked = 1; -- else -- tierUnlocked = nil; -- end --- End quote --- in the server's Player.cpp replace --- Quote ---// not have required min points spent in talent tree if (spentPoints < (talentInfo->Row * MAX_TALENT_RANK)) return; --- End quote --- by --- Quote ---// not have required min points spent in talent tree // if (spentPoints < (talentInfo->Row * MAX_TALENT_RANK)) // return; --- End quote ---
Hoping to have nothing forgotten.
Bonjour,
Pour que cela fonctionne vous devez remplacer dans TalentFrameBase.lua :
--- Quote ---PLAYER_TALENTS_PER_TIER = 5; --- End quote --- par --- Quote ---PLAYER_TALENTS_PER_TIER = 0; --- End quote --- puis dans TalentFrame_Update(TalentFrame) :
--- Quote ---if ( ((tier - 1) * (TalentFrame.pet and PET_TALENTS_PER_TIER or PLAYER_TALENTS_PER_TIER) <= tabPointsSpent) ) then tierUnlocked = 1; else tierUnlocked = nil; end --- End quote --- par --- Quote ----- if ( ((tier - 1) * (TalentFrame.pet and PET_TALENTS_PER_TIER or PLAYER_TALENTS_PER_TIER) <= tabPointsSpent) ) then tierUnlocked = 1; -- else -- tierUnlocked = nil; -- end --- End quote --- dans le Player.cpp du serveur remplacer --- Quote ---// not have required min points spent in talent tree if (spentPoints < (talentInfo->Row * MAX_TALENT_RANK)) return; --- End quote --- par --- Quote ---// not have required min points spent in talent tree // if (spentPoints < (talentInfo->Row * MAX_TALENT_RANK)) // return; --- End quote ---
En espérant ne rien avoir oublié.
Navigation
[0] Message Index
[*] Previous page
|