1
This commit is contained in:
parent
7b869deffb
commit
71b80cafd5
@ -177,6 +177,18 @@ class OutAppNftController extends BaseController {
|
||||
"trait_type" => "Luck Value",
|
||||
"value" => floor($lucky * (1+$lucky_rate)),
|
||||
));
|
||||
array_push($info['attributes'],array(
|
||||
"trait_type" => "Chip Slots",
|
||||
"value" => 0
|
||||
));
|
||||
array_push($info['attributes'],array(
|
||||
"trait_type" => "Combat Ability I",
|
||||
"value" => 0
|
||||
));
|
||||
array_push($info['attributes'],array(
|
||||
"trait_type" => "Combat Ability II",
|
||||
"value" => 0
|
||||
));
|
||||
}
|
||||
break;
|
||||
case Nft::GOLD_BULLION_TYPE:
|
||||
@ -463,6 +475,9 @@ class OutAppNftController extends BaseController {
|
||||
$info['detail']['def'] = $heroAbility['defence'];
|
||||
$info['detail']['block'] = $heroAbility['block'];
|
||||
$info['detail']['crit'] = $heroAbility['critical'];
|
||||
$info['detail']['chip_slots'] = 0;
|
||||
$info['detail']['combat_ability_1'] = 0;
|
||||
$info['detail']['combat_ability_2'] = 0;
|
||||
}
|
||||
array_push($rspData['rows'], $info);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user