Пример #1
0
        protected override void OnRuneApplied(CraftResultEnum result, MagicPoolStatus poolStatus)
        {
            InventoryHandler.SendExchangeCraftResultMagicWithObjectDescMessage(Character.Client, result, ItemToImprove.PlayerItem, ItemEffects, poolStatus);

            InventoryHandler.SendExchangeCraftInformationObjectMessage(Character.Client, ItemToImprove.PlayerItem, ItemToImprove.Owner, (ExchangeCraftResultEnum)result);
            ItemToImprove.Owner.Inventory.RefreshItem(ItemToImprove.PlayerItem);
        }
Пример #2
0
 protected virtual void OnRuneApplied(CraftResultEnum result, MagicPoolStatus poolStatus)
 {
 }
Пример #3
0
 public static void SendExchangeCraftResultMagicWithObjectDescMessage(IPacketReceiver client, CraftResultEnum craftResult, IItem item, IEnumerable <EffectBase> effects, MagicPoolStatus poolStatus)
 {
     client.Send(new ExchangeCraftResultMagicWithObjectDescMessage((sbyte)craftResult, new ObjectItemNotInContainer((short)item.Template.Id, effects.Select(x => x.GetObjectEffect()), item.Guid, (int)item.Stack), (sbyte)poolStatus));
 }