Наследование: DungeonMasterEngine.DungeonContent.Entity.Properties.@base.Property
Пример #1
0
 public IEnumerable<IProperty> GetProperties(Champion champion)
 {
     LoadProperty load;
     return new IProperty[]
     {
         load = new LoadProperty(champion),
         new HealthProperty(GetValueOfDMHexEncoding(descriptor[4].Substring(0, 4))),
         new StaminaProperty(GetValueOfDMHexEncoding(descriptor[4].Substring(4, 4))),
         new ManaProperty(GetValueOfDMHexEncoding(descriptor[4].Substring(8, 4))),
         new LuckProperty(GetValueOfDMHexEncoding(descriptor[5].Substring(0, 2))),
         new StrengthProperty(GetValueOfDMHexEncoding(descriptor[5].Substring(2, 2))),
         new DextrityProperty(GetValueOfDMHexEncoding(descriptor[5].Substring(4, 2)), load),
         new WisdomProperty(GetValueOfDMHexEncoding(descriptor[5].Substring(6, 2))),
         new VitalityProperty(GetValueOfDMHexEncoding(descriptor[5].Substring(8, 2))),
         new AntiMagicProperty(GetValueOfDMHexEncoding(descriptor[5].Substring(10, 2))),
         new AntiFireProperty(GetValueOfDMHexEncoding(descriptor[5].Substring(12, 2))),
     };
 }
Пример #2
0
 public DextrityProperty(int value, LoadProperty load)
 {
     this.load = load;
     BaseValue = this.value = value;
 }
Пример #3
0
 public DextrityProperty(int value, LoadProperty load)
 {
     this.load = load;
     BaseValue = this.value = value;
 }