01-19-2014, 09:39 PM
(This post was last modified: 01-19-2014, 11:15 PM by daniel0916.)
(01-19-2014, 09:17 PM)STR_Warrior Wrote: Thugie is also working on this.Ah yes i see now his thread.
(01-19-2014, 09:17 PM)STR_Warrior Wrote: It seems you have to use the cWindow:SetPropertie function.Thanks.
SetProperty is working. Now the enchantments are available.
Now i must get if a item in the slot. I tried:
Code:
if (this->m_ParentWindow.GetSlot(a_Player, 0)->m_ItemType == -1)
Now I'm checking for items who can be enchanted.
Sometimes this isn't working:
Code:
if (this->m_ParentWindow.GetSlot(a_Player, 0)->m_ItemType == 268)
Give it a other method for the checking?