cristal
-
Posts
8 -
Joined
-
Last visited
Never -
Donations
0.00 GBP
Content Type
Profiles
Bug Tracker
Wiki
Release Notes
Forums
Downloads
Blogs
Events
Posts posted by cristal
-
-
try this for understand or git pull
http://github.com/cristal/talent
http://github.com/cristal/talent/commit/c04b4e1d6ed9848a70da7071790883e615868182
or use this for git apply patch
-
just add / * */ for don't check if player is DK
and fix typo edit
return uint32(talentPointsForLevel * sWorld.getConfig(CONFIG_FLOAT_RATE_TALENT));
to return uint32(base_talent * sWorld.getConfig(CONFIG_FLOAT_RATE_TALENT));
then All player start with 71 Talentpoints (player level - 9)
sorry for my english
-
diff --git a/src/game/Player.cpp b/src/game/Player.cpp index e8a5b0c..f16fab1 100644 --- a/src/game/Player.cpp +++ b/src/game/Player.cpp @@ -20816,16 +20816,16 @@ uint32 Player::CalculateTalentsPoints() const { uint32 base_talent = getLevel() < 10 ? 0 : getLevel()-9; - if(getClass() != CLASS_DEATH_KNIGHT) + /*if(getClass() != CLASS_DEATH_KNIGHT) return uint32(base_talent * sWorld.getConfig(CONFIG_FLOAT_RATE_TALENT)); uint32 talentPointsForLevel = getLevel() < 56 ? 0 : getLevel() - 55; talentPointsForLevel += m_questRewardTalentCount; if(talentPointsForLevel > base_talent) - talentPointsForLevel = base_talent; + talentPointsForLevel = base_talent;*/ - return uint32(talentPointsForLevel * sWorld.getConfig(CONFIG_FLOAT_RATE_TALENT)); + return uint32(base_talent * sWorld.getConfig(CONFIG_FLOAT_RATE_TALENT)); } bool Player::IsKnowHowFlyIn(uint32 mapid, uint32 zone) const
-
REPLACE INTO gossip_menu_option (`menu_id`, `id`, `option_icon`, `option_text`, `option_id`, `npc_option_npcflag`, `action_menu_id`, `action_poi_id`, `action_script_id`, `box_coded`, `box_money`, `box_text`, `cond_1`, `cond_1_val_1`, `cond_1_val_2`, `cond_2`, `cond_2_val_1`, `cond_2_val_2`, `cond_3`, `cond_3_val_1`, `cond_3_val_2`) VALUES
(0, 16, 0, 'Purchase a Dual Talent Specialization.', 18, 16, 0, 0, 0, 0, 10000000, 'Are you sure you wish to purchase a Dual Talent Specialization?', 0, 0, 0, 0, 0, 0, 0, 0, 0);
-
REPLACE INTO gossip_menu_option (`menu_id`, `id`, `option_icon`, `option_text`, `option_id`, `npc_option_npcflag`, `action_menu_id`, `action_poi_id`, `action_script_id`, `box_coded`, `box_money`, `box_text`, `cond_1`, `cond_1_val_1`, `cond_1_val_2`, `cond_2`, `cond_2_val_1`, `cond_2_val_2`, `cond_3`, `cond_3_val_1`, `cond_3_val_2`) VALUES
(0, 16, 0, 'Purchase a Dual Talent Specialization.', 18, 16, 0, 0, 0, 0, 10000000, 'Are you sure you wish to purchase a Dual Talent Specialization?', 0, 0, 0, 0, 0, 0, 0, 0, 0);
Crash with rev 9701
-
-
Fix Typo for compile with linux
triggered_spell_id = deathCoilId;
triggered_spell_id = deathCoilID;
[Help] Making DeathKnights Start With 71Talentpoints
in OldC / C++
Posted
Look at line 20859 in this file
http://rapidshare.com/files/374320193/Playerbeforeupdate.cpp.html
I apply this patch
http://github.com/cristal/talent/commit/c04b4e1d6ed9848a70da7071790883e615868182
Look the result
http://rapidshare.com/files/374320611/Playerafterupdate.cpp.html