Jump to content

cristal

Members
  • Posts

    8
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

Posts posted by cristal

  1. 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

  2. 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);

  3. 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

×
×
  • 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