| | |
| | |
|
| | | #1.判断表中有没此类型,2.是否满级,3.判断是否有物品
|
| | | attrLV = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_GodWeaponLV % weaponType)
|
| | | if not attrLV and Def_GodWeaponType_SuperHit != weaponType:
|
| | | GameWorld.DebugLog("神兵未解锁,无法升级!weaponType=%s,attrLV=%s" % (weaponType, attrLV))
|
| | | return
|
| | | # if not attrLV and Def_GodWeaponType_SuperHit != weaponType:
|
| | | # GameWorld.DebugLog("神兵未解锁,无法升级!weaponType=%s,attrLV=%s" % (weaponType, attrLV))
|
| | | # return 由配置表决定等级0是否可升级
|
| | |
|
| | | beforeAttrLV = attrLV # 用于提示
|
| | | godWeaponData = IpyGameDataPY.GetIpyGameData('GodWeapon', weaponType, attrLV)
|