1
This commit is contained in:
parent
b49d90706b
commit
94c47d1ad5
@ -165,6 +165,7 @@ class OutAppNftController extends BaseController {
|
|||||||
$info['name'] = $heroMeta['name'];
|
$info['name'] = $heroMeta['name'];
|
||||||
$info['description'] = $NftMeta['desc'];
|
$info['description'] = $NftMeta['desc'];
|
||||||
$info['image'] = "https://res2.counterfire.games/nft/meta/".$heroDb['hero_id'].'_'.$heroDb['quality'].".gif";
|
$info['image'] = "https://res2.counterfire.games/nft/meta/".$heroDb['hero_id'].'_'.$heroDb['quality'].".gif";
|
||||||
|
/*
|
||||||
array_push($info['attributes'],array(
|
array_push($info['attributes'],array(
|
||||||
"trait_type" => "quality",
|
"trait_type" => "quality",
|
||||||
"value" => intval($heroDb['quality']),
|
"value" => intval($heroDb['quality']),
|
||||||
@ -180,7 +181,7 @@ class OutAppNftController extends BaseController {
|
|||||||
array_push($info['attributes'],array(
|
array_push($info['attributes'],array(
|
||||||
"trait_type" => "lucky",
|
"trait_type" => "lucky",
|
||||||
"value" => floor($lucky * (1+$lucky_rate)),
|
"value" => floor($lucky * (1+$lucky_rate)),
|
||||||
));
|
));*/
|
||||||
if ($this->isCloseBox()) {
|
if ($this->isCloseBox()) {
|
||||||
$this->fillBoxMeta($info);
|
$this->fillBoxMeta($info);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user