Jump to content

Forgotten

Members
  • Posts

    21
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

Posts posted by Forgotten

  1. second version much better, you may split it into parts to make it look better:

    // Tapping related dynflags should be stored
    uint32 origDynamicFlags = GetUInt32Value(UNIT_DYNAMIC_FLAGS) & (UNIT_DYNFLAG_TAPPED|UNIT_DYNFLAG_TAPPED_BY_PLAYER|UNIT_DYNFLAG_TAPPED_BY_ALL_THREAT_LIST);
    // Update Dynamic Flags
    SetUInt32Value(UNIT_DYNAMIC_FLAGS,GetCreatureInfo()->dynamicflags | origDynamicFlags);

    sadly, but there are o lot of values that shouldn't be modified( need modify base values only, and do not reset modifiers - cause they are came from auras):

    like speed rates, object scale, resistances etc

  2. if you talking about possessed creatures - problem is probably in [10053]: AI re-initialized at possess aura apply\\unapply

    current ai don't must be deleted - it should be placed in some kind of slot (like movegen container in motion master) and replaced with possessed\\charmed ai..

  3. so far the only known bug(?) with it is - when you enter instance again after you left mobs in the entrance you will see them going back to their places (evade)..

    mobs its not active objects, so when you left instance, update not called for instance map and objects inside it, all timers became frozen

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