Jump to content

kisslota

Members
  • Posts

    40
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

kisslota's Achievements

Advanced Member

Advanced Member (3/3)

0

Reputation

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