Jump to content

kisslota

Members
  • Posts

    40
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

Posts posted by kisslota

  1. typo

    diff --git a/src/game/ArenaTeam.cpp b/src/game/ArenaTeam.cpp

    index 0159d41..8898668 100644

    --- a/src/game/ArenaTeam.cpp

    +++ b/src/game/ArenaTeam.cpp

    @@ -835,7 +835,7 @@ void ArenaTeam::OfflineMemberLost(ObjectGuid guid, uint32 againstRating)

    if (int32(itr->matchmaker_rating) + mod < 0)

    itr->matchmaker_rating = 0;

    else

    - itr->matchmaker_rating + mod;

    + itr->matchmaker_rating += mod;

    if(GetType() == ARENA_TYPE_2v2)

    CharacterDatabase.PExecute("UPDATE hidden_rating SET rating2 = '%u' WHERE guid = '%u'", itr->matchmaker_rating, guid.GetCounter());

  2. Bug: Pet trainers offer to reset talent points of pets but however do not do so when asked to.

    Database: UDB 391

    Core: 10041 Mangos

    Addons: ScriptDev2, AuctionHouseBot, FGgroup.

    Pet trainers Give the option to hunters to reset their pet talents but when you click the gossip selection "I would like to untrain my pet" They do nothing the window simply closes leaving the talents still learned.

  3. hey guys!!

    All guardians Pet Does not have a necessary damage. Example: mage Water Elemental, force of nature, earth elemental, fire elemental, Shadowfiend, Feral Spirit,Mirror Image, Ebon Gargoyle.

    In trinity this problem a long ago is decided.

            case HUNTER_PET:
           {
               SetUInt32Value(UNIT_FIELD_PETNEXTLEVELEXP, objmgr.GetXPForLevel(petlevel)*PET_XP_FACTOR);
               //these formula may not be correct; however, it is designed to be close to what it should be
               //this makes dps 0.5 of pets level
               SetBaseWeaponDamage(BASE_ATTACK, MINDAMAGE, float(petlevel - (petlevel / 4)));
               //damage range is then petlevel / 2
               SetBaseWeaponDamage(BASE_ATTACK, MAXDAMAGE, float(petlevel + (petlevel / 4)));
               //damage is increased afterwards as strength and pet scaling modify attack power
               break;
           }
           default:
           {
               switch (GetEntry())
               {
                   case 510: // mage Water Elemental
                   {
                       //40% damage bonus of mage's frost damage
                       float val = m_owner->GetUInt32Value(PLAYER_FIELD_MOD_DAMAGE_DONE_POS + SPELL_SCHOOL_FROST) * 0.4;
                       if (val < 0)
                           val = 0;
                       SetBonusDamage(int32(val));
                       break;
                   }
                   case 1964: //force of nature
                   {
                       if (!pInfo)
                           SetCreateHealth(30 + 30*petlevel);
                       SetBaseWeaponDamage(BASE_ATTACK, MINDAMAGE, float(petlevel * 2.5f - (petlevel / 2)));
                       SetBaseWeaponDamage(BASE_ATTACK, MAXDAMAGE, float(petlevel * 2.5f + (petlevel / 2)));
                       break;
                   }
                   case 15352: //earth elemental 36213
                   {
                       if (!pInfo)
                           SetCreateHealth(100 + 120*petlevel);
                       SetBaseWeaponDamage(BASE_ATTACK, MINDAMAGE, float(petlevel - (petlevel / 4)));
                       SetBaseWeaponDamage(BASE_ATTACK, MAXDAMAGE, float(petlevel + (petlevel / 4)));
                       break;
                   }
                   case 15438: //fire elemental
                   {
                       if (!pInfo)
                       {
                           SetCreateHealth(40*petlevel);
                           SetCreateMana(28 + 10*petlevel);
                       }
                       SetBaseWeaponDamage(BASE_ATTACK, MINDAMAGE, float(petlevel * 4 - petlevel));
                       SetBaseWeaponDamage(BASE_ATTACK, MAXDAMAGE, float(petlevel * 4 + petlevel));
                       break;
                   }
                   case 19668: // Shadowfiend
                   {
                       if (!pInfo)
                       {
                           SetCreateMana(28 + 10*petlevel);
                           SetCreateHealth(28 + 30*petlevel);
                       }
                       int32 bonus_dmg = (int32(m_owner->SpellBaseDamageBonus(SPELL_SCHOOL_MASK_SHADOW)* 0.3f));
                       SetBaseWeaponDamage(BASE_ATTACK, MINDAMAGE, float((petlevel * 4 - petlevel) + bonus_dmg));
                       SetBaseWeaponDamage(BASE_ATTACK, MAXDAMAGE, float((petlevel * 4 + petlevel) + bonus_dmg));
    
                       break;
                   }
                   case 19833: //Snake Trap - Venomous Snake
                   {
                       SetCreateHealth(uint32(107 * (petlevel - 40) * 0.025f));
                       SetCreateMana(0);
                       SetBaseWeaponDamage(BASE_ATTACK, MINDAMAGE, float((petlevel / 2) - 25));
                       SetBaseWeaponDamage(BASE_ATTACK, MAXDAMAGE, float((petlevel / 2) - 18));
                       break;
                   }
                   case 19921: //Snake Trap - Viper
                   {
                       SetCreateHealth(uint32(107 * (petlevel - 40) * 0.025f));
                       SetCreateMana(0);
                       SetBaseWeaponDamage(BASE_ATTACK, MINDAMAGE, float(petlevel / 2 - 10));
                       SetBaseWeaponDamage(BASE_ATTACK, MAXDAMAGE, float(petlevel / 2));
                       break;
                   }
                   case 29264: // Feral Spirit
                   {
                       if (!pInfo)
                           SetCreateHealth(30*petlevel);
    
                       float dmg_multiplier = 0.3f;
                       if (m_owner->GetAuraEffect(63271, 0)) // Glyph of Feral Spirit
                           dmg_multiplier = 0.6f;
    
                       SetBonusDamage(int32(m_owner->GetTotalAttackPowerValue(BASE_ATTACK) * dmg_multiplier));
    
                       SetBaseWeaponDamage(BASE_ATTACK, MINDAMAGE,float((petlevel * 4 - petlevel) + (m_owner->GetTotalAttackPowerValue(BASE_ATTACK) * dmg_multiplier)));
                       SetBaseWeaponDamage(BASE_ATTACK, MAXDAMAGE,float((petlevel * 4 + petlevel) + (m_owner->GetTotalAttackPowerValue(BASE_ATTACK) * dmg_multiplier)));
    
                       SetModifierValue(UNIT_MOD_ARMOR, BASE_VALUE, float(m_owner->GetArmor()) * 0.35f);  //  Bonus Armor (35% of player armor)
                       SetModifierValue(UNIT_MOD_STAT_STAMINA, BASE_VALUE,float(m_owner->GetStat(STAT_STAMINA)) * 0.3f);  //  Bonus Stamina (30% of player stamina)
                       if (!HasAura(58877))//prevent apply twice for the 2 wolves
                           AddAura(58877, this);//Spirit Hunt, passive, Spirit Wolves' attacks heal them and their master for 150% of damage done.
                       break;
                   }
                   case 31216: // Mirror Image
                   {
                       SetBonusDamage(int32(m_owner->SpellBaseDamageBonus(SPELL_SCHOOL_MASK_FROST) * 0.33f));
                       SetDisplayId(m_owner->GetDisplayId());
                       if (!pInfo)
                       {
                           SetCreateMana(28 + 30*petlevel);
                           SetCreateHealth(28 + 10*petlevel);
                       }
                       break;
                   }
                   case 27829: // Ebon Gargoyle
                   {
                       if (!pInfo)
                       {
                           SetCreateMana(28 + 10*petlevel);
                           SetCreateHealth(28 + 30*petlevel);
                       }
                       SetBonusDamage(int32(m_owner->GetTotalAttackPowerValue(BASE_ATTACK) * 0.5f));
                       SetBaseWeaponDamage(BASE_ATTACK, MINDAMAGE, float(petlevel - (petlevel / 4)));
                       SetBaseWeaponDamage(BASE_ATTACK, MAXDAMAGE, float(petlevel + (petlevel / 4)));
                       break;
                   }
               }
               break;
           }
       }
    

    But My knowledge With does not seize that to do this code under. it can be someone will be able to rewrite a code. Not as early as one revision and version of client did not work correctly these pets.

    Thank you for attention!:)

  4. Mangos Version: 9810

    Custom Patches: None

    SD2 Version: 1679

    Database Name and Version : UDB Rev. 390

    Mark of Blood http://www.wowhead.com/spell=49005

    []ENG[]

    The bug consists that when you hang up on mob a label, at heal mob the player, others mobs in crowd aggr on healmob... And should beat the player...

    As an exit it is necessary on triggered_spell_id = 61607; make that the original caster be the player instead of mob..

    []RU[]

    Баг заключается в том, что когда вешаешь на моба метку, то при хиле мобом игрока, другие мобы в толпе агрятся на моба (хилера)... А должны оставатся бить игрока...

    Как выход Нужно просто сделать, чтобы original caster-ом 61607 был не моб, а тот, кто повесил спелл (игрок).

    // Mark of Blood
               if (dummySpell->Id == 49005)
               {
                   // TODO: need more info (cooldowns/PPM)
                   triggered_spell_id = 61607;
                   break;
               }

  5. I have noticed that in this patch, have been corrected are spell. In particular // mage's Water Elemental// priest's Shadowfien // Feral Spirit Wolves // Mirror Image

    Which in last REV do not work as it is necessary..

    Whether the author of the given patch, separately to write a patch, on correction of the given pet`s can?

  6. last rev Feral Spirit

    Beats "as mobs", the loss pet increases nothing, glyph http://www.wowhead.com/item=45771 does not work.

    In Trinity for a long time works. Here the idea therefrom is taken.

    Pet.cpp Trinity

                case 29264: // Feral Spirit
                   {
                       if (!pInfo)
                           SetCreateHealth(30*petlevel);
    
                       float dmg_multiplier = 0.3f;
                       if (HasAura(63271)) // Glyph of Feral Spirit
                           dmg_multiplier = 0.6f;
    
                       SetBonusDamage(int32(m_owner->GetTotalAttackPowerValue(BASE_ATTACK) * dmg_multiplier));
    
                       SetBaseWeaponDamage(BASE_ATTACK, MINDAMAGE,float((petlevel * 4 - petlevel) + (m_owner->GetTotalAttackPowerValue(BASE_ATTACK) * dmg_multiplier)));
                       SetBaseWeaponDamage(BASE_ATTACK, MAXDAMAGE,float((petlevel * 4 + petlevel) + (m_owner->GetTotalAttackPowerValue(BASE_ATTACK) * dmg_multiplier)));
    
                       SetModifierValue(UNIT_MOD_ARMOR, BASE_VALUE, float(m_owner->GetArmor()) * 0.35f);  //  Bonus Armor (35% of player armor)
                       SetModifierValue(UNIT_MOD_STAT_STAMINA, BASE_VALUE,float(m_owner->GetStat(STAT_STAMINA)) * 0.3f);  //  Bonus Stamina (30% of player stamina)
                       break;
                   }

           SetCreateStat(STAT_STRENGTH, 22);
           SetCreateStat(STAT_AGILITY, 22);
           SetCreateStat(STAT_STAMINA, 25);
           SetCreateStat(STAT_INTELLECT, 28);
           SetCreateStat(STAT_SPIRIT, 27);
       }
       if (GetEntry() == 29264)
       {
           float apbonus=0.35f;
    
           // Glyph of Feral Spirit
           if (AuraEffect *aurEff = m_owner->GetAuraEffect(63271, 0))
               apbonus += aurEff->GetAmount() / 100.0f;
       }
       m_bonusdamage = 0;
       switch (petType)
       {
    

    I have altered under mangos, loss and glyph does not work. The help Is necessary..

    Pet.cpp

                    
                  SetCreateStat(STAT_STRENGTH, 22);
                   SetCreateStat(STAT_AGILITY, 22);
                   SetCreateStat(STAT_STAMINA, 25);
                   SetCreateStat(STAT_INTELLECT, 28);
                   SetCreateStat(STAT_SPIRIT, 27);
               }
               break;
           }
    +     case 29264: // Feral Spirit
    +               {
    +    SetCreateHealth(30*petlevel);
    +
    +                   float dmg_multiplier = 0.3f;
    +     if (HasAura(63271)) // Glyph of Feral Spirit
    +                       dmg_multiplier = 0.6f;
    +    SetBonusDamage(int32(owner->GetTotalAttackPowerValue(BASE_ATTACK) * dmg_multiplier));
    +            SetBaseWeaponDamage(BASE_ATTACK, MINDAMAGE,float((petlevel * 4 - petlevel) + (owner->GetTotalAttackPowerValue(BASE_ATTACK) * dmg_multiplier)));
    +            SetBaseWeaponDamage(BASE_ATTACK, MAXDAMAGE,float((petlevel * 4 + petlevel) + (owner->GetTotalAttackPowerValue(BASE_ATTACK) * dmg_multiplier)));
    +
    +                    SetModifierValue(UNIT_MOD_ARMOR, BASE_VALUE, float(owner->GetArmor()) * 0.35f);  //  Bonus Armor (35% of player armor)
    +                    SetModifierValue(UNIT_MOD_STAT_STAMINA, BASE_VALUE,float(owner->GetStat(STAT_STAMINA)) * 0.3f);  //  Bonus Stamina (30% of player stamina)
    +                    break;
    +                     }
           case GUARDIAN_PET:
               SetUInt32Value(UNIT_FIELD_PETEXPERIENCE, 0);
               SetUInt32Value(UNIT_FIELD_PETNEXTLEVELEXP, 1000);
    

    Sorry for my English

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