mirror of
https://github.com/SoDOff-Project/sodoff.git
synced 2025-10-11 16:28:50 -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
20 lines
544 B
C#
20 lines
544 B
C#
using System.Xml.Serialization;
|
|
|
|
namespace sodoff.Schema;
|
|
|
|
[XmlRoot(ElementName = "BITM", Namespace = "")]
|
|
[Serializable]
|
|
public class BattleItemTierMap {
|
|
[XmlElement(ElementName = "IID", IsNullable = false)]
|
|
public int ItemID { get; set; }
|
|
|
|
[XmlElement(ElementName = "T", IsNullable = true)]
|
|
public ItemTier? Tier { get; set; }
|
|
|
|
[XmlElement(ElementName = "QTY", IsNullable = true)]
|
|
public int? Quantity { get; set; }
|
|
|
|
[XmlElement(ElementName = "iss", IsNullable = true)]
|
|
public ItemStat[] ItemStats { get; set; }
|
|
}
|