1
This commit is contained in:
parent
83301e50db
commit
054dd2e1d6
@ -273,14 +273,14 @@ class Gun extends BaseModel {
|
|||||||
null);
|
null);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function addNftGun($gunMeta, $tokenId)
|
// public static function addNftGun($gunMeta, $tokenId)
|
||||||
{
|
// {
|
||||||
return self::internalAddGun(
|
// return self::internalAddGun(
|
||||||
myself()->_getMysql($tokenId),
|
// myself()->_getMysql($tokenId),
|
||||||
$gunMeta,
|
// $gunMeta,
|
||||||
null,
|
// null,
|
||||||
$tokenId);
|
// $tokenId);
|
||||||
}
|
// }
|
||||||
|
|
||||||
private static function internalAddGun($conn, $gunMeta, $accountId, $tokenId)
|
private static function internalAddGun($conn, $gunMeta, $accountId, $tokenId)
|
||||||
{
|
{
|
||||||
|
@ -216,7 +216,6 @@ class Hero extends BaseModel {
|
|||||||
}
|
}
|
||||||
$attrPro = self::mergeAttrPro($baseAttr,$attrPro1,$attrPro2);
|
$attrPro = self::mergeAttrPro($baseAttr,$attrPro1,$attrPro2);
|
||||||
}
|
}
|
||||||
//print_r($attr);die;
|
|
||||||
$skill_common = explode("|",$row['skill_common']);
|
$skill_common = explode("|",$row['skill_common']);
|
||||||
$attr_skill = [];
|
$attr_skill = [];
|
||||||
foreach ($skill_common as $val){
|
foreach ($skill_common as $val){
|
||||||
@ -282,14 +281,14 @@ class Hero extends BaseModel {
|
|||||||
null);
|
null);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function addNftHero($heroMeta, $tokenId)
|
// public static function addNftHero($heroMeta, $tokenId)
|
||||||
{
|
// {
|
||||||
return self::internalAddHero(
|
// return self::internalAddHero(
|
||||||
myself()->_getMysql($tokenId),
|
// myself()->_getMysql($tokenId),
|
||||||
$heroMeta,
|
// $heroMeta,
|
||||||
null,
|
// null,
|
||||||
$tokenId);
|
// $tokenId);
|
||||||
}
|
// }
|
||||||
|
|
||||||
public static function internalAddHero($conn, $heroMeta, $accountId, $tokenId)
|
public static function internalAddHero($conn, $heroMeta, $accountId, $tokenId)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user