
Results 11 to 12 of 12
Threaded View
-
04-07-09, 11:23 AM #1
[Tutorial] How To Raise your Max Weapon/Armor/Proffession Skills past 450
Remeber this is just for ArcEmu core tutorial....
1) Open Arcemu/trunk/src/arcemu-world/player.cpp
2) Use Ctrl+F 'Find' to find these sections of code. Replace where i Have placed a '###' with your new max skill cap.
To Edit Weapon Max Skill level
Code:// force to be within limits #if PLAYER_LEVEL_CAP==80 Curr_sk = ( Curr_sk > ### ? ### : ( Curr_sk <1 ? 1 : Curr_sk ) ); Max_sk = ( Max_sk > ### ? ### : Max_sk ); #else Curr_sk = ( Curr_sk > ### ? ### : ( Curr_sk <1 ? 1 : Curr_sk ) ); Max_sk = ( Max_sk > ### ? ### : Max_sk ); #endif
For Max Level 80:
Code:{ new_max = itr->second.MaximumValue; if (new_max >= ###) new_max = ###; } else { new_max = 1; } // force to be within limits #if PLAYER_LEVEL_CAP==80 if (new_max > ###) new_max = ###; #else if (new_max > ###) new_max = ###; #endif
(Replace the ### with the new max skill level as usual and the $$$ with your servers max level
Code:{ new_max = itr->second.MaximumValue; if (new_max >= ###) new_max = ###; } else { new_max = 1; } // force to be within limits #if PLAYER_LEVEL_CAP==80 if (new_max > ###) new_max = ###; #else if (new_max > ###) new_max = ###; #endif #if PLAYER_LEVEL_CAP==$$$ if (new_max > ###) new_max = ###; #else if (new_max > ###) new_max = ###; #endif
Code:void Player::_ModifySkillMaximum(uint32 SkillLine, uint32 NewMax) { // force to be within limits #if PLAYER_LEVEL_CAP==80 NewMax = ( NewMax > ### ? ### : NewMax ); #else NewMax = ( NewMax > ### ? ### : NewMax ); #endif
That's it. Recompile your Arcemu Core and you enter in game.. Enjoy...