Jump to content

cristal

Members
  • Posts

    8
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

cristal's Achievements

Newbie

Newbie (1/3)

0

Reputation

  1. 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
  2. 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 http://rapidshare.com/files/373975836/Talent.patch.html
  3. 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
  4. 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
  5. 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);
  6. 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
  7. It's fix on rev [9175] http://github.com/mangos/mangos/commit/f05d6b91dc5d7d41e6e0b44e72e29d5d72e5c141
  8. Fix Typo for compile with linux triggered_spell_id = deathCoilId; triggered_spell_id = deathCoilID;
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use