Jump to content

H0zen

Senior getMaNGOS Developer
  • Posts

    114
  • Joined

  • Last visited

  • Days Won

    11
  • Donations

    0.00 GBP 

Bug Comments posted by H0zen

  1. UNIT_FLAG_DISABLE_MOVE is a confusing flag; despite its name, it only applies to players and simply means "the player is no longer in the control of its movement".

    For the chasing cannons issue, the only viable method I see is to use EventAI with ACTION_T_COMBAT_MOVEMENT on EVENT_T_SPAWNED

    For the casting spell issue, one is tempted to think that creature_template_spells table from the database is enough to make a creature cast spells. The truth is that table has nothing to do with creatures' spells, it simply describes what spells are available in your action bar if you CONTROL that creature (mind control, for example). Please remember, in MaNGOS and all it's descendants, no creature will cast spells unless instructed to do so via scripting! All creatures, by default, can only do melee attacks (and have combat movement enabled). So, for the cannons to cast spell 36238, it is mandatory to script them (EventAI is the most simple approach).

    • Like 1
×
×
  • 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