Aller au contenu

Photo

EVENT_TYPE_UNEQUIP change in 1.04


  • Veuillez vous connecter pour répondre
Aucune réponse à ce sujet

#1
nezroy

nezroy
  • Members
  • 99 messages
This is both a notice and a request to have someone verify this as well (just in case there's something really weird in my environment).

It appears that the behavior of EVENT_TYPE_UNEQUIP has changed in patch 1.04.

Prior to patch 1.04, calling GetEventCreator on this event would return the item being unequipped. Getting the event object at index 0 returned either the item being unequipped or nothing, I'm not sure.

In patch 1.04, calling GetEventCreator on this event now returns the creature doing the unequipping . Getting the event object at index 0 returns the item being unequipped.

This broke my code, though overall it's a good change since previously it was not easy to get the creature for whom the event was being called.