20 :
AssetTWrapper(parent,
"Artifact", art), myResourcesManager(resourcesManager), mySpecificItem(nullptr)
29 name = tr(
"%1 (%2%, %3 chances on %4)")
31 .arg(qRound(100. * n / d))
36 if (list && list->total_chance != 0) {
37 name = tr(
"%1 (%2%, %3 chances on %4)")
39 .arg(qRound((
float)100 *
myWrappedItem->chance / list->total_chance))
41 .arg(list->total_chance);
83 auto face =
dynamic_cast<const FaceWrapper *
>(asset);