View Single Post
07/09/16, 06:18 AM   #1
Enodoc
AddOn Author - Click to view addons
Join Date: Aug 2014
Posts: 52
[implemented] Return Previous Keep Owner when Ownership Changes

Hey there, this is a request for an addition to the event EVENT_KEEP_ALLIANCE_OWNER_CHANGED. Would it be possible to add the previous owner of the keep to the returns from this event?

That is, instead of
Lua Code:
  1. EVENT_KEEP_ALLIANCE_OWNER_CHANGED(eventCode, keepId, battlegroundContext, owningAlliance)
it would be good to have
Lua Code:
  1. EVENT_KEEP_ALLIANCE_OWNER_CHANGED(eventCode, keepId, battlegroundContext, owningAlliance, oldOwner)

That way, we could see at a glance which alliance is losing a keep, as well as which alliance is gaining one.

Thanks!