public GoldDropItem(GoldDropItem goldDropItem)
     : base(0, goldDropItem.rdsProbability, goldDropItem.rdsUnique, goldDropItem.rdsAlways, goldDropItem.rdsEnabled)
 {
     GoldLootDto             = new GoldLootDto(goldDropItem.GoldLootDto);
     rdsValue                = RDSRandom.GetIntValue(GoldLootDto.MinValue, GoldLootDto.MaxValue);
     GoldLootDto.RolledValue = rdsValue;
 }
 public GoldDropItem(Drop drop, GoldLoot goldLoot)
     : base(0, drop.Probability, drop.Unique, drop.Always, drop.Enabled)
 {
     GoldLootDto             = Mapper.Map <GoldLootDto>(goldLoot);
     rdsValue                = RDSRandom.GetIntValue(GoldLootDto.MinValue, GoldLootDto.MaxValue);
     GoldLootDto.RolledValue = rdsValue;
 }
Beispiel #3
0
 public GoldLootDto(GoldLootDto otherGoldLootDto)
     : base()
 {
     LootId   = otherGoldLootDto.LootId;
     MinValue = otherGoldLootDto.MinValue;
     MaxValue = otherGoldLootDto.MaxValue;
     MinValue = otherGoldLootDto.MinValue;
 }