View Single Post
  #1  
Unread 05-04-2012, 02:40 PM
magill's Avatar
magill magill is offline
The Undying
 
Join Date: Sep 2010
Location: Philadelphia PA
Posts: 85
UPdate 7 - LUA Changes

From the first release notes: (Reformatted slightly for reading, hopefully my chances are correct as the original text is not clear)

Lua
  • Added GetInCombatMoraleRegeneration method, InCombatMoraleRegeneration Changed event to FreePeopleAttributes.
  • Added GetInCombatPowerRegeneration method, InCombatPowerRegeneration Changed event to FreePeopleAttributes.
  • Added GetOutOfCombatMoraleRegeneration method, OutOfCombatMoraleRegeneration Changed event to FreePeopleAttributes.
  • Added GetOutOfCombatPowerRegeneration method, OutOfCombatPowerRegeneration Changed event to FreePeopleAttributes.
  • Added Bank, Vault, and SharedStorage classes.
These class provide access to a player's Vault and SharedStoraged with the following methods and events:
IsAvailable, Getcount, GetCapacity, GetChestCount, GetChestName, GetItem, PerformShortcutDrop, IsAvailableChanged,
CountChanged, CapacityChanged, ItemsRefreshed, ItemAdded, ItemRemoved, ItemMoved, ChestNameChanged.

The Vault and SharedStorage classes behave similarly to the in game UIs with regards to access.
The data can only be accessed after talking to a banker and remaining within range. While away from a banker the classes will return default values for their methods.
  • Added ItemInfo. This class is the new container for common item information.
With this shift, the following methods are being deprecated in Item: GetCategory, GetQuality, GetDurability, GetUnderlayImageID, GetBackgroundImageID, GetShadowImageID, GetIconImageID, GetMaxStackSize, IsMagic.

Deprecated methods will be removed in a future version so update your plugins!
__________________
Bill Magill Mac Player
(OTG)
Val - Man Minstrel (107)
Valalin - Dwarf Minsrel (69)
Valamar - Dwarf Hunter (118)
Valanne - Beorning (105)
Valhad - Elf LM (65)
Valkeeper - Elf RK (85)
Valdicta - Dwarf RK (105)
Valwood - Dwarf RK (80)

Valhunt - Dwarf Hunter (68)
Ninth - Man Warden (65)

"Laid back, not so serious, no drama.
All about the fun!"

Reply With Quote