Jump to content

Scream

Members
  • Posts

    5
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

Scream's Achievements

Newbie

Newbie (1/3)

0

Reputation

  1. Thank you so much guys I only have one question: .I have to look at the frostbolt rank spells? Cuz all i see is empty at column 211.
  2. Ow, c'mon, is there nobody who can help me at all?
  3. Hey I want to fix this mage talent Empowered Frostbolt, but I don't even know where to start from. I figured it should be written in SpellAuras.cpp, under void Aura::HandleModSpellCritChance(bool apply, bool Real) . But I don't know what should I look for. I thought of smth like if(m_spellProto->SpellFamilyName==SPELLFAMILY_MAGE && m_spellProto->SpellFamilyFlags == ??) but I ran out of ideas. Any help would be appreciated, thanx
  4. You move the .patch file tin the Mangos folder (the one with /src, /win /bin, etc), you select that folder, right click on it, Git Bash Here and then u enter in the console: git apply patch_filename.patch (if the patch is in Mangos folder, if not, write the full path). For example: git apply deathgrip.patch Hope it helps
  5. diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index 168cf44..adb562c 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -1764,7 +1764,23 @@ void Spell::EffectDummy(uint32 i) } return; } - break; + //Death Grip temp fix + if(m_spellInfo->Id==49576) + { + if (!unitTarget||!m_caster) + return; + uint32 mapid = m_caster->GetMapId(); + float x = m_caster->GetPositionX(); + float y = m_caster->GetPositionY(); + float z = m_caster->GetPositionZ()+1; + float orientation = unitTarget->GetOrientation(); + m_caster->CastSpell(unitTarget,49560,true,NULL);//get taunt debuff as well + unitTarget->SendMonsterMove(x,y,z,0,MOVEMENTFLAG_JUMPING,1); + if (unitTarget->GetTypeId()==TYPEID_PLAYER) + unitTarget->NearTeleportTo(x,y,z,orientation,false); + return; + } + break; } // pet auras I'm using this for my server and works very well as I can tell. Any advice for improving? At least at the visual part, the unitTarget does not get pulled like "leap", just walking very fast.
×
×
  • 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