Jump to content

Darkruler

Members
  • Posts

    206
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

Everything posted by Darkruler

  1. http://github.com/mangos/mangos/commits/master the most recent commit that makes vehicle patch incompatible again is 9575 (you can see them rename a couple of things, but they don't rename vehicles for you...you have to do it yourself) they changed (MAKE_NEW_GUID(itr->first, 0, HIGHGUID_FUNCTION)); to (ObjectGuid(HIGHGUID_FUNCTION, itr->first)); and (uint64 guid) to (ObjectGuid guid) the green "FUNCTION" part can be creatures, vehicles, gameobjects etc.
  2. when using git apply -rej NAME.patch it will create reject files for every line that can't merge...those files will be put in */mangos/src/game open them and manually add them (check the patch file for info on where to paste it) and if you're using an old patch it may not work (it doesn't get rejected without a reason...) there might be changes (like last time MaNGOS changed data.append(FUNCTION)(); to data << function(); )
  3. it does, but you'll have to solve merge conflicts yourself (use your logic when you're in GIT GUI )
  4. 9571 made the patch incompatible... i don't know how you managed to compile it i managed to fix it, but i'm not using a clean MaNGOS and fixed it by hand so i can't make you guys a patch file...you can still check what i did though http://github.com/Darkrulerz/Hellscreamcore/commit/52856bc5a676eca8e127b18d4a74720c9b177fb2#diff-2
  5. old patch used by Evo-X but might still work (we changed a bit in the code structure so our most recent patch might not work for plain MaNGOS) : diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index eab30ba..f20a287 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -7362,8 +7362,12 @@ void Aura::PeriodicDummyTick() case SPELLFAMILY_MAGE: { // Mirror Image -// if (spell->Id == 55342) -// return; + if (spell->Id == 55342) + { + // Set name of summons to name of caster + m_target->CastSpell((Unit *)NULL, m_spellProto->EffectTriggerSpell[m_effIndex], true); + m_isPeriodic = false; + } break; } case SPELLFAMILY_DRUID: diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index 58384f4..371a634 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -2068,6 +2068,15 @@ void Spell::EffectTriggerSpell(uint32 effIndex) // special cases switch(triggered_spell_id) { + // Mirror Image + case 58832: + { + // Glyph of Mirror Image + if (m_caster->HasAura(63093)) + m_caster->CastSpell(m_caster, 65047, true); // Mirror Image + + break; + } // Vanish (not exist) case 18461: { @@ -3852,6 +3861,16 @@ void Spell::EffectSummonWild(uint32 i, uint32 forceFaction) summon->SetUInt32Value(UNIT_CREATED_BY_SPELL, m_spellInfo->Id); summon->SetCreatorGUID(m_caster->GetGUID()); + //Mirror image + if(creature_entry == 31216) + { + summon->SetLevel(m_caster->getLevel()); + summon->SetHealth(28 + 30*m_caster->getLevel()); + summon->setPowerType(POWER_MANA); + summon->SetPower(POWER_MANA, 28 + 30*m_caster->getLevel()); + summon->SetPvP(true); + } + if(forceFaction) summon->setFaction(forceFaction); }
  6. solved Mihael091's problem...had nothing to do with the tutorial... so: great tutorial :cool:
×
×
  • 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