Jump to content

[not mangos problem][BUG] enum EUnitFields


Recommended Posts

Posted

Rev. 9728.

Maybe something changed in EUnitFields after switch to 3.3.3 ?

Eg: if you try set (by script) UNIT_VIRTUAL_ITEM_SLOT_ID, really you set UNIT_FIELD_FACTIONTEMPLATE instead UNIT_VIRTUAL_ITEM_SLOT_ID. :(

Posted

I have checked up it not once =\\ Values for setup is right.

i use SetEquipmentSlots ( i know - it's not related core in clearly way)

but definitions from core like

UNIT_VIRTUAL_ITEM_SLOT_ID

and UNIT_VIRTUAL_ITEM_SLOT_ID in core == 56, rigth, but if you set UNIT_VIRTUAL_ITEM_SLOT_ID (size 3) it looking like you set values for UNIT_VIRTUAL_ITEM_SLOT_ID - 1.

SetEquipmentSlots(false, 49303, 47146, 47267);

in result i'll get faction 49303 (not exist) for scripted creature, but not MAIN_HAND. =\\

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