Jump to content

kisslota

Members
  • Posts

    40
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

Everything 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. Уже давно работает, тему можно переносить.
  3. http://paste2.org/p/1445155
  4. По лив тесту работает без проблем. Но код почистить надо бы
  5. DELETE FROM spell_proc_event WHERE entry = 58872; INSERT INTO spell_proc_event VALUES (58872, 0x00, 4, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00002043, 0.000000, 0.000000, 0);
  6. https://github.com/mangos/mangos/commit/ac40c7e62c4550998bea58460ea58852cd84f8e0 Можно Удалять-Переносить тему
  7. 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.
  8. talent 52788 While tracking Beasts, Demons, Dragonkin, Elementals, Giants, Humanoids and Undead, all damage done to those types by the Hunter is increased by 5%. Dont work Last rev (10032)
  9. 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!
  10. 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; }
  11. Mangos Version: 9810 Custom Patches: None SD2 Version: 1679 Database Name and Version : UDB Rev. 390 Feral Aggression http://www.wowhead.com/spell=16861 how its supposed to work: Increases the attack power reduction of your Demoralizing Roar by 32% and the damage caused by your Ferocious Bite by 12%. how it works: There is no loss increase Ferocious Bite by 12%. (Current value 0%)
  12. Well have solved? Has passed already almost a floor of year, and glyph and do not work...
  13. UPDATE gameobject_battleground SET event1 = 252 WHERE guid IN (90108, 90107, 90114, 90118, 90117, 90113); Also it is not necessary any changes in a core
  14. 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?
  15. 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
  16. dont work spell Critical Block http://www.wowhead.com/spell=47294
  17. Up! Very necessary talent does not work
  18. Quick Recovery All healing effects on you are increased by 20%. In additon, your finishing moves refund 80% of their Energy cost when they fail to hit. - dont work
  19. rev. 9624 UDB 389 http://www.wowhead.com/?spell=59089 http://ru.wowhead.com/?spell=59088 Improved Spell Reflection Reduces the chance you'll be hit by spells by 2/4% and when the ability is used it will reflect the first spell cast against the 2/4 closest party members within 20 yards. - dont work
  20. rev. 9624 UDB 389 Wrecking Crew http://www.wowhead.com/?spell=46867 Completely does not work
  21. [bUG] Totem of Wrath Totem of Wrath http://www.wowhead.com/?spell=57722 On mobs there is no aura of +3 % crit. Totem of Wrath Summons a Totem of Wrath with 5 health at the feet of the caster. The totem increases spell power by 280 for all party and raid members, and increases the critical strike chance of all attacks by 3% against all enemies within 40 yards. Lasts 5 min.
×
×
  • 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