Class SkillFactory
- Namespace
- Nekoyume.Model.Skill
- Assembly
- Lib9c.dll
public static class SkillFactory
- Inheritance
-
SkillFactory
- Inherited Members
-
Methods
Deserialize(Dictionary)
public static Skill Deserialize(Dictionary serialized)
Parameters
serialized Dictionary
Returns
- Skill
Get(Row, long, int, int, StatType)
public static Skill Get(SkillSheet.Row skillRow, long power, int chance, int statPowerRatio, StatType referencedStatType)
Parameters
skillRow SkillSheet.Row
power long
chance int
statPowerRatio int
referencedStatType StatType
Returns
- Skill
GetForArena(Row, long, int, int, StatType)
public static ArenaSkill GetForArena(SkillSheet.Row skillRow, long power, int chance, int statPowerRatio, StatType referencedStatType)
Parameters
skillRow SkillSheet.Row
power long
chance int
statPowerRatio int
referencedStatType StatType
Returns
- ArenaSkill
GetV1(Row, long, int)
[Obsolete("Use Get() instead.")]
public static Skill GetV1(SkillSheet.Row skillRow, long power, int chance)
Parameters
skillRow SkillSheet.Row
power long
chance int
Returns
- Skill
SelectSkill(ItemSubType, CustomEquipmentCraftRecipeSkillSheet, EquipmentItemOptionSheet, SkillSheet, IRandom)
public static Skill SelectSkill(ItemSubType itemSubType, CustomEquipmentCraftRecipeSkillSheet recipeSkillSheet, EquipmentItemOptionSheet itemOptionSheet, SkillSheet skillSheet, IRandom random)
Parameters
itemSubType ItemSubType
recipeSkillSheet CustomEquipmentCraftRecipeSkillSheet
itemOptionSheet EquipmentItemOptionSheet
skillSheet SkillSheet
random IRandom
Returns
- Skill