Jump to content

maxxx2021

Members
  • Posts

    17
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

About maxxx2021

  • Birthday 01/01/2000

maxxx2021's Achievements

Member

Member (2/3)

0

Reputation

  1. Hi every one. As have shown sniff from official server, isn't present phases in dungeon for team control. I has written a patch which realizes creature spawn in dungeon depending on that has come. And as spawn and despawn creature during the necessary moments. It is necessary for dungeon: Pit Of Saron, Culling Of Stratholme, Icecrown Citadel and etc. For change map event in script: map->ProcessMapEvent(event); patch on github: Patch Fix for patch: Fix Test for YTDB: INSERT INTO creature_script_spawn SELECT guid, '469', '0', '0', 'Nexus Horde Soldiers' FROM creature WHERE map = 576 AND phaseMask = 128; INSERT INTO creature_script_spawn SELECT guid, '67', '0', '0', 'Nexus Alliance Soldiers' FROM creature WHERE map = 576 AND phaseMask = 64; UPDATE creature SET phaseMask = 1 WHERE phaseMask = 128 AND map = 576; UPDATE creature SET phaseMask = 1 WHERE phaseMask = 64 AND map = 576;
  2. Some change on old patch. Fix attack timers and remove new Field: Patch On Git
  3. Need remove UNIT_FIELD_BASEATTACKTIME_2 ? Patch with removed UNIT_FIELD_BASEATTACKTIME_2: Patch Here
  4. But in sniff "UNIT_FIELD_BASEATTACKTIME_2" use how time for Off Hand attack. UNIT_FIELD_BASEATTACKTIME = OBJECT_END + 0x0038 UNIT_FIELD_BASEATTACKTIME + 1 in core = OBJECT_END + 0x0039 now UNIT_FIELD_BASEATTACKTIME_2 = OBJECT_END + 0x0039 How in sniff
  5. if (m_creature->isAttackReady(attType) && m_creature->CanReachWithMeleeAttack(m_creature->getVictim())) If attack ready (change timer) and victim in the attack distance: m_creature->AttackerStateUpdate(m_creature->getVictim(), attType); "the main-attack is done if possible, and if it was done, the off-attack is skipped - is this correct?" Yes its right! P.S. In any way he not strike if the getVictim is far.
  6. Hi everyone. I would write a patch that NPC could attack the left hand if they have in it the weapon. Your opinion is necessary. Patch on github: https://github.com/bwsrv/mangos/commit/c6c041d1309076e9d0063876505e400e19930cfc Some change on old patch. Fix attack timers and remove new Field: Patch On Git
  7. http://ru-mangos.ru/showthread.php?p=2359
  8. In the duel use flag on player, use him on the mirror image.
  9. I saw as clones used fire ball. Probably it depends on that on what branch the magician?
  10. enum { SPELL_FROSTBOLT = 59638, SPELL_FIREBALL = 59637 }; struct MANGOS_DLL_DECL npc_mirror_imageAI : public ScriptedAI { npc_mirror_imageAI(Creature *pCreature) : ScriptedAI(pCreature) { Reset(); } uint32 m_uiFrostBoltTimer; void Reset() { m_uiFrostBoltTimer = 1000; } void UpdateAI(const uint32 uiDiff) { if (!m_creature->SelectHostileTarget() || !m_creature->getVictim()) return; if (m_uiFrostBoltTimer < uiDiff) { if (DoCastSpellIfCan(m_creature->getVictim(), SPELL_FROSTBOLT) == CAST_OK) m_uiFrostBoltTimer = urand(3600, 4000); }else m_uiFrostBoltTimer -= uiDiff; } }; CreatureAI* GetAI_npc_mirror_image(Creature* pCreature) { return new npc_mirror_imageAI(pCreature); } And use m_creature->GetLevel for spells. newscript = new Script; newscript->Name = "npc_mirror_image"; newscript->GetAI = &GetAI_npc_mirror_image; newscript->RegisterSelf();
  11. I will saying thanks when i see fully work only my eye. But i have not microsoft visual studio now.
  12. Hmmmm... Animation? This is patch fully realised jumped or only animations?
  13. Hmmm... Phhhhh... Vehicle make information from Client DBC or he make from DB Mangos?
  14. May be. I don't known. I think this is aura. But I'am can not that happened with mobs. Who can help me for repair this spell?
×
×
  • 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