mirror of
https://github.com/SoDOff-Project/sodoff.git
synced 2025-10-12 00:38:48 -07:00

* return battle item as battle items placeholder - no saved stats, always use default stats * Blacksmith API implementation * ApplyRewards (DT rewards) and AddBattleItems also temporary disable some AchievementsTask rewards from DT ... probably should not be repeatable ... * support "box tickets" blueprints - add OpenBox in ItemService (should be useful for other boxes also) - move checking item category to ItemService (ItemHasCategory) * InventoryService and full DragonTactics rewards - move "add to inventory" to InventoryService - move creating CommonInventoryData from inventory to InventoryService - move CreateItemStats() to ItemService - assigning random "item" reward from DT based on dtrewards.xml (at this moment list of all DT items not listed in store) - rework dragon XP and add player XP and gems reward to DT
17 lines
472 B
C#
17 lines
472 B
C#
using System.Xml.Serialization;
|
|
|
|
namespace sodoff.Schema;
|
|
|
|
[XmlRoot(ElementName = "IISM", Namespace = "")]
|
|
[Serializable]
|
|
public class InventoryItemStatsMap {
|
|
[XmlElement(ElementName = "CID", IsNullable = false)]
|
|
public int CommonInventoryID { get; set; }
|
|
|
|
[XmlElement(ElementName = "ITM", IsNullable = false)]
|
|
public ItemData Item { get; set; }
|
|
|
|
[XmlElement(ElementName = "ISM", IsNullable = false)]
|
|
public ItemStatsMap ItemStatsMap { get; set; }
|
|
}
|