Esempio n. 1
0
 public IdolRecord(ushort id,
                   string description,
                   int categoryId,
                   ushort itemId,
                   ushort spellId,
                   sbyte spellGrade,
                   bool groupOnly,
                   int score,
                   ushort experienceBonus,
                   ushort dropBonus,
                   List <int> synergyIdolsIds,
                   List <double> synergyIdolsCoeff,
                   List <ushort> incompatibleMonsters)
 {
     this.Id                   = id;
     this.Description          = description;
     this.CategoryId           = categoryId;
     this.ItemId               = itemId;
     this.GroupOnly            = groupOnly;
     this.Score                = score;
     this.ExperienceBonus      = experienceBonus;
     this.DropBonus            = dropBonus;
     this.SpellId              = spellId;
     this.SpellGrade           = spellGrade;
     this.SynergyIdolsIds      = synergyIdolsIds;
     this.SynergyIdolsCoeff    = synergyIdolsCoeff;
     this.IncompatibleMonsters = incompatibleMonsters;
     this.SpellLevel           = SpellLevelRecord.GetSpellLevel(spellId, spellGrade);
 }