Ejemplo n.º 1
0
 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;
 }
Ejemplo n.º 2
0
 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;
 }