forked from SoDOff-Project/sodoff

* 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
263 B
C#
17 lines
263 B
C#
using System.Xml.Serialization;
|
|
|
|
namespace sodoff.Schema;
|
|
|
|
[XmlRoot(ElementName = "GLRT")]
|
|
[Serializable]
|
|
public enum LevelRewardType {
|
|
[XmlEnum("1")]
|
|
LevelCompletion = 1,
|
|
|
|
[XmlEnum("2")]
|
|
LevelFailure = 2,
|
|
|
|
[XmlEnum("3")]
|
|
ExtraChest = 3
|
|
}
|