local ARC_HALL_TYPE = 1     --家族大厅
local ARC_TEMPLE_TYPE = 2   --战斗力塔
local ARC_SHOP_TYPE = 3     --家族商店
local ARC_WISHPOOL_TYPE = 4 --许愿池
local ARC_BOSS_TYPE = 5     --Boss战
local ARC_FIGHT_TYPE = 6    --家族战

local DlgInfo = {

--主界面
----------------------------------------------------------------------------------------------------------------------------------------------------------
    --视频的路径
    ["Video"] = "video/FamilyHome.mp4",
    --bufftips的文字偏移
    ["TipsOffsetX"] = 30,
    ["TipsOffsetY"] = 30,
    --升级、挑战资金是否足够时候的文字颜色
    ["Enough"] = 0xfffaddbf,
    ["NoEnough"] = 0xffff0000,
    --阳光过场动画倒计时
    ["SunTime"] = 2000,
    --花瓣偏移
    ["FlowerOffsetX"] = 50,
    ["FlowerOffsetY"] = 50,


--升级界面
----------------------------------------------------------------------------------------------------------------------------------------------------------
    --当前效果
    ["CurLevBg"] = "Home_WZdangqianxiaoguo",
    --下一级效果
    ["UpLevBg"] = "Home_WZshengjixiaoguo",
 
--Boss战界面    
----------------------------------------------------------------------------------------------------------------------------------------------------------
    --第一位是星期（1-7）,HHMMSS(时分秒)
    --家族Boss开放时间
    ["BossOpen"] = 2080000,
    --家族Boss结算时间
    ["BossEnd"] = 7225900,
    --家族Boss未开放的字符串请于上述时间配套
    ["OpenTime"] = "STR_INI_LUA_FAMILYHOME_DLGINFO_OPENTIME",
    --奖励物品的背景
    ["IconBg"] = "NewJiuGong_Item6Pic",

    --排行榜前三名名次的图标
    ["RankIcon1"] = "",--"Arena_RANKNO1",
    ["RankIcon2"] = "",--"Arena_RANKNO2",
    ["RankIcon3"] = "",--"Arena_RANKNO3",
    --无人参加的图片
    ["Nobody"] = "Home_BG8",
    --排行榜的列表背景
    ["RankBg"] = "Home_BG7",
    ["OpenWar"] = "Home_OpenBtn",
    ["ChallengeWar"] = "Home_WZtiaozhanBtn",

    --挑战次数对应花费的金额
    ["BossWarNeedMoney0"] = 0,
    ["BossWarNeedMoney1"] = 3000000,
    ["BossWarNeedMoney2"] = 6000000,
    ["BossWarNeedMoney3"] = 9000000,
    ["BossWarNeedMoney4"] = 12000000,
    ["BossWarNeedMoney5"] = 15000000,
    ["BossWarNeedMoney6"] = 15000000,

    --家族战的MapDoc
    ["BossMapIDDoc"] = 10010,

--家族战界面    
----------------------------------------------------------------------------------------------------------------------------------------------------------
    --左侧按钮
    ["BtnAni"] = "JiuGong_fenyeBtn",
    --家族战奖励背景
    ["FamilyIconBg"] = "NewJiuGong_Item5Pic",
    --家族战按钮样式
    --前往挑战
    ["WarBtnType0"] = "Home_WqxbmBtn",
    --放弃占领
    ["WarBtnType1"] = "Home_WqxzlBtn",
    --申请报名
    ["WarBtnType2"] = "Home_WZbaomingBtn",
    --取消报名
    ["WarBtnType3"] = "Home_WqxbmBtn",

    ["ArcUplevEff"] = "home_sjcg",
    ["UpLevOffsetX"] = 340,
    ["UpLevOffsetY"] = 300,

--家族主界面翻新  
----------------------------------------------------------------------------------------------------------------------------------------------------------
    --敌对家族title
    ["EmenyTitle"] = "Home_WZddjz",
    --同盟家族title
    ["AllyTitle"] = "Home_WZtmjz",
    --关系组的背景
    ["GroupBg"] = "Home_BG37",
    --家族关系的按钮
    ["FamilyRelationBtn"] = "JiuGong_neworangeBtn",
    --确认结盟
    ["Update0"] = "NewRefBreath_6BG",
    ["OffsetX0"] = -301,
    ["OffsetY0"] = -11,
    --确定解除同盟
    ["Update1"] = "NewRefBreath_6BG",
    ["OffsetX1"] = -301,
    ["OffsetY1"] = -11,
    --添加敌对家族
    ["Update2"] = "Home_WZtjddjz",
    ["OffsetX2"] = -175,
    ["OffsetY2"] = 0,
    --捐赠界面
    ["Update3"] = "NewRefBreath_6BG",
    ["OffsetX3"] = -301,
    ["OffsetY3"] = -11,
    --确定解除敌对
    ["Update4"] = "NewRefBreath_6BG",
    ["OffsetX4"] = -301,
    ["OffsetY4"] = -11,


--boss战1.06
----------------------------------------------------------------------------------------------------------------------------------------------------------
    --全区服排行网页地址
    ["Url"] =  "https://coevent.99.com/21boss/en",
	
	--boss战全区排行物品底图
    ["BossRankBg"] = "NewJiuGong_Item5Pic",

}

----------------------------------------------------------------------------------------------------------------------------------------------------------
--主界面的数据

--如果不是默认解锁的请配置0级的数据，其中NeedLev配置的是要家族大厅几级才能解锁
--注意Attr中的第一句[0]请配置等级达到下一级
--需要配置一个比最大等级还大1一级的集合，里面配置已满级，请看ARC_HALL_TYPE配置的[4]
local ArchitectureInfo = {
	["Lock"] = "Home_Lock",
	[ARC_BOSS_TYPE] = {
		[1] = {
			--建筑名
			["ImgName"] = "Home_WZjzboss",
		}
	},
	[ARC_HALL_TYPE] = {
		[1] = {
			--建筑名
			["ImgName"] = "Home_WZjzdt",
			["OffsetX"] = 0,
			["OffsetT"] = 0,
			--这个是升级界面的底图
			["UpLevBg"] = "Home_BG42",
			--升级需要的资金数
			["NeedValue"] = 1000000,
			--当前效果的条数
			["AttrNum"] = 2,
			--具体描述
			["Attr"] = {
				[0] ="STR_INI_LUA_FAMILYHOME_ARCHINFO_ATTR_0",
				[1] ="STR_INI_LUA_FAMILYHOME_ARCHINFO_ATTR_1",
			},
		},
		
		[2] = {
			--这个是升级界面的底图
			["UpLevBg"] = "Home_BG43",
			--升级需要的资金数
			["NeedValue"] = 2000000,
			--当前效果的条数
			["AttrNum"] = 2,
			--具体描述
			["Attr"] = {
				[0] ="STR_INI_LUA_FAMILYHOME_ARCHINFO_ATTR_2",
				[1] ="STR_INI_LUA_FAMILYHOME_ARCHINFO_ATTR_3",
			},
		},
		
		[3] = {
			--这个是升级界面的底图
			["UpLevBg"] = "Home_BG44",
			--升级需要的资金数
			["NeedValue"] = 3500000,
			--当前效果的条数
			["AttrNum"] = 2,
			--具体描述
			["Attr"] = {
				[0] ="STR_INI_LUA_FAMILYHOME_ARCHINFO_ATTR_4",
				[1] ="STR_INI_LUA_FAMILYHOME_ARCHINFO_ATTR_5",
			},
		},
		[4] = {
			--这个是升级界面的底图
			["UpLevBg"] = "Home_BG44",
			--升级需要的资金数
			["NeedValue"] = 7500000,
			--当前效果的条数
			["AttrNum"] = 2,
			--具体描述
			["Attr"] = {
				[0] ="STR_INI_LUA_FAMILYHOME_ARCHINFO_ATTR_6",
				[1] ="STR_INI_LUA_FAMILYHOME_ARCHINFO_ATTR_7",
			},
		},
		[5] = {
			--这个是升级界面的底图
			["UpLevBg"] = "Home_BG44",
			--升级需要的资金数
			["NeedValue"] = 10000000,
			--当前效果的条数
			["AttrNum"] = 4,
			--具体描述
			["Attr"] = {
				[0] ="STR_INI_LUA_FAMILYHOME_ARCHINFO_ATTR_8",
				[1] ="STR_INI_LUA_FAMILYHOME_ARCHINFO_ATTR_9",
				[2] ="STR_INI_LUA_FAMILYHOME_ARCHINFO_ATTR_10",
				[3] ="STR_INI_LUA_FAMILYHOME_ARCHINFO_ATTR_11",
			},
		},
		[6] = {
			--这个是升级界面的底图
			["UpLevBg"] = "Home_BG44",
			--升级需要的资金数
			["NeedValue"] = 20000000,
			--当前效果的条数
			["AttrNum"] = 2,
			--具体描述
			["Attr"] = {
				[0] ="STR_INI_LUA_FAMILYHOME_ARCHINFO_ATTR_12",
				[1] ="STR_INI_LUA_FAMILYHOME_ARCHINFO_ATTR_13",
			},
		},
		[7] = {
			--这个是升级界面的底图
			["UpLevBg"] = "Home_BG44",
			--升级需要的资金数
			["NeedValue"] = 50000000,
			--当前效果的条数
			["AttrNum"] = 2,
			--具体描述
			["Attr"] = {
				[0] ="STR_INI_LUA_FAMILYHOME_ARCHINFO_ATTR_14",
				[1] ="STR_INI_LUA_FAMILYHOME_ARCHINFO_ATTR_15",
			},
		},
		[8] = {
			--这个是升级界面的底图
			["UpLevBg"] = "Home_BG44",
			--升级需要的资金数
			["NeedValue"] = 100000000,
			--当前效果的条数
			["AttrNum"] = 2,
			--具体描述
			["Attr"] = {
				[0] ="STR_INI_LUA_FAMILYHOME_ARCHINFO_ATTR_16",
				[1] ="STR_INI_LUA_FAMILYHOME_ARCHINFO_ATTR_17",
			},
		},
		[9] = {
			--这个是升级界面的底图
			["UpLevBg"] = "Home_BG44",
			--升级需要的资金数
			["NeedValue"] = 200000000,
			--当前效果的条数
			["AttrNum"] = 2,
			--具体描述
			["Attr"] = {
				[0] ="STR_INI_LUA_FAMILYHOME_ARCHINFO_ATTR_18",
				[1] ="STR_INI_LUA_FAMILYHOME_ARCHINFO_ATTR_19",
			},
		},
		[10] = {
			--这个是升级界面的底图
			["UpLevBg"] = "Home_BG44",
			--当前效果的条数
			["AttrNum"] = 3,
			--具体描述
			["Attr"] = {
				[0] ="STR_INI_LUA_FAMILYHOME_ARCHINFO_ATTR_20",
				[1] ="STR_INI_LUA_FAMILYHOME_ARCHINFO_ATTR_21",
				[2] ="STR_INI_LUA_FAMILYHOME_ARCHINFO_ATTR_22",
			},
		},
		--需要配置一个比最大等级还大1一级的集合，里面配置已满级
		[11] = {
			["AttrNum"] = 1,
			["Attr"] = {
				[0] ="STR_INI_LUA_FAMILYHOME_ARCHINFO_ATTR_23",
			},
		}
	},
	[ARC_TEMPLE_TYPE] = {
		[0] = {
			-- 战斗力塔升级所需的家族大厅等级
			["NeedLev"] = 2,
			--这个是升级界面的底图
			["UpLevBg"] = "Home_BG30",
			--当前效果的条数
			["AttrNum"] = 2,
			--具体描述
			["Attr"] = {
				[0] ="STR_INI_LUA_FAMILYHOME_ARCHINFO_ATTR_24",
				[1] ="STR_INI_LUA_FAMILYHOME_ARCHINFO_ATTR_25",
			},
			--升级需要的资金数
			["NeedValue"] = 2500000,
			--升级提示
			["UpLevNeedInfo"] ="STR_TEMPLE_UPLEV_TIP0"
		},
		[1] = {
			-- 战斗力塔升级所需的家族大厅等级
			["NeedLev"] = 3,
			--建筑名
			["ImgName"] = "Home_WZjzzlt",
			--这个是升级界面的底图
			["UpLevBg"] = "Home_BG31",
			--升级需要的资金数
			["NeedValue"] = 12000000,
			--当前效果的条数
			["AttrNum"] = 2,
			--具体描述
			["Attr"] = {
				[0] ="STR_INI_LUA_FAMILYHOME_ARCHINFO_ATTR_0",
				[1] ="STR_INI_LUA_FAMILYHOME_ARCHINFO_ATTR_26",
			},
			--升级提示
			["UpLevNeedInfo"] ="STR_TEMPLE_UPLEV_TIP1"
		},
		[2] = {
			-- 战斗力塔升级所需的家族大厅等级
			["NeedLev"] = 4,
			--这个是升级界面的底图
			["UpLevBg"] = "Home_BG32",
			--升级需要的资金数
			["NeedValue"] = 35000000,
			--效果的条数
			["AttrNum"] = 2,
			--具体描述
			["Attr"] = {
				[0] ="STR_INI_LUA_FAMILYHOME_ARCHINFO_ATTR_2",
				[1] ="STR_INI_LUA_FAMILYHOME_ARCHINFO_ATTR_27",
			},
			--升级提示
			["UpLevNeedInfo"] ="STR_TEMPLE_UPLEV_TIP2"
		},
		[3] = {
			-- 战斗力塔升级所需的家族大厅等级
			["NeedLev"] = 5,
			--这个是升级界面的底图
			["UpLevBg"] = "Home_BG33",
			--升级需要的资金数
			["NeedValue"] = 120000000,
			--效果的条数
			["AttrNum"] = 2,
			--具体描述
			["Attr"] = {
				[0] ="STR_INI_LUA_FAMILYHOME_ARCHINFO_ATTR_4",
				[1] ="STR_INI_LUA_FAMILYHOME_ARCHINFO_ATTR_28",
			},
			--升级提示
			["UpLevNeedInfo"] ="STR_TEMPLE_UPLEV_TIP3"
		},
		[4] = {
			-- 战斗力塔升级所需的家族大厅等级
			["NeedLev"] = 5,
			--这个是升级界面的底图
			["UpLevBg"] = "Home_BG34",
			--效果的条数
			["AttrNum"] = 2,
			--具体描述
			["Attr"] = {
				[0] ="STR_INI_LUA_FAMILYHOME_ARCHINFO_ATTR_6",
				[1] ="STR_INI_LUA_FAMILYHOME_ARCHINFO_ATTR_29",
			},
		},
		[5] = {
			--这个是升级界面的底图
			["UpLevBg"] = "Home_BG34",
			--效果的条数
			["AttrNum"] = 1,
			--具体描述
			["Attr"] = {
				[0] ="STR_INI_LUA_FAMILYHOME_ARCHINFO_ATTR_23",
			},
		},
		
	},
	[ARC_FIGHT_TYPE] = {
		[1] = {
			["ImgName"] = "Home_WZjzz",
		}
	},
	[ARC_WISHPOOL_TYPE] = {
		[0] = {
			["NeedLev"] = 10,
		},
		[1] = {
			["NeedLev"] = 10,
		},
		[2] = {
			["NeedLev"] = 10,
		},
		[3] = {
			["NeedLev"] = 10,
		},
		[4] = {
			["NeedLev"] = 10,
		},
		[5] = {
			["NeedLev"] = 10,
		},
		[6] = {
			["NeedLev"] = 10,
		},
		[7] = {
			["NeedLev"] = 10,
		},
		[8] = {
			["NeedLev"] = 10,
		},
		[9] = {
			["NeedLev"] = 10,
		},
		
	},
	[ARC_SHOP_TYPE] = {
		[0] = {
			--所需家族等级
			["NeedLev"] = 5,
		},
		[1] = {
			--所需家族等级
			["NeedLev"] = 5,
		},
		[2] = {
			--所需家族等级
			["NeedLev"] = 5,
		},
		[3] = {
			--所需家族等级
			["NeedLev"] = 5,
		},
		[4] = {
			--所需家族等级
			["NeedLev"] = 5,
		},
		
	},
}

local BuffInfo = {
    --[buff的Type] = x,y,w,h
    [1] = {454,66,32,32},
    [2] = {486,66,32,32},
    [3] = {518,66,32,32},
    [4] = {518,66,32,32},
    [5] = {518,66,32,32},
    [6] = {518,66,32,32},
    [7] = {518,66,32,32},
}

--Boss战全服排行的奖励
local FamilyBossRankRewardInfo = {
	--第一名
	[1] = {
		[1] = {
			["Item"] = 3327774,
			["Num"] = 6,
			--1表示赠品
			["Monopoly"] = 0,
		},
		-- [2] = {
			-- ["Item"] = 3327778,
			-- ["Num"] = 1,
			-- -- 1表示赠品
			-- ["Monopoly"] = 0,
		-- },
		
	},
	--第一名
	[2] = {
		[1] = {
			["Item"] = 3327775,
			["Num"] = 6,
			--1表示赠品
			["Monopoly"] = 0,
		},
		
	},
	--第一名
	[3] = {
		[1] = {
			["Item"] = 3327776,
			["Num"] = 6,
			--1表示赠品
			["Monopoly"] = 0,
		},
		
	},
	
}

local function GetFamilyRankBossRewardInfo(nRank, nIndex, nType)
    if nType == "Row" then
        return #FamilyBossRankRewardInfo
    elseif nType == "Col" then 
        return #(FamilyBossRankRewardInfo[nRank + 1])
    else
        return FamilyBossRankRewardInfo[nRank + 1][nIndex + 1][nType]
    end

    return 0
end


local function GetArchitectureInfo(nType, nLev, nValue)

    if nLev > #ArchitectureInfo[nType] then
        nLev = #ArchitectureInfo[nType]
    end

    if nValue == "Lock" then
        return ArchitectureInfo["Lock"]
    elseif nValue == "OffsetX" or 
            nValue == "OffsetY" or
            nValue == "ImgName" then
        return ArchitectureInfo[nType][1][nValue]
    end

    return ArchitectureInfo[nType][nLev][nValue]
end

local function GetArcAttrInfo(nType, nLev, nIndex)
    if nLev > #ArchitectureInfo[nType] then
        nLev = #ArchitectureInfo[nType]
    end

    return ArchitectureInfo[nType][nLev]["Attr"][nIndex]
end

local function GetDlgInfo(nType)
    return DlgInfo[nType]
end

local function GetBuffInfo(nType, nValue)

    if nValue == 3 or nValue == 4 then
        return BuffInfo[nType][nValue - 2] + BuffInfo[nType][nValue]
    end

    return BuffInfo[nType][nValue]
end

--多少级对应的底图样式
--nLev对应的是家族大厅的等级
local function GetBgInfo(nLev)
    if nLev >= 1 and nLev < 5 then
        return "Home_BG1"--多少级对应哪一张底图
    elseif nLev >= 5 and nLev < 10 then
        return "Home_BG2"
    elseif nLev >= 10 and nLev < 15 then
        return "Home_BG3"
    elseif nLev >= 15 then
        return "Home_BG4"
    end
end

----------------------------------------------------------------------------------------------------------------------------------------------------------
--Boss战的数据
local BossRewardInfo = {
        [1] = {
            ["Type"] = 3327774,
            ["Monopoly"] = 0,
            ["Num"] = 1,
        },
        [2] = {
            ["Type"] = 3327775,
            ["Monopoly"] = 0,
            ["Num"] = 1,
        },
        [3] = {
            ["Type"] = 3327776,
            ["Monopoly"] = 0,
            ["Num"] = 1,
        },
}


local function GetRewardInfo(nIndex, nType)
    return BossRewardInfo[nIndex + 1][nType]
end

local function GetRewardNum()
    return #BossRewardInfo
end


--用于判断是否开启挑战
local function IsOpenFamilyBoss( nWeek, nHour, nMin, nSec)
    local nTime = nWeek *1000000 + nHour * 10000 + nMin * 100 + nSec

    if nTime >= DlgInfo["BossOpen"] and nTime <= DlgInfo["BossEnd"] then
        return true
    end

    return false
end

----------------------------------------------------------------------------------------------------------------------------------------------------------
--家族战数据

local ATTAND_REWARD_TYPE = 0
local HOLD_REWARD_TYPE = 1
local CONTINUED_REWARD_TYPE =2


local GO_CHALLENGE_TYPE = 0     --挑战
local CANCEL_HOLD_TYPE = 1      --放弃占领
local APPLY_ATTAND_TYPE = 2     --报名
local CANCEL_ATTAND_TYPE = 3    --放弃报名



local ROLE_OCCUPY_LEADER = 1    --占领的家族的族长
local ROLE_OCCUPY_MEMBER = 2    --占领的家族的成员	
local ROLE_CHALLENGE_LEADER = 3	--挑战的家族的族长
local ROLE_CHALLENGE_MEMBER = 4	--挑战的家族的成员
local ROLE_NORMAL_LEADER = 5    --普通的家族的族长
local ROLE_NORMAL_MEMBER = 6    --普通的家族的成员



local FamilyWarOldSoldierRewardInfo = {
	[10] = {
		["Type"] = 3344597,
		["Monopoly"] = 0,
	},
	[11] = {
		["Type"] = 3344597,
		["Monopoly"] = 0,
	},
	[12] = {
		["Type"] = 3344597,
		["Monopoly"] = 0,
	},
	[13] = {
		["Type"] = 3344597,
		["Monopoly"] = 0,
	},
	[14] = {
		["Type"] = 3344597,
		["Monopoly"] = 0,
	},
	[20] = {
		["Type"] = 3344598,
		["Monopoly"] = 0,
	},
	[21] = {
		["Type"] = 3344598,
		["Monopoly"] = 0,
	},
	[22] = {
		["Type"] = 3344598,
		["Monopoly"] = 0,
	},
	[23] = {
		["Type"] = 3344598,
		["Monopoly"] = 0,
	},
	[24] = {
		["Type"] = 3344598,
		["Monopoly"] = 0,
	},
	[30] = {
		["Type"] = 3344599,
		["Monopoly"] = 0,
	},
	[31] = {
		["Type"] = 3344599,
		["Monopoly"] = 0,
	},
	[32] = {
		["Type"] = 3344599,
		["Monopoly"] = 0,
	},
	[33] = {
		["Type"] = 3344599,
		["Monopoly"] = 0,
	},
	[34] = {
		["Type"] = 3344599,
		["Monopoly"] = 0,
	},
	[40] = {
		["Type"] = 3344600,
		["Monopoly"] = 0,
	},
	[41] = {
		["Type"] = 3344600,
		["Monopoly"] = 0,
	},
	[42] = {
		["Type"] = 3344600,
		["Monopoly"] = 0,
	},
	[43] = {
		["Type"] = 3344600,
		["Monopoly"] = 0,
	},
	[44] = {
		["Type"] = 3344600,
		["Monopoly"] = 0,
	},
	[50] = {
		["Type"] = 3344601,
		["Monopoly"] = 0,
	},
	[51] = {
		["Type"] = 3344601,
		["Monopoly"] = 0,
	},
	[52] = {
		["Type"] = 3344601,
		["Monopoly"] = 0,
	},
	[53] = {
		["Type"] = 3344601,
		["Monopoly"] = 0,
	},
	[54] = {
		["Type"] = 3344601,
		["Monopoly"] = 0,
	},
	[60] = {
		["Type"] = 3344617,
		["Monopoly"] = 0,
	},
	[61] = {
		["Type"] = 3344617,
		["Monopoly"] = 0,
	},
	[62] = {
		["Type"] = 3344617,
		["Monopoly"] = 0,
	},
	[63] = {
		["Type"] = 3344617,
		["Monopoly"] = 0,
	},
	[64] = {
		["Type"] = 3344617,
		["Monopoly"] = 0,
	},
	[70] = {
		["Type"] = 3344618,
		["Monopoly"] = 0,
	},
	[71] = {
		["Type"] = 3344618,
		["Monopoly"] = 0,
	},
	[72] = {
		["Type"] = 3344618,
		["Monopoly"] = 0,
	},
	[73] = {
		["Type"] = 3344618,
		["Monopoly"] = 0,
	},
	[74] = {
		["Type"] = 3344618,
		["Monopoly"] = 0,
	},
	[80] = {
		["Type"] = 3344619,
		["Monopoly"] = 0,
	},
	[81] = {
		["Type"] = 3344619,
		["Monopoly"] = 0,
	},
	[82] = {
		["Type"] = 3344619,
		["Monopoly"] = 0,
	},
	[83] = {
		["Type"] = 3344619,
		["Monopoly"] = 0,
	},
	[84] = {
		["Type"] = 3344619,
		["Monopoly"] = 0,
	},
	[90] = {
		["Type"] = 3344620,
		["Monopoly"] = 0,
	},
	[91] = {
		["Type"] = 3344620,
		["Monopoly"] = 0,
	},
	[92] = {
		["Type"] = 3344620,
		["Monopoly"] = 0,
	},
	[93] = {
		["Type"] = 3344620,
		["Monopoly"] = 0,
	},
	[94] = {
		["Type"] = 3344620,
		["Monopoly"] = 0,
	},
	[100] = {
		["Type"] = 3344621,
		["Monopoly"] = 0,
	},
	[101] = {
		["Type"] = 3344621,
		["Monopoly"] = 0,
	},
	[102] = {
		["Type"] = 3344621,
		["Monopoly"] = 0,
	},
	[103] = {
		["Type"] = 3344621,
		["Monopoly"] = 0,
	},
	[104] = {
		["Type"] = 3344621,
		["Monopoly"] = 0,
	},
	[110] = {
		["Type"] = 3344612,
		["Monopoly"] = 0,
	},
	[111] = {
		["Type"] = 3344612,
		["Monopoly"] = 0,
	},
	[112] = {
		["Type"] = 3344612,
		["Monopoly"] = 0,
	},
	[113] = {
		["Type"] = 3344612,
		["Monopoly"] = 0,
	},
	[114] = {
		["Type"] = 3344612,
		["Monopoly"] = 0,
	},
	[120] = {
		["Type"] = 3344613,
		["Monopoly"] = 0,
	},
	[121] = {
		["Type"] = 3344613,
		["Monopoly"] = 0,
	},
	[122] = {
		["Type"] = 3344613,
		["Monopoly"] = 0,
	},
	[123] = {
		["Type"] = 3344613,
		["Monopoly"] = 0,
	},
	[124] = {
		["Type"] = 3344613,
		["Monopoly"] = 0,
	},
	[130] = {
		["Type"] = 3344614,
		["Monopoly"] = 0,
	},
	[131] = {
		["Type"] = 3344614,
		["Monopoly"] = 0,
	},
	[132] = {
		["Type"] = 3344614,
		["Monopoly"] = 0,
	},
	[133] = {
		["Type"] = 3344614,
		["Monopoly"] = 0,
	},
	[134] = {
		["Type"] = 3344614,
		["Monopoly"] = 0,
	},
	[140] = {
		["Type"] = 3344615,
		["Monopoly"] = 0,
	},
	[141] = {
		["Type"] = 3344615,
		["Monopoly"] = 0,
	},
	[142] = {
		["Type"] = 3344615,
		["Monopoly"] = 0,
	},
	[143] = {
		["Type"] = 3344615,
		["Monopoly"] = 0,
	},
	[144] = {
		["Type"] = 3344615,
		["Monopoly"] = 0,
	},
	[150] = {
		["Type"] = 3344616,
		["Monopoly"] = 0,
	},
	[151] = {
		["Type"] = 3344616,
		["Monopoly"] = 0,
	},
	[152] = {
		["Type"] = 3344616,
		["Monopoly"] = 0,
	},
	[153] = {
		["Type"] = 3344616,
		["Monopoly"] = 0,
	},
	[154] = {
		["Type"] = 3344616,
		["Monopoly"] = 0,
	},
	[160] = {
		["Type"] = 3344607,
		["Monopoly"] = 0,
	},
	[161] = {
		["Type"] = 3344607,
		["Monopoly"] = 0,
	},
	[162] = {
		["Type"] = 3344607,
		["Monopoly"] = 0,
	},
	[163] = {
		["Type"] = 3344607,
		["Monopoly"] = 0,
	},
	[164] = {
		["Type"] = 3344607,
		["Monopoly"] = 0,
	},
	[170] = {
		["Type"] = 3344608,
		["Monopoly"] = 0,
	},
	[171] = {
		["Type"] = 3344608,
		["Monopoly"] = 0,
	},
	[172] = {
		["Type"] = 3344608,
		["Monopoly"] = 0,
	},
	[173] = {
		["Type"] = 3344608,
		["Monopoly"] = 0,
	},
	[174] = {
		["Type"] = 3344608,
		["Monopoly"] = 0,
	},
	[180] = {
		["Type"] = 3344609,
		["Monopoly"] = 0,
	},
	[181] = {
		["Type"] = 3344609,
		["Monopoly"] = 0,
	},
	[182] = {
		["Type"] = 3344609,
		["Monopoly"] = 0,
	},
	[183] = {
		["Type"] = 3344609,
		["Monopoly"] = 0,
	},
	[184] = {
		["Type"] = 3344609,
		["Monopoly"] = 0,
	},
	[190] = {
		["Type"] = 3344610,
		["Monopoly"] = 0,
	},
	[191] = {
		["Type"] = 3344610,
		["Monopoly"] = 0,
	},
	[192] = {
		["Type"] = 3344610,
		["Monopoly"] = 0,
	},
	[193] = {
		["Type"] = 3344610,
		["Monopoly"] = 0,
	},
	[194] = {
		["Type"] = 3344610,
		["Monopoly"] = 0,
	},
	[200] = {
		["Type"] = 3344611,
		["Monopoly"] = 0,
	},
	[201] = {
		["Type"] = 3344611,
		["Monopoly"] = 0,
	},
	[202] = {
		["Type"] = 3344611,
		["Monopoly"] = 0,
	},
	[203] = {
		["Type"] = 3344611,
		["Monopoly"] = 0,
	},
	[204] = {
		["Type"] = 3344611,
		["Monopoly"] = 0,
	},
	[210] = {
		["Type"] = 3344602,
		["Monopoly"] = 0,
	},
	[211] = {
		["Type"] = 3344602,
		["Monopoly"] = 0,
	},
	[212] = {
		["Type"] = 3344602,
		["Monopoly"] = 0,
	},
	[213] = {
		["Type"] = 3344602,
		["Monopoly"] = 0,
	},
	[214] = {
		["Type"] = 3344602,
		["Monopoly"] = 0,
	},
	[220] = {
		["Type"] = 3344603,
		["Monopoly"] = 0,
	},
	[221] = {
		["Type"] = 3344603,
		["Monopoly"] = 0,
	},
	[222] = {
		["Type"] = 3344603,
		["Monopoly"] = 0,
	},
	[223] = {
		["Type"] = 3344603,
		["Monopoly"] = 0,
	},
	[224] = {
		["Type"] = 3344603,
		["Monopoly"] = 0,
	},
	[230] = {
		["Type"] = 3344604,
		["Monopoly"] = 0,
	},
	[231] = {
		["Type"] = 3344604,
		["Monopoly"] = 0,
	},
	[232] = {
		["Type"] = 3344604,
		["Monopoly"] = 0,
	},
	[233] = {
		["Type"] = 3344604,
		["Monopoly"] = 0,
	},
	[234] = {
		["Type"] = 3344604,
		["Monopoly"] = 0,
	},
	[240] = {
		["Type"] = 3344605,
		["Monopoly"] = 0,
	},
	[241] = {
		["Type"] = 3344605,
		["Monopoly"] = 0,
	},
	[242] = {
		["Type"] = 3344605,
		["Monopoly"] = 0,
	},
	[243] = {
		["Type"] = 3344605,
		["Monopoly"] = 0,
	},
	[244] = {
		["Type"] = 3344605,
		["Monopoly"] = 0,
	},
	[250] = {
		["Type"] = 3344606,
		["Monopoly"] = 0,
	},
	[251] = {
		["Type"] = 3344606,
		["Monopoly"] = 0,
	},
	[252] = {
		["Type"] = 3344606,
		["Monopoly"] = 0,
	},
	[253] = {
		["Type"] = 3344606,
		["Monopoly"] = 0,
	},
	[254] = {
		["Type"] = 3344606,
		["Monopoly"] = 0,
	},
	[260] = {
		["Type"] = 3312888,
		["Monopoly"] = 0,
	},
	[261] = {
		["Type"] = 3312888,
		["Monopoly"] = 0,
	},
	[262] = {
		["Type"] = 3312888,
		["Monopoly"] = 0,
	},
	[263] = {
		["Type"] = 3312888,
		["Monopoly"] = 0,
	},
	[264] = {
		["Type"] = 3312888,
		["Monopoly"] = 0,
	},
	[270] = {
		["Type"] = 3336691,
		["Monopoly"] = 0,
	},
	[271] = {
		["Type"] = 3336691,
		["Monopoly"] = 0,
	},
	[272] = {
		["Type"] = 3336691,
		["Monopoly"] = 0,
	},
	[273] = {
		["Type"] = 3336691,
		["Monopoly"] = 0,
	},
	[274] = {
		["Type"] = 3336691,
		["Monopoly"] = 0,
	},
	[280] = {
		["Type"] = 3336691,
		["Monopoly"] = 0,
	},
	[281] = {
		["Type"] = 3336691,
		["Monopoly"] = 0,
	},
	[282] = {
		["Type"] = 3336691,
		["Monopoly"] = 0,
	},
	[283] = {
		["Type"] = 3336691,
		["Monopoly"] = 0,
	},
	[284] = {
		["Type"] = 3336691,
		["Monopoly"] = 0,
	},
	[290] = {
		["Type"] = 3336691,
		["Monopoly"] = 0,
	},
	[291] = {
		["Type"] = 3336691,
		["Monopoly"] = 0,
	},
	[292] = {
		["Type"] = 3336691,
		["Monopoly"] = 0,
	},
	[293] = {
		["Type"] = 3336691,
		["Monopoly"] = 0,
	},
	[294] = {
		["Type"] = 3336691,
		["Monopoly"] = 0,
	},
	[300] = {
		["Type"] = 3336691,
		["Monopoly"] = 0,
	},
	[301] = {
		["Type"] = 3336691,
		["Monopoly"] = 0,
	},
	[302] = {
		["Type"] = 3336691,
		["Monopoly"] = 0,
	},
	[303] = {
		["Type"] = 3336691,
		["Monopoly"] = 0,
	},
	[304] = {
		["Type"] = 3336691,
		["Monopoly"] = 0,
	},
	[310] = {
		["Type"] = 3336691,
		["Monopoly"] = 0,
	},
	[311] = {
		["Type"] = 3336691,
		["Monopoly"] = 0,
	},
	[312] = {
		["Type"] = 3336691,
		["Monopoly"] = 0,
	},
	[313] = {
		["Type"] = 3336691,
		["Monopoly"] = 0,
	},
	[314] = {
		["Type"] = 3336691,
		["Monopoly"] = 0,
	},
	[320] = {
		["Type"] = 3336696,
		["Monopoly"] = 0,
	},
	[321] = {
		["Type"] = 3336696,
		["Monopoly"] = 0,
	},
	[322] = {
		["Type"] = 3336696,
		["Monopoly"] = 0,
	},
	[323] = {
		["Type"] = 3336696,
		["Monopoly"] = 0,
	},
	[324] = {
		["Type"] = 3336696,
		["Monopoly"] = 0,
	},
	[330] = {
		["Type"] = 3336696,
		["Monopoly"] = 0,
	},
	[331] = {
		["Type"] = 3336696,
		["Monopoly"] = 0,
	},
	[332] = {
		["Type"] = 3336696,
		["Monopoly"] = 0,
	},
	[333] = {
		["Type"] = 3336696,
		["Monopoly"] = 0,
	},
	[334] = {
		["Type"] = 3336696,
		["Monopoly"] = 0,
	},
	[340] = {
		["Type"] = 3336696,
		["Monopoly"] = 0,
	},
	[341] = {
		["Type"] = 3336696,
		["Monopoly"] = 0,
	},
	[342] = {
		["Type"] = 3336696,
		["Monopoly"] = 0,
	},
	[343] = {
		["Type"] = 3336696,
		["Monopoly"] = 0,
	},
	[344] = {
		["Type"] = 3336696,
		["Monopoly"] = 0,
	},
	[350] = {
		["Type"] = 3336696,
		["Monopoly"] = 0,
	},
	[351] = {
		["Type"] = 3336696,
		["Monopoly"] = 0,
	},
	[352] = {
		["Type"] = 3336696,
		["Monopoly"] = 0,
	},
	[353] = {
		["Type"] = 3336696,
		["Monopoly"] = 0,
	},
	[354] = {
		["Type"] = 3336696,
		["Monopoly"] = 0,
	},
	[360] = {
		["Type"] = 3336696,
		["Monopoly"] = 0,
	},
	[361] = {
		["Type"] = 3336696,
		["Monopoly"] = 0,
	},
	[362] = {
		["Type"] = 3336696,
		["Monopoly"] = 0,
	},
	[363] = {
		["Type"] = 3336696,
		["Monopoly"] = 0,
	},
	[364] = {
		["Type"] = 3336696,
		["Monopoly"] = 0,
	},
	[370] = {
		["Type"] = 3336701,
		["Monopoly"] = 0,
	},
	[371] = {
		["Type"] = 3336701,
		["Monopoly"] = 0,
	},
	[372] = {
		["Type"] = 3336701,
		["Monopoly"] = 0,
	},
	[373] = {
		["Type"] = 3336701,
		["Monopoly"] = 0,
	},
	[374] = {
		["Type"] = 3336701,
		["Monopoly"] = 0,
	},
	[380] = {
		["Type"] = 3336701,
		["Monopoly"] = 0,
	},
	[381] = {
		["Type"] = 3336701,
		["Monopoly"] = 0,
	},
	[382] = {
		["Type"] = 3336701,
		["Monopoly"] = 0,
	},
	[383] = {
		["Type"] = 3336701,
		["Monopoly"] = 0,
	},
	[384] = {
		["Type"] = 3336701,
		["Monopoly"] = 0,
	},
	[390] = {
		["Type"] = 3336701,
		["Monopoly"] = 0,
	},
	[391] = {
		["Type"] = 3336701,
		["Monopoly"] = 0,
	},
	[392] = {
		["Type"] = 3336701,
		["Monopoly"] = 0,
	},
	[393] = {
		["Type"] = 3336701,
		["Monopoly"] = 0,
	},
	[394] = {
		["Type"] = 3336701,
		["Monopoly"] = 0,
	},
	[400] = {
		["Type"] = 3336701,
		["Monopoly"] = 0,
	},
	[401] = {
		["Type"] = 3336701,
		["Monopoly"] = 0,
	},
	[402] = {
		["Type"] = 3336701,
		["Monopoly"] = 0,
	},
	[403] = {
		["Type"] = 3336701,
		["Monopoly"] = 0,
	},
	[404] = {
		["Type"] = 3336701,
		["Monopoly"] = 0,
	},
	[410] = {
		["Type"] = 3336701,
		["Monopoly"] = 0,
	},
	[411] = {
		["Type"] = 3336701,
		["Monopoly"] = 0,
	},
	[412] = {
		["Type"] = 3336701,
		["Monopoly"] = 0,
	},
	[413] = {
		["Type"] = 3336701,
		["Monopoly"] = 0,
	},
	[414] = {
		["Type"] = 3336701,
		["Monopoly"] = 0,
	},
	[420] = {
		["Type"] = 3336706,
		["Monopoly"] = 0,
	},
	[421] = {
		["Type"] = 3336706,
		["Monopoly"] = 0,
	},
	[422] = {
		["Type"] = 3336706,
		["Monopoly"] = 0,
	},
	[423] = {
		["Type"] = 3336706,
		["Monopoly"] = 0,
	},
	[424] = {
		["Type"] = 3336706,
		["Monopoly"] = 0,
	},
	[430] = {
		["Type"] = 3336706,
		["Monopoly"] = 0,
	},
	[431] = {
		["Type"] = 3336706,
		["Monopoly"] = 0,
	},
	[432] = {
		["Type"] = 3336706,
		["Monopoly"] = 0,
	},
	[433] = {
		["Type"] = 3336706,
		["Monopoly"] = 0,
	},
	[434] = {
		["Type"] = 3336706,
		["Monopoly"] = 0,
	},
	[440] = {
		["Type"] = 3336706,
		["Monopoly"] = 0,
	},
	[441] = {
		["Type"] = 3336706,
		["Monopoly"] = 0,
	},
	[442] = {
		["Type"] = 3336706,
		["Monopoly"] = 0,
	},
	[443] = {
		["Type"] = 3336706,
		["Monopoly"] = 0,
	},
	[444] = {
		["Type"] = 3336706,
		["Monopoly"] = 0,
	},
	[450] = {
		["Type"] = 3336706,
		["Monopoly"] = 0,
	},
	[451] = {
		["Type"] = 3336706,
		["Monopoly"] = 0,
	},
	[452] = {
		["Type"] = 3336706,
		["Monopoly"] = 0,
	},
	[453] = {
		["Type"] = 3336706,
		["Monopoly"] = 0,
	},
	[454] = {
		["Type"] = 3336706,
		["Monopoly"] = 0,
	},
	[460] = {
		["Type"] = 3336706,
		["Monopoly"] = 0,
	},
	[461] = {
		["Type"] = 3336706,
		["Monopoly"] = 0,
	},
	[462] = {
		["Type"] = 3336706,
		["Monopoly"] = 0,
	},
	[463] = {
		["Type"] = 3336706,
		["Monopoly"] = 0,
	},
	[464] = {
		["Type"] = 3336706,
		["Monopoly"] = 0,
	},
	[470] = {
		["Type"] = 3336711,
		["Monopoly"] = 0,
	},
	[471] = {
		["Type"] = 3336711,
		["Monopoly"] = 0,
	},
	[472] = {
		["Type"] = 3336711,
		["Monopoly"] = 0,
	},
	[473] = {
		["Type"] = 3336711,
		["Monopoly"] = 0,
	},
	[474] = {
		["Type"] = 3336711,
		["Monopoly"] = 0,
	},
	[480] = {
		["Type"] = 3336711,
		["Monopoly"] = 0,
	},
	[481] = {
		["Type"] = 3336711,
		["Monopoly"] = 0,
	},
	[482] = {
		["Type"] = 3336711,
		["Monopoly"] = 0,
	},
	[483] = {
		["Type"] = 3336711,
		["Monopoly"] = 0,
	},
	[484] = {
		["Type"] = 3336711,
		["Monopoly"] = 0,
	},
	[490] = {
		["Type"] = 3336711,
		["Monopoly"] = 0,
	},
	[491] = {
		["Type"] = 3336711,
		["Monopoly"] = 0,
	},
	[492] = {
		["Type"] = 3336711,
		["Monopoly"] = 0,
	},
	[493] = {
		["Type"] = 3336711,
		["Monopoly"] = 0,
	},
	[494] = {
		["Type"] = 3336711,
		["Monopoly"] = 0,
	},
	[500] = {
		["Type"] = 3336711,
		["Monopoly"] = 0,
	},
	[501] = {
		["Type"] = 3336711,
		["Monopoly"] = 0,
	},
	[502] = {
		["Type"] = 3336711,
		["Monopoly"] = 0,
	},
	[503] = {
		["Type"] = 3336711,
		["Monopoly"] = 0,
	},
	[504] = {
		["Type"] = 3336711,
		["Monopoly"] = 0,
	},
	[510] = {
		["Type"] = 3336711,
		["Monopoly"] = 0,
	},
	[511] = {
		["Type"] = 3336711,
		["Monopoly"] = 0,
	},
	[512] = {
		["Type"] = 3336711,
		["Monopoly"] = 0,
	},
	[513] = {
		["Type"] = 3336711,
		["Monopoly"] = 0,
	},
	[514] = {
		["Type"] = 3336711,
		["Monopoly"] = 0,
	},
}

local FamilyWarRewardInfo = {
	[10] = {
		["Type"] = 3336662,
		["Monopoly"] = 0,
	},
	[11] = {
		["Type"] = 3336662,
		["Monopoly"] = 0,
	},
	[12] = {
		["Type"] = 3336662,
		["Monopoly"] = 0,
	},
	[13] = {
		["Type"] = 3336662,
		["Monopoly"] = 0,
	},
	[14] = {
		["Type"] = 3336662,
		["Monopoly"] = 0,
	},
	[20] = {
		["Type"] = 3336663,
		["Monopoly"] = 0,
	},
	[21] = {
		["Type"] = 3336663,
		["Monopoly"] = 0,
	},
	[22] = {
		["Type"] = 3336663,
		["Monopoly"] = 0,
	},
	[23] = {
		["Type"] = 3336663,
		["Monopoly"] = 0,
	},
	[24] = {
		["Type"] = 3336663,
		["Monopoly"] = 0,
	},
	[30] = {
		["Type"] = 3336664,
		["Monopoly"] = 0,
	},
	[31] = {
		["Type"] = 3336664,
		["Monopoly"] = 0,
	},
	[32] = {
		["Type"] = 3336664,
		["Monopoly"] = 0,
	},
	[33] = {
		["Type"] = 3336664,
		["Monopoly"] = 0,
	},
	[34] = {
		["Type"] = 3336664,
		["Monopoly"] = 0,
	},
	[40] = {
		["Type"] = 3336665,
		["Monopoly"] = 0,
	},
	[41] = {
		["Type"] = 3336665,
		["Monopoly"] = 0,
	},
	[42] = {
		["Type"] = 3336665,
		["Monopoly"] = 0,
	},
	[43] = {
		["Type"] = 3336665,
		["Monopoly"] = 0,
	},
	[44] = {
		["Type"] = 3336665,
		["Monopoly"] = 0,
	},
	[50] = {
		["Type"] = 3336666,
		["Monopoly"] = 0,
	},
	[51] = {
		["Type"] = 3336666,
		["Monopoly"] = 0,
	},
	[52] = {
		["Type"] = 3336666,
		["Monopoly"] = 0,
	},
	[53] = {
		["Type"] = 3336666,
		["Monopoly"] = 0,
	},
	[54] = {
		["Type"] = 3336666,
		["Monopoly"] = 0,
	},
	[60] = {
		["Type"] = 3336682,
		["Monopoly"] = 0,
	},
	[61] = {
		["Type"] = 3336682,
		["Monopoly"] = 0,
	},
	[62] = {
		["Type"] = 3336682,
		["Monopoly"] = 0,
	},
	[63] = {
		["Type"] = 3336682,
		["Monopoly"] = 0,
	},
	[64] = {
		["Type"] = 3336682,
		["Monopoly"] = 0,
	},
	[70] = {
		["Type"] = 3336683,
		["Monopoly"] = 0,
	},
	[71] = {
		["Type"] = 3336683,
		["Monopoly"] = 0,
	},
	[72] = {
		["Type"] = 3336683,
		["Monopoly"] = 0,
	},
	[73] = {
		["Type"] = 3336683,
		["Monopoly"] = 0,
	},
	[74] = {
		["Type"] = 3336683,
		["Monopoly"] = 0,
	},
	[80] = {
		["Type"] = 3336684,
		["Monopoly"] = 0,
	},
	[81] = {
		["Type"] = 3336684,
		["Monopoly"] = 0,
	},
	[82] = {
		["Type"] = 3336684,
		["Monopoly"] = 0,
	},
	[83] = {
		["Type"] = 3336684,
		["Monopoly"] = 0,
	},
	[84] = {
		["Type"] = 3336684,
		["Monopoly"] = 0,
	},
	[90] = {
		["Type"] = 3336685,
		["Monopoly"] = 0,
	},
	[91] = {
		["Type"] = 3336685,
		["Monopoly"] = 0,
	},
	[92] = {
		["Type"] = 3336685,
		["Monopoly"] = 0,
	},
	[93] = {
		["Type"] = 3336685,
		["Monopoly"] = 0,
	},
	[94] = {
		["Type"] = 3336685,
		["Monopoly"] = 0,
	},
	[100] = {
		["Type"] = 3336686,
		["Monopoly"] = 0,
	},
	[101] = {
		["Type"] = 3336686,
		["Monopoly"] = 0,
	},
	[102] = {
		["Type"] = 3336686,
		["Monopoly"] = 0,
	},
	[103] = {
		["Type"] = 3336686,
		["Monopoly"] = 0,
	},
	[104] = {
		["Type"] = 3336686,
		["Monopoly"] = 0,
	},
	[110] = {
		["Type"] = 3336677,
		["Monopoly"] = 0,
	},
	[111] = {
		["Type"] = 3336677,
		["Monopoly"] = 0,
	},
	[112] = {
		["Type"] = 3336677,
		["Monopoly"] = 0,
	},
	[113] = {
		["Type"] = 3336677,
		["Monopoly"] = 0,
	},
	[114] = {
		["Type"] = 3336677,
		["Monopoly"] = 0,
	},
	[120] = {
		["Type"] = 3336678,
		["Monopoly"] = 0,
	},
	[121] = {
		["Type"] = 3336678,
		["Monopoly"] = 0,
	},
	[122] = {
		["Type"] = 3336678,
		["Monopoly"] = 0,
	},
	[123] = {
		["Type"] = 3336678,
		["Monopoly"] = 0,
	},
	[124] = {
		["Type"] = 3336678,
		["Monopoly"] = 0,
	},
	[130] = {
		["Type"] = 3336679,
		["Monopoly"] = 0,
	},
	[131] = {
		["Type"] = 3336679,
		["Monopoly"] = 0,
	},
	[132] = {
		["Type"] = 3336679,
		["Monopoly"] = 0,
	},
	[133] = {
		["Type"] = 3336679,
		["Monopoly"] = 0,
	},
	[134] = {
		["Type"] = 3336679,
		["Monopoly"] = 0,
	},
	[140] = {
		["Type"] = 3336680,
		["Monopoly"] = 0,
	},
	[141] = {
		["Type"] = 3336680,
		["Monopoly"] = 0,
	},
	[142] = {
		["Type"] = 3336680,
		["Monopoly"] = 0,
	},
	[143] = {
		["Type"] = 3336680,
		["Monopoly"] = 0,
	},
	[144] = {
		["Type"] = 3336680,
		["Monopoly"] = 0,
	},
	[150] = {
		["Type"] = 3336681,
		["Monopoly"] = 0,
	},
	[151] = {
		["Type"] = 3336681,
		["Monopoly"] = 0,
	},
	[152] = {
		["Type"] = 3336681,
		["Monopoly"] = 0,
	},
	[153] = {
		["Type"] = 3336681,
		["Monopoly"] = 0,
	},
	[154] = {
		["Type"] = 3336681,
		["Monopoly"] = 0,
	},
	[160] = {
		["Type"] = 3336672,
		["Monopoly"] = 0,
	},
	[161] = {
		["Type"] = 3336672,
		["Monopoly"] = 0,
	},
	[162] = {
		["Type"] = 3336672,
		["Monopoly"] = 0,
	},
	[163] = {
		["Type"] = 3336672,
		["Monopoly"] = 0,
	},
	[164] = {
		["Type"] = 3336672,
		["Monopoly"] = 0,
	},
	[170] = {
		["Type"] = 3336673,
		["Monopoly"] = 0,
	},
	[171] = {
		["Type"] = 3336673,
		["Monopoly"] = 0,
	},
	[172] = {
		["Type"] = 3336673,
		["Monopoly"] = 0,
	},
	[173] = {
		["Type"] = 3336673,
		["Monopoly"] = 0,
	},
	[174] = {
		["Type"] = 3336673,
		["Monopoly"] = 0,
	},
	[180] = {
		["Type"] = 3336674,
		["Monopoly"] = 0,
	},
	[181] = {
		["Type"] = 3336674,
		["Monopoly"] = 0,
	},
	[182] = {
		["Type"] = 3336674,
		["Monopoly"] = 0,
	},
	[183] = {
		["Type"] = 3336674,
		["Monopoly"] = 0,
	},
	[184] = {
		["Type"] = 3336674,
		["Monopoly"] = 0,
	},
	[190] = {
		["Type"] = 3336675,
		["Monopoly"] = 0,
	},
	[191] = {
		["Type"] = 3336675,
		["Monopoly"] = 0,
	},
	[192] = {
		["Type"] = 3336675,
		["Monopoly"] = 0,
	},
	[193] = {
		["Type"] = 3336675,
		["Monopoly"] = 0,
	},
	[194] = {
		["Type"] = 3336675,
		["Monopoly"] = 0,
	},
	[200] = {
		["Type"] = 3336676,
		["Monopoly"] = 0,
	},
	[201] = {
		["Type"] = 3336676,
		["Monopoly"] = 0,
	},
	[202] = {
		["Type"] = 3336676,
		["Monopoly"] = 0,
	},
	[203] = {
		["Type"] = 3336676,
		["Monopoly"] = 0,
	},
	[204] = {
		["Type"] = 3336676,
		["Monopoly"] = 0,
	},
	[210] = {
		["Type"] = 3336667,
		["Monopoly"] = 0,
	},
	[211] = {
		["Type"] = 3336667,
		["Monopoly"] = 0,
	},
	[212] = {
		["Type"] = 3336667,
		["Monopoly"] = 0,
	},
	[213] = {
		["Type"] = 3336667,
		["Monopoly"] = 0,
	},
	[214] = {
		["Type"] = 3336667,
		["Monopoly"] = 0,
	},
	[220] = {
		["Type"] = 3336668,
		["Monopoly"] = 0,
	},
	[221] = {
		["Type"] = 3336668,
		["Monopoly"] = 0,
	},
	[222] = {
		["Type"] = 3336668,
		["Monopoly"] = 0,
	},
	[223] = {
		["Type"] = 3336668,
		["Monopoly"] = 0,
	},
	[224] = {
		["Type"] = 3336668,
		["Monopoly"] = 0,
	},
	[230] = {
		["Type"] = 3336669,
		["Monopoly"] = 0,
	},
	[231] = {
		["Type"] = 3336669,
		["Monopoly"] = 0,
	},
	[232] = {
		["Type"] = 3336669,
		["Monopoly"] = 0,
	},
	[233] = {
		["Type"] = 3336669,
		["Monopoly"] = 0,
	},
	[234] = {
		["Type"] = 3336669,
		["Monopoly"] = 0,
	},
	[240] = {
		["Type"] = 3336670,
		["Monopoly"] = 0,
	},
	[241] = {
		["Type"] = 3336670,
		["Monopoly"] = 0,
	},
	[242] = {
		["Type"] = 3336670,
		["Monopoly"] = 0,
	},
	[243] = {
		["Type"] = 3336670,
		["Monopoly"] = 0,
	},
	[244] = {
		["Type"] = 3336670,
		["Monopoly"] = 0,
	},
	[250] = {
		["Type"] = 3336671,
		["Monopoly"] = 0,
	},
	[251] = {
		["Type"] = 3336671,
		["Monopoly"] = 0,
	},
	[252] = {
		["Type"] = 3336671,
		["Monopoly"] = 0,
	},
	[253] = {
		["Type"] = 3336671,
		["Monopoly"] = 0,
	},
	[254] = {
		["Type"] = 3336671,
		["Monopoly"] = 0,
	},
	[260] = {
		["Type"] = 3312888,
		["Monopoly"] = 0,
	},
	[261] = {
		["Type"] = 3312888,
		["Monopoly"] = 0,
	},
	[262] = {
		["Type"] = 3312888,
		["Monopoly"] = 0,
	},
	[263] = {
		["Type"] = 3312888,
		["Monopoly"] = 0,
	},
	[264] = {
		["Type"] = 3312888,
		["Monopoly"] = 0,
	},
	[270] = {
		["Type"] = 3336691,
		["Monopoly"] = 0,
	},
	[271] = {
		["Type"] = 3336691,
		["Monopoly"] = 0,
	},
	[272] = {
		["Type"] = 3336691,
		["Monopoly"] = 0,
	},
	[273] = {
		["Type"] = 3336691,
		["Monopoly"] = 0,
	},
	[274] = {
		["Type"] = 3336691,
		["Monopoly"] = 0,
	},
	[280] = {
		["Type"] = 3336691,
		["Monopoly"] = 0,
	},
	[281] = {
		["Type"] = 3336691,
		["Monopoly"] = 0,
	},
	[282] = {
		["Type"] = 3336691,
		["Monopoly"] = 0,
	},
	[283] = {
		["Type"] = 3336691,
		["Monopoly"] = 0,
	},
	[284] = {
		["Type"] = 3336691,
		["Monopoly"] = 0,
	},
	[290] = {
		["Type"] = 3336691,
		["Monopoly"] = 0,
	},
	[291] = {
		["Type"] = 3336691,
		["Monopoly"] = 0,
	},
	[292] = {
		["Type"] = 3336691,
		["Monopoly"] = 0,
	},
	[293] = {
		["Type"] = 3336691,
		["Monopoly"] = 0,
	},
	[294] = {
		["Type"] = 3336691,
		["Monopoly"] = 0,
	},
	[300] = {
		["Type"] = 3336691,
		["Monopoly"] = 0,
	},
	[301] = {
		["Type"] = 3336691,
		["Monopoly"] = 0,
	},
	[302] = {
		["Type"] = 3336691,
		["Monopoly"] = 0,
	},
	[303] = {
		["Type"] = 3336691,
		["Monopoly"] = 0,
	},
	[304] = {
		["Type"] = 3336691,
		["Monopoly"] = 0,
	},
	[310] = {
		["Type"] = 3336691,
		["Monopoly"] = 0,
	},
	[311] = {
		["Type"] = 3336691,
		["Monopoly"] = 0,
	},
	[312] = {
		["Type"] = 3336691,
		["Monopoly"] = 0,
	},
	[313] = {
		["Type"] = 3336691,
		["Monopoly"] = 0,
	},
	[314] = {
		["Type"] = 3336691,
		["Monopoly"] = 0,
	},
	[320] = {
		["Type"] = 3336696,
		["Monopoly"] = 0,
	},
	[321] = {
		["Type"] = 3336696,
		["Monopoly"] = 0,
	},
	[322] = {
		["Type"] = 3336696,
		["Monopoly"] = 0,
	},
	[323] = {
		["Type"] = 3336696,
		["Monopoly"] = 0,
	},
	[324] = {
		["Type"] = 3336696,
		["Monopoly"] = 0,
	},
	[330] = {
		["Type"] = 3336696,
		["Monopoly"] = 0,
	},
	[331] = {
		["Type"] = 3336696,
		["Monopoly"] = 0,
	},
	[332] = {
		["Type"] = 3336696,
		["Monopoly"] = 0,
	},
	[333] = {
		["Type"] = 3336696,
		["Monopoly"] = 0,
	},
	[334] = {
		["Type"] = 3336696,
		["Monopoly"] = 0,
	},
	[340] = {
		["Type"] = 3336696,
		["Monopoly"] = 0,
	},
	[341] = {
		["Type"] = 3336696,
		["Monopoly"] = 0,
	},
	[342] = {
		["Type"] = 3336696,
		["Monopoly"] = 0,
	},
	[343] = {
		["Type"] = 3336696,
		["Monopoly"] = 0,
	},
	[344] = {
		["Type"] = 3336696,
		["Monopoly"] = 0,
	},
	[350] = {
		["Type"] = 3336696,
		["Monopoly"] = 0,
	},
	[351] = {
		["Type"] = 3336696,
		["Monopoly"] = 0,
	},
	[352] = {
		["Type"] = 3336696,
		["Monopoly"] = 0,
	},
	[353] = {
		["Type"] = 3336696,
		["Monopoly"] = 0,
	},
	[354] = {
		["Type"] = 3336696,
		["Monopoly"] = 0,
	},
	[360] = {
		["Type"] = 3336696,
		["Monopoly"] = 0,
	},
	[361] = {
		["Type"] = 3336696,
		["Monopoly"] = 0,
	},
	[362] = {
		["Type"] = 3336696,
		["Monopoly"] = 0,
	},
	[363] = {
		["Type"] = 3336696,
		["Monopoly"] = 0,
	},
	[364] = {
		["Type"] = 3336696,
		["Monopoly"] = 0,
	},
	[370] = {
		["Type"] = 3336701,
		["Monopoly"] = 0,
	},
	[371] = {
		["Type"] = 3336701,
		["Monopoly"] = 0,
	},
	[372] = {
		["Type"] = 3336701,
		["Monopoly"] = 0,
	},
	[373] = {
		["Type"] = 3336701,
		["Monopoly"] = 0,
	},
	[374] = {
		["Type"] = 3336701,
		["Monopoly"] = 0,
	},
	[380] = {
		["Type"] = 3336701,
		["Monopoly"] = 0,
	},
	[381] = {
		["Type"] = 3336701,
		["Monopoly"] = 0,
	},
	[382] = {
		["Type"] = 3336701,
		["Monopoly"] = 0,
	},
	[383] = {
		["Type"] = 3336701,
		["Monopoly"] = 0,
	},
	[384] = {
		["Type"] = 3336701,
		["Monopoly"] = 0,
	},
	[390] = {
		["Type"] = 3336701,
		["Monopoly"] = 0,
	},
	[391] = {
		["Type"] = 3336701,
		["Monopoly"] = 0,
	},
	[392] = {
		["Type"] = 3336701,
		["Monopoly"] = 0,
	},
	[393] = {
		["Type"] = 3336701,
		["Monopoly"] = 0,
	},
	[394] = {
		["Type"] = 3336701,
		["Monopoly"] = 0,
	},
	[400] = {
		["Type"] = 3336701,
		["Monopoly"] = 0,
	},
	[401] = {
		["Type"] = 3336701,
		["Monopoly"] = 0,
	},
	[402] = {
		["Type"] = 3336701,
		["Monopoly"] = 0,
	},
	[403] = {
		["Type"] = 3336701,
		["Monopoly"] = 0,
	},
	[404] = {
		["Type"] = 3336701,
		["Monopoly"] = 0,
	},
	[410] = {
		["Type"] = 3336701,
		["Monopoly"] = 0,
	},
	[411] = {
		["Type"] = 3336701,
		["Monopoly"] = 0,
	},
	[412] = {
		["Type"] = 3336701,
		["Monopoly"] = 0,
	},
	[413] = {
		["Type"] = 3336701,
		["Monopoly"] = 0,
	},
	[414] = {
		["Type"] = 3336701,
		["Monopoly"] = 0,
	},
	[420] = {
		["Type"] = 3336706,
		["Monopoly"] = 0,
	},
	[421] = {
		["Type"] = 3336706,
		["Monopoly"] = 0,
	},
	[422] = {
		["Type"] = 3336706,
		["Monopoly"] = 0,
	},
	[423] = {
		["Type"] = 3336706,
		["Monopoly"] = 0,
	},
	[424] = {
		["Type"] = 3336706,
		["Monopoly"] = 0,
	},
	[430] = {
		["Type"] = 3336706,
		["Monopoly"] = 0,
	},
	[431] = {
		["Type"] = 3336706,
		["Monopoly"] = 0,
	},
	[432] = {
		["Type"] = 3336706,
		["Monopoly"] = 0,
	},
	[433] = {
		["Type"] = 3336706,
		["Monopoly"] = 0,
	},
	[434] = {
		["Type"] = 3336706,
		["Monopoly"] = 0,
	},
	[440] = {
		["Type"] = 3336706,
		["Monopoly"] = 0,
	},
	[441] = {
		["Type"] = 3336706,
		["Monopoly"] = 0,
	},
	[442] = {
		["Type"] = 3336706,
		["Monopoly"] = 0,
	},
	[443] = {
		["Type"] = 3336706,
		["Monopoly"] = 0,
	},
	[444] = {
		["Type"] = 3336706,
		["Monopoly"] = 0,
	},
	[450] = {
		["Type"] = 3336706,
		["Monopoly"] = 0,
	},
	[451] = {
		["Type"] = 3336706,
		["Monopoly"] = 0,
	},
	[452] = {
		["Type"] = 3336706,
		["Monopoly"] = 0,
	},
	[453] = {
		["Type"] = 3336706,
		["Monopoly"] = 0,
	},
	[454] = {
		["Type"] = 3336706,
		["Monopoly"] = 0,
	},
	[460] = {
		["Type"] = 3336706,
		["Monopoly"] = 0,
	},
	[461] = {
		["Type"] = 3336706,
		["Monopoly"] = 0,
	},
	[462] = {
		["Type"] = 3336706,
		["Monopoly"] = 0,
	},
	[463] = {
		["Type"] = 3336706,
		["Monopoly"] = 0,
	},
	[464] = {
		["Type"] = 3336706,
		["Monopoly"] = 0,
	},
	[470] = {
		["Type"] = 3336711,
		["Monopoly"] = 0,
	},
	[471] = {
		["Type"] = 3336711,
		["Monopoly"] = 0,
	},
	[472] = {
		["Type"] = 3336711,
		["Monopoly"] = 0,
	},
	[473] = {
		["Type"] = 3336711,
		["Monopoly"] = 0,
	},
	[474] = {
		["Type"] = 3336711,
		["Monopoly"] = 0,
	},
	[480] = {
		["Type"] = 3336711,
		["Monopoly"] = 0,
	},
	[481] = {
		["Type"] = 3336711,
		["Monopoly"] = 0,
	},
	[482] = {
		["Type"] = 3336711,
		["Monopoly"] = 0,
	},
	[483] = {
		["Type"] = 3336711,
		["Monopoly"] = 0,
	},
	[484] = {
		["Type"] = 3336711,
		["Monopoly"] = 0,
	},
	[490] = {
		["Type"] = 3336711,
		["Monopoly"] = 0,
	},
	[491] = {
		["Type"] = 3336711,
		["Monopoly"] = 0,
	},
	[492] = {
		["Type"] = 3336711,
		["Monopoly"] = 0,
	},
	[493] = {
		["Type"] = 3336711,
		["Monopoly"] = 0,
	},
	[494] = {
		["Type"] = 3336711,
		["Monopoly"] = 0,
	},
	[500] = {
		["Type"] = 3336711,
		["Monopoly"] = 0,
	},
	[501] = {
		["Type"] = 3336711,
		["Monopoly"] = 0,
	},
	[502] = {
		["Type"] = 3336711,
		["Monopoly"] = 0,
	},
	[503] = {
		["Type"] = 3336711,
		["Monopoly"] = 0,
	},
	[504] = {
		["Type"] = 3336711,
		["Monopoly"] = 0,
	},
	[510] = {
		["Type"] = 3336711,
		["Monopoly"] = 0,
	},
	[511] = {
		["Type"] = 3336711,
		["Monopoly"] = 0,
	},
	[512] = {
		["Type"] = 3336711,
		["Monopoly"] = 0,
	},
	[513] = {
		["Type"] = 3336711,
		["Monopoly"] = 0,
	},
	[514] = {
		["Type"] = 3336711,
		["Monopoly"] = 0,
	},
}

--底图的显示顺序
local MapIndex = {
    --[索引] = 地图type
    [1] = 1,
    [2] = 3,
    [3] = 5,
    [4] = 7,
    [5] = 9,
    [6] = 10,
    [7] = 11,
    [8] = 12,
    [9] = 13,
    [10] = 14,
}

--老兵服双龙城
local MapIndex_OldSoldier = {
    [1] = 1,
    [2] = 3,
    [3] = 5,
    [4] = 7,
    [5] = 9,
}

--地图数据
local MapInfo = {
    --索引是地图typeTwin City
    [1] = {
        --家族战地图id
        ["FightMap"] = 1863,
        --NPCID
        ["ID"] = 10026,
        --底图
        ["ImgBg"] = "Home_BG25",
        --名字图片
        ["ImgName"] = "blank",
        --名字字符串
        ["StrName"] = "STR_INI_LUA_FAMILYHOME_MAPINFO_NAME_1",
        --中间文字描述
        ["StrTips"] = "STR_INI_LUA_FAMILYHOME_MAPINFO_TIPS_1",
		--今天的经验已被领取请在今天23:30后领取
        ["FailTip1"] = "STR_INI_LUA_FAMILYHOME_MAPINFO_FAILTIP1_1",
        --今天的经验已被领取请在明天23:30后领取
        ["FailTip2"] = "STR_INI_LUA_FAMILYHOME_MAPINFO_FAILTIP2_1",
        --The Clan War is underway. Please try again after 23:30.
        ["FailTip3"] = "STR_INI_LUA_FAMILYHOME_MAPINFO_FAILTIP3_1",
        --挑战时间
        ["ChallengeTime"] = "STR_INI_LUA_FAMILYHOME_MAPINFO_CHALLENGETIME_1",

        --注意奖励配置的值是上面FamilyWarRewardInfo中的奖励的索引
        --参与奖
        ["Attand"] = 26,
        --占领奖励等级1的奖励索引
        ["Hold1"] = 1,
        --占领奖励等级2的奖励索引
        ["Hold2"] = 2,
        --占领奖励等级3的奖励索引
        ["Hold3"] = 3,
        --占领奖励等级4的奖励索引
        ["Hold4"] = 4,
        --占领奖励等级5的奖励索引
        ["Hold5"] = 5,

        --占领奖励等级1需要家族多少级
        ["HoldLev1"] = 1,
        --占领奖励等级2需要家族多少级
        ["HoldLev2"] = 2,
        --占领奖励等级3需要家族多少级
        ["HoldLev3"] = 3,
        --占领奖励等级4需要家族多少级
        ["HoldLev4"] = 4,
        --占领奖励等级5需要家族多少级
        ["HoldLev5"] = 5,

        --连续占领奖励7天 额外的奖励个数
        ["Continued1"] = 1,
        --连续占领奖励 14天 额外的奖励个数
        ["Continued2"] = 2,
        --连续占领奖励 21天 额外的奖励个数
        ["Continued3"] = 3,
        --连续占领奖励 28天 额外的奖励个数
        ["Continued4"] = 4,

        --连续占领第一级奖励需要多少天
        ["ContinuedDay1"] = 7,
        --连续占领第二级奖励需要多少天
        ["ContinuedDay2"] = 14,
        --连续占领第三级奖励需要多少天
        ["ContinuedDay3"] = 21,
        --连续占领第四级奖励需要多少天
        ["ContinuedDay4"] = 28,
		-- Challenge Time
		["ChangeTime"] = "STR_INI_LUA_FAMILYHOME_MAPINFO_CHANGETIME_1",
    },
    --索引是地图typeWind Plain
    [2] = {
        --家族战地图id
        ["FightMap"] = 1864,
        --NPCID
        ["ID"] = 10027,
        --底图
        ["ImgBg"] = "Home_BG24",
        --名字图片
        ["ImgName"] = "blank",
        --名字字符串
        ["StrName"] = "STR_INI_LUA_FAMILYHOME_MAPINFO_NAME_2",
        --中间文字描述
                ["StrTips"] = "STR_INI_LUA_FAMILYHOME_MAPINFO_TIPS_1",
        --今天的经验已被领取请在今天23:30后领取
        ["FailTip1"] = "STR_INI_LUA_FAMILYHOME_MAPINFO_FAILTIP1_1",
        --今天的经验已被领取请在明天23:30后领取
        ["FailTip2"] = "STR_INI_LUA_FAMILYHOME_MAPINFO_FAILTIP2_1",
        --The Clan War is underway. Please try again after 23:30.
        ["FailTip3"] = "STR_INI_LUA_FAMILYHOME_MAPINFO_FAILTIP3_1",
        --挑战时间
        ["ChallengeTime"] = "STR_INI_LUA_FAMILYHOME_MAPINFO_CHALLENGETIME_1",

        --注意奖励配置的值是上面FamilyWarRewardInfo中的奖励的索引
        --参与奖
        ["Attand"] = 26,
        --占领奖励等级1的奖励索引
        ["Hold1"] = 1,
        --占领奖励等级2的奖励索引
        ["Hold2"] = 2,
        --占领奖励等级3的奖励索引
        ["Hold3"] = 3,
        --占领奖励等级4的奖励索引
        ["Hold4"] = 4,
        --占领奖励等级5的奖励索引
        ["Hold5"] = 5,

        --占领奖励等级1需要家族多少级
        ["HoldLev1"] = 1,
        --占领奖励等级2需要家族多少级
        ["HoldLev2"] = 2,
        --占领奖励等级3需要家族多少级
        ["HoldLev3"] = 3,
        --占领奖励等级4需要家族多少级
        ["HoldLev4"] = 4,
        --占领奖励等级5需要家族多少级
        ["HoldLev5"] = 5,

        --连续占领奖励7天 额外的奖励个数
        ["Continued1"] = 1,
        --连续占领奖励 14天 额外的奖励个数
        ["Continued2"] = 2,
        --连续占领奖励 21天 额外的奖励个数
        ["Continued3"] = 3,
        --连续占领奖励 28天 额外的奖励个数
        ["Continued4"] = 4,

        --连续占领第一级奖励需要多少天
        ["ContinuedDay1"] = 7,
        --连续占领第二级奖励需要多少天
        ["ContinuedDay2"] = 14,
        --连续占领第三级奖励需要多少天
        ["ContinuedDay3"] = 21,
        --连续占领第四级奖励需要多少天
        ["ContinuedDay4"] = 28,
		
		-- Challenge Time
		["ChangeTime"] = "STR_INI_LUA_FAMILYHOME_MAPINFO_CHANGETIME_2",
    },
    --索引是地图type凤鸣堡
    [3] = {
        --家族战地图id
        ["FightMap"] = 1868,
        --NPCID
        ["ID"] = 10028,
        --底图
        ["ImgBg"] = "Home_BG19",
        --名字图片
        ["ImgName"] = "blank",
        --名字字符串
        ["StrName"] = "STR_INI_LUA_FAMILYHOME_MAPINFO_NAME_3",
        --中间文字描述
                ["StrTips"] = "STR_INI_LUA_FAMILYHOME_MAPINFO_TIPS_1",
        --今天的经验已被领取请在今天23:30后领取
        ["FailTip1"] = "STR_INI_LUA_FAMILYHOME_MAPINFO_FAILTIP1_1",
        --今天的经验已被领取请在明天23:30后领取
        ["FailTip2"] = "STR_INI_LUA_FAMILYHOME_MAPINFO_FAILTIP2_1",
        --The Clan War is underway. Please try again after 23:30.
        ["FailTip3"] = "STR_INI_LUA_FAMILYHOME_MAPINFO_FAILTIP3_1",
        --挑战时间
        ["ChallengeTime"] = "STR_INI_LUA_FAMILYHOME_MAPINFO_CHALLENGETIME_1",

        --注意奖励配置的值是上面FamilyWarRewardInfo中的奖励的索引
        --参与奖
        ["Attand"] = 26,
        --占领奖励等级1的奖励索引
        ["Hold1"] = 21,
        --占领奖励等级2的奖励索引
        ["Hold2"] = 22,
        --占领奖励等级3的奖励索引
        ["Hold3"] = 23,
        --占领奖励等级4的奖励索引
        ["Hold4"] = 24,
        --占领奖励等级5的奖励索引
        ["Hold5"] = 25,

        --占领奖励等级1需要家族多少级
        ["HoldLev1"] = 1,
        --占领奖励等级2需要家族多少级
        ["HoldLev2"] = 2,
        --占领奖励等级3需要家族多少级
        ["HoldLev3"] = 3,
        --占领奖励等级4需要家族多少级
        ["HoldLev4"] = 4,
        --占领奖励等级5需要家族多少级
        ["HoldLev5"] = 5,

        --连续占领奖励7天 额外的奖励个数
        ["Continued1"] = 1,
        --连续占领奖励 14天 额外的奖励个数
        ["Continued2"] = 2,
        --连续占领奖励 21天 额外的奖励个数
        ["Continued3"] = 3,
        --连续占领奖励 28天 额外的奖励个数
        ["Continued4"] = 4,

        --连续占领第一级奖励需要多少天
        ["ContinuedDay1"] = 7,
        --连续占领第二级奖励需要多少天
        ["ContinuedDay2"] = 14,
        --连续占领第三级奖励需要多少天
        ["ContinuedDay3"] = 21,
        --连续占领第四级奖励需要多少天
        ["ContinuedDay4"] = 28,
		
		-- Challenge Time
		["ChangeTime"] = "STR_INI_LUA_FAMILYHOME_MAPINFO_CHANGETIME_2",
    },
    --索引是地图typeMaple Forest
    [4] = {
        --家族战地图id
        ["FightMap"] = 1869,
        --NPCID
        ["ID"] = 10029,
        --底图
        ["ImgBg"] = "Home_BG18",
        --名字图片
        ["ImgName"] = "blank",
        --名字字符串
        ["StrName"] = "STR_INI_LUA_FAMILYHOME_MAPINFO_NAME_4",
        --中间文字描述
                ["StrTips"] = "STR_INI_LUA_FAMILYHOME_MAPINFO_TIPS_1",
        --今天的经验已被领取请在今天23:30后领取
        ["FailTip1"] = "STR_INI_LUA_FAMILYHOME_MAPINFO_FAILTIP1_1",
        --今天的经验已被领取请在明天23:30后领取
        ["FailTip2"] = "STR_INI_LUA_FAMILYHOME_MAPINFO_FAILTIP2_1",
        --The Clan War is underway. Please try again after 23:30.
        ["FailTip3"] = "STR_INI_LUA_FAMILYHOME_MAPINFO_FAILTIP3_1",
        --挑战时间
        ["ChallengeTime"] = "STR_INI_LUA_FAMILYHOME_MAPINFO_CHALLENGETIME_1",

        --注意奖励配置的值是上面FamilyWarRewardInfo中的奖励的索引
        --参与奖
        ["Attand"] = 26,
        --占领奖励等级1的奖励索引
        ["Hold1"] = 1,
        --占领奖励等级2的奖励索引
        ["Hold2"] = 2,
        --占领奖励等级3的奖励索引
        ["Hold3"] = 3,
        --占领奖励等级4的奖励索引
        ["Hold4"] = 4,
        --占领奖励等级5的奖励索引
        ["Hold5"] = 5,

        --占领奖励等级1需要家族多少级
        ["HoldLev1"] = 1,
        --占领奖励等级2需要家族多少级
        ["HoldLev2"] = 2,
        --占领奖励等级3需要家族多少级
        ["HoldLev3"] = 3,
        --占领奖励等级4需要家族多少级
        ["HoldLev4"] = 4,
        --占领奖励等级5需要家族多少级
        ["HoldLev5"] = 5,

        --连续占领奖励7天 额外的奖励个数
        ["Continued1"] = 1,
        --连续占领奖励 14天 额外的奖励个数
        ["Continued2"] = 2,
        --连续占领奖励 21天 额外的奖励个数
        ["Continued3"] = 3,
        --连续占领奖励 28天 额外的奖励个数
        ["Continued4"] = 4,

        --连续占领第一级奖励需要多少天
        ["ContinuedDay1"] = 7,
        --连续占领第二级奖励需要多少天
        ["ContinuedDay2"] = 14,
        --连续占领第三级奖励需要多少天
        ["ContinuedDay3"] = 21,
        --连续占领第四级奖励需要多少天
        ["ContinuedDay4"] = 28,
		
		-- Challenge Time
		["ChangeTime"] = "STR_INI_LUA_FAMILYHOME_MAPINFO_CHANGETIME_2",
    },
    --索引是地图typeApe City
    [5] = {
        --家族战地图id
        ["FightMap"] = 1873,
        --NPCID
        ["ID"] = 10030,
        --底图
        ["ImgBg"] = "Home_BG20",
        --名字图片
        ["ImgName"] = "blank",
        --名字字符串
        ["StrName"] = "STR_INI_LUA_FAMILYHOME_MAPINFO_NAME_5",
        --中间文字描述
                ["StrTips"] = "STR_INI_LUA_FAMILYHOME_MAPINFO_TIPS_1",
        --今天的经验已被领取请在今天23:30后领取
        ["FailTip1"] = "STR_INI_LUA_FAMILYHOME_MAPINFO_FAILTIP1_1",
        --今天的经验已被领取请在明天23:30后领取
        ["FailTip2"] = "STR_INI_LUA_FAMILYHOME_MAPINFO_FAILTIP2_1",
        --The Clan War is underway. Please try again after 23:30.
        ["FailTip3"] = "STR_INI_LUA_FAMILYHOME_MAPINFO_FAILTIP3_1",
        --挑战时间
        ["ChallengeTime"] = "STR_INI_LUA_FAMILYHOME_MAPINFO_CHALLENGETIME_1",

        --注意奖励配置的值是上面FamilyWarRewardInfo中的奖励的索引
        --参与奖
        ["Attand"] = 26,
        --占领奖励等级1的奖励索引
        ["Hold1"] = 16,
        --占领奖励等级2的奖励索引
        ["Hold2"] = 17,
        --占领奖励等级3的奖励索引
        ["Hold3"] = 18,
        --占领奖励等级4的奖励索引
        ["Hold4"] = 19,
        --占领奖励等级5的奖励索引
        ["Hold5"] = 20,

        --占领奖励等级1需要家族多少级
        ["HoldLev1"] = 1,
        --占领奖励等级2需要家族多少级
        ["HoldLev2"] = 2,
        --占领奖励等级3需要家族多少级
        ["HoldLev3"] = 3,
        --占领奖励等级4需要家族多少级
        ["HoldLev4"] = 4,
        --占领奖励等级5需要家族多少级
        ["HoldLev5"] = 5,

        --连续占领奖励7天 额外的奖励个数
        ["Continued1"] = 1,
        --连续占领奖励 14天 额外的奖励个数
        ["Continued2"] = 2,
        --连续占领奖励 21天 额外的奖励个数
        ["Continued3"] = 3,
        --连续占领奖励 28天 额外的奖励个数
        ["Continued4"] = 4,

        --连续占领第一级奖励需要多少天
        ["ContinuedDay1"] = 7,
        --连续占领第二级奖励需要多少天
        ["ContinuedDay2"] = 14,
        --连续占领第三级奖励需要多少天
        ["ContinuedDay3"] = 21,
        --连续占领第四级奖励需要多少天
        ["ContinuedDay4"] = 28,
		
		-- Challenge Time
		["ChangeTime"] = "STR_INI_LUA_FAMILYHOME_MAPINFO_CHANGETIME_2",
    },
    --索引是地图typeLove Canyon
    [6] = {
        --家族战地图id
        ["FightMap"] = 1874,
        --NPCID
        ["ID"] = 10031,
        --底图
        ["ImgBg"] = "Home_BG21",
        --名字图片
        ["ImgName"] = "blank",
        --名字字符串
        ["StrName"] = "STR_INI_LUA_FAMILYHOME_MAPINFO_NAME_6",
        --中间文字描述
                ["StrTips"] = "STR_INI_LUA_FAMILYHOME_MAPINFO_TIPS_1",
        --今天的经验已被领取请在今天23:30后领取
        ["FailTip1"] = "STR_INI_LUA_FAMILYHOME_MAPINFO_FAILTIP1_1",
        --今天的经验已被领取请在明天23:30后领取
        ["FailTip2"] = "STR_INI_LUA_FAMILYHOME_MAPINFO_FAILTIP2_1",
        --The Clan War is underway. Please try again after 23:30.
        ["FailTip3"] = "STR_INI_LUA_FAMILYHOME_MAPINFO_FAILTIP3_1",
        --挑战时间
        ["ChallengeTime"] = "STR_INI_LUA_FAMILYHOME_MAPINFO_CHALLENGETIME_1",

        --注意奖励配置的值是上面FamilyWarRewardInfo中的奖励的索引
        --参与奖
        ["Attand"] = 26,
        --占领奖励等级1的奖励索引
        ["Hold1"] = 1,
        --占领奖励等级2的奖励索引
        ["Hold2"] = 2,
        --占领奖励等级3的奖励索引
        ["Hold3"] = 3,
        --占领奖励等级4的奖励索引
        ["Hold4"] = 4,
        --占领奖励等级5的奖励索引
        ["Hold5"] = 5,

        --占领奖励等级1需要家族多少级
        ["HoldLev1"] = 1,
        --占领奖励等级2需要家族多少级
        ["HoldLev2"] = 2,
        --占领奖励等级3需要家族多少级
        ["HoldLev3"] = 3,
        --占领奖励等级4需要家族多少级
        ["HoldLev4"] = 4,
        --占领奖励等级5需要家族多少级
        ["HoldLev5"] = 5,

        --连续占领奖励7天 额外的奖励个数
        ["Continued1"] = 1,
        --连续占领奖励 14天 额外的奖励个数
        ["Continued2"] = 2,
        --连续占领奖励 21天 额外的奖励个数
        ["Continued3"] = 3,
        --连续占领奖励 28天 额外的奖励个数
        ["Continued4"] = 4,

        --连续占领第一级奖励需要多少天
        ["ContinuedDay1"] = 7,
        --连续占领第二级奖励需要多少天
        ["ContinuedDay2"] = 14,
        --连续占领第三级奖励需要多少天
        ["ContinuedDay3"] = 21,
        --连续占领第四级奖励需要多少天
        ["ContinuedDay4"] = 28,
		
		-- Challenge Time
		["ChangeTime"] = "STR_INI_LUA_FAMILYHOME_MAPINFO_CHANGETIME_2",
    },
    --索引是地图typeBird Island
    [7] = {
        --家族战地图id
        ["FightMap"] = 1878,
        --NPCID
        ["ID"] = 10032,
        --底图
        ["ImgBg"] = "Home_BG17",
        --名字图片
        ["ImgName"] = "blank",
        --名字字符串
         ["StrName"] = "STR_INI_LUA_FAMILYHOME_MAPINFO_NAME_7",
        --中间文字描述
                ["StrTips"] = "STR_INI_LUA_FAMILYHOME_MAPINFO_TIPS_1",
        --今天的经验已被领取请在今天23:30后领取
        ["FailTip1"] = "STR_INI_LUA_FAMILYHOME_MAPINFO_FAILTIP1_1",
        --今天的经验已被领取请在明天23:30后领取
        ["FailTip2"] = "STR_INI_LUA_FAMILYHOME_MAPINFO_FAILTIP2_1",
        --The Clan War is underway. Please try again after 23:30.
        ["FailTip3"] = "STR_INI_LUA_FAMILYHOME_MAPINFO_FAILTIP3_1",
        --挑战时间
        ["ChallengeTime"] = "STR_INI_LUA_FAMILYHOME_MAPINFO_CHALLENGETIME_1",

        --注意奖励配置的值是上面FamilyWarRewardInfo中的奖励的索引
        --参与奖
        ["Attand"] = 26,
        --占领奖励等级1的奖励索引
        ["Hold1"] = 11,
        --占领奖励等级2的奖励索引
        ["Hold2"] = 12,
        --占领奖励等级3的奖励索引
        ["Hold3"] = 13,
        --占领奖励等级4的奖励索引
        ["Hold4"] = 14,
        --占领奖励等级5的奖励索引
        ["Hold5"] = 15,

        --占领奖励等级1需要家族多少级
        ["HoldLev1"] = 1,
        --占领奖励等级2需要家族多少级
        ["HoldLev2"] = 2,
        --占领奖励等级3需要家族多少级
        ["HoldLev3"] = 3,
        --占领奖励等级4需要家族多少级
        ["HoldLev4"] = 4,
        --占领奖励等级5需要家族多少级
        ["HoldLev5"] = 5,

        --连续占领奖励7天 额外的奖励个数
        ["Continued1"] = 1,
        --连续占领奖励 14天 额外的奖励个数
        ["Continued2"] = 2,
        --连续占领奖励 21天 额外的奖励个数
        ["Continued3"] = 3,
        --连续占领奖励 28天 额外的奖励个数
        ["Continued4"] = 4,

        --连续占领第一级奖励需要多少天
        ["ContinuedDay1"] = 7,
        --连续占领第二级奖励需要多少天
        ["ContinuedDay2"] = 14,
        --连续占领第三级奖励需要多少天
        ["ContinuedDay3"] = 21,
        --连续占领第四级奖励需要多少天
        ["ContinuedDay4"] = 28,
		
		-- Challenge Time
		["ChangeTime"] = "STR_INI_LUA_FAMILYHOME_MAPINFO_CHANGETIME_2",
    },
    --索引是地图typeBird Island
    [8] = {
        --家族战地图id
        ["FightMap"] = 1879,
        --NPCID
        ["ID"] = 10033,
        --底图
        ["ImgBg"] = "Home_BG22",
        --名字图片
        ["ImgName"] = "blank",
        --名字字符串
        ["StrName"] = "STR_INI_LUA_FAMILYHOME_MAPINFO_NAME_7",
        --中间文字描述
                ["StrTips"] = "STR_INI_LUA_FAMILYHOME_MAPINFO_TIPS_1",
        --今天的经验已被领取请在今天23:30后领取
        ["FailTip1"] = "STR_INI_LUA_FAMILYHOME_MAPINFO_FAILTIP1_1",
        --今天的经验已被领取请在明天23:30后领取
        ["FailTip2"] = "STR_INI_LUA_FAMILYHOME_MAPINFO_FAILTIP2_1",
        --The Clan War is underway. Please try again after 23:30.
        ["FailTip3"] = "STR_INI_LUA_FAMILYHOME_MAPINFO_FAILTIP3_1",
        --挑战时间
        ["ChallengeTime"] = "STR_INI_LUA_FAMILYHOME_MAPINFO_CHALLENGETIME_1",

        --注意奖励配置的值是上面FamilyWarRewardInfo中的奖励的索引
        --参与奖
        ["Attand"] = 26,
        --占领奖励等级1的奖励索引
        ["Hold1"] = 1,
        --占领奖励等级2的奖励索引
        ["Hold2"] = 2,
        --占领奖励等级3的奖励索引
        ["Hold3"] = 3,
        --占领奖励等级4的奖励索引
        ["Hold4"] = 4,
        --占领奖励等级5的奖励索引
        ["Hold5"] = 5,

        --占领奖励等级1需要家族多少级
        ["HoldLev1"] = 1,
        --占领奖励等级2需要家族多少级
        ["HoldLev2"] = 2,
        --占领奖励等级3需要家族多少级
        ["HoldLev3"] = 3,
        --占领奖励等级4需要家族多少级
        ["HoldLev4"] = 4,
        --占领奖励等级5需要家族多少级
        ["HoldLev5"] = 5,

        --连续占领奖励7天 额外的奖励个数
        ["Continued1"] = 1,
        --连续占领奖励 14天 额外的奖励个数
        ["Continued2"] = 2,
        --连续占领奖励 21天 额外的奖励个数
        ["Continued3"] = 3,
        --连续占领奖励 28天 额外的奖励个数
        ["Continued4"] = 4,

        --连续占领第一级奖励需要多少天
        ["ContinuedDay1"] = 7,
        --连续占领第二级奖励需要多少天
        ["ContinuedDay2"] = 14,
        --连续占领第三级奖励需要多少天
        ["ContinuedDay3"] = 21,
        --连续占领第四级奖励需要多少天
        ["ContinuedDay4"] = 28,
		
		-- Challenge Time
		["ChangeTime"] = "STR_INI_LUA_FAMILYHOME_MAPINFO_CHANGETIME_2",
    },
    --索引是地图typeDesert City
    [9] = {
        --家族战地图id
        ["FightMap"] = 1883,
        --NPCID
        ["ID"] = 10034,
        --底图
        ["ImgBg"] = "Home_BG26",
        --名字图片
        ["ImgName"] = "blank",
        --名字字符串
        ["StrName"] = "STR_INI_LUA_FAMILYHOME_MAPINFO_NAME_8",
        --中间文字描述
                ["StrTips"] = "STR_INI_LUA_FAMILYHOME_MAPINFO_TIPS_1",
        --今天的经验已被领取请在今天23:30后领取
        ["FailTip1"] = "STR_INI_LUA_FAMILYHOME_MAPINFO_FAILTIP1_1",
        --今天的经验已被领取请在明天23:30后领取
        ["FailTip2"] = "STR_INI_LUA_FAMILYHOME_MAPINFO_FAILTIP2_1",
        --The Clan War is underway. Please try again after 23:30.
        ["FailTip3"] = "STR_INI_LUA_FAMILYHOME_MAPINFO_FAILTIP3_1",
        --挑战时间
        ["ChallengeTime"] = "STR_INI_LUA_FAMILYHOME_MAPINFO_CHALLENGETIME_1",

        --注意奖励配置的值是上面FamilyWarRewardInfo中的奖励的索引
        --参与奖
        ["Attand"] = 26,
        --占领奖励等级1的奖励索引
        ["Hold1"] = 6,
        --占领奖励等级2的奖励索引
        ["Hold2"] = 7,
        --占领奖励等级3的奖励索引
        ["Hold3"] = 8,
        --占领奖励等级4的奖励索引
        ["Hold4"] = 9,
        --占领奖励等级5的奖励索引
        ["Hold5"] = 10,

        --占领奖励等级1需要家族多少级
        ["HoldLev1"] = 1,
        --占领奖励等级2需要家族多少级
        ["HoldLev2"] = 2,
        --占领奖励等级3需要家族多少级
        ["HoldLev3"] = 3,
        --占领奖励等级4需要家族多少级
        ["HoldLev4"] = 4,
        --占领奖励等级5需要家族多少级
        ["HoldLev5"] = 5,

         --连续占领奖励7天 额外的奖励个数
        ["Continued1"] = 1,
        --连续占领奖励 14天 额外的奖励个数
        ["Continued2"] = 2,
        --连续占领奖励 21天 额外的奖励个数
        ["Continued3"] = 3,
        --连续占领奖励 28天 额外的奖励个数
        ["Continued4"] = 4,

        --连续占领第一级奖励需要多少天
        ["ContinuedDay1"] = 7,
        --连续占领第二级奖励需要多少天
        ["ContinuedDay2"] = 14,
        --连续占领第三级奖励需要多少天
        ["ContinuedDay3"] = 21,
        --连续占领第四级奖励需要多少天
        ["ContinuedDay4"] = 28,
		
		-- Challenge Time
		["ChangeTime"] = "STR_INI_LUA_FAMILYHOME_MAPINFO_CHANGETIME_2",
    },
    --跨服 双龙城
    [10] = {
		--是否跨服
		["Cross"] = 1,
        --家族战地图id
        ["FightMap"] = 11853,
        --NPCID
        ["ID"] = 10036,
        --底图
        ["ImgBg"] = "Home_BG23",
        --名字图片
        ["ImgName"] = "blank",
        --名字字符串
        ["StrName"] = "STR_INI_LUA_FAMILYHOME_MAPINFO_NAME_1",
        --中间文字描述
		["StrTips"] = "STR_INI_LUA_FAMILYHOME_MAPINFO_TIPS_2",
		--今天的经验已被领取请在今天23:30后领取
        ["FailTip1"] = "STR_INI_LUA_FAMILYHOME_MAPINFO_FAILTIP1_1",
        --今天的经验已被领取请在明天23:30后领取
        ["FailTip2"] = "STR_INI_LUA_FAMILYHOME_MAPINFO_FAILTIP2_1",
        --The Clan War is underway. Please try again after 23:30.
        ["FailTip3"] = "STR_INI_LUA_FAMILYHOME_MAPINFO_FAILTIP3_1",
        --挑战时间
        ["ChallengeTime"] = "STR_INI_LUA_FAMILYHOME_MAPINFO_CHALLENGETIME_2",

        --注意奖励配置的值是上面FamilyWarRewardInfo中的奖励的索引
        --占领奖励等级1的奖励索引
        ["Hold1"] = 27,
        --占领奖励等级2的奖励索引
        ["Hold2"] = 28,
        --占领奖励等级3的奖励索引
        ["Hold3"] = 29,
        --占领奖励等级4的奖励索引
        ["Hold4"] = 30,
        --占领奖励等级5的奖励索引
        ["Hold5"] = 31,

        --占领奖励等级1需要家族多少级
        ["HoldLev1"] = 1,
        --占领奖励等级2需要家族多少级
        ["HoldLev2"] = 2,
        --占领奖励等级3需要家族多少级
        ["HoldLev3"] = 3,
        --占领奖励等级4需要家族多少级
        ["HoldLev4"] = 4,
        --占领奖励等级5需要家族多少级
        ["HoldLev5"] = 5,

        --连续占领奖励7天 额外的奖励个数
        ["Continued1"] = 1,
        --连续占领奖励 14天 额外的奖励个数
        ["Continued2"] = 2,
        --连续占领奖励 21天 额外的奖励个数
        ["Continued3"] = 3,
        --连续占领奖励 28天 额外的奖励个数
        ["Continued4"] = 4,

        --连续占领第一级奖励需要多少天
        ["ContinuedDay1"] = 7,
        --连续占领第二级奖励需要多少天
        ["ContinuedDay2"] = 14,
        --连续占领第三级奖励需要多少天
        ["ContinuedDay3"] = 21,
        --连续占领第四级奖励需要多少天
        ["ContinuedDay4"] = 28,
		
		-- Challenge Time
		["ChangeTime"] = "STR_INI_LUA_FAMILYHOME_MAPINFO_CHANGETIME_3",
		
		-- 家族5级后的奖励
		["PrizeItemRank5"] = 3336691,
    },
	--跨服 鸣凤堡
    [11] = {
		--是否跨服
		["Cross"] = 1,
        --家族战地图id
        ["FightMap"] = 11855,
        --NPCID
        ["ID"] = 10038,
        --底图
        ["ImgBg"] = "Home_BG23",
        --名字图片
        ["ImgName"] = "blank",
        --名字字符串
        ["StrName"] = "STR_INI_LUA_FAMILYHOME_MAPINFO_NAME_3",
        --中间文字描述
		["StrTips"] = "STR_INI_LUA_FAMILYHOME_MAPINFO_TIPS_2",
        --今天的经验已被领取请在今天23:30后领取
        ["FailTip1"] = "STR_INI_LUA_FAMILYHOME_MAPINFO_FAILTIP1_1",
        --今天的经验已被领取请在明天23:30后领取
        ["FailTip2"] = "STR_INI_LUA_FAMILYHOME_MAPINFO_FAILTIP2_1",
        --The Clan War is underway. Please try again after 23:30.
        ["FailTip3"] = "STR_INI_LUA_FAMILYHOME_MAPINFO_FAILTIP3_1",
        --挑战时间
        ["ChallengeTime"] = "STR_INI_LUA_FAMILYHOME_MAPINFO_CHALLENGETIME_2",

        --注意奖励配置的值是上面FamilyWarRewardInfo中的奖励的索引
        --占领奖励等级1的奖励索引
        ["Hold1"] = 32,
        --占领奖励等级2的奖励索引
        ["Hold2"] = 33,
        --占领奖励等级3的奖励索引
        ["Hold3"] = 34,
        --占领奖励等级4的奖励索引
        ["Hold4"] = 35,
        --占领奖励等级5的奖励索引
        ["Hold5"] = 36,

        --占领奖励等级1需要家族多少级
        ["HoldLev1"] = 1,
        --占领奖励等级2需要家族多少级
        ["HoldLev2"] = 2,
        --占领奖励等级3需要家族多少级
        ["HoldLev3"] = 3,
        --占领奖励等级4需要家族多少级
        ["HoldLev4"] = 4,
        --占领奖励等级5需要家族多少级
        ["HoldLev5"] = 5,

        --连续占领奖励7天 额外的奖励个数
        ["Continued1"] = 1,
        --连续占领奖励 14天 额外的奖励个数
        ["Continued2"] = 2,
        --连续占领奖励 21天 额外的奖励个数
        ["Continued3"] = 3,
        --连续占领奖励 28天 额外的奖励个数
        ["Continued4"] = 4,

        --连续占领第一级奖励需要多少天
        ["ContinuedDay1"] = 7,
        --连续占领第二级奖励需要多少天
        ["ContinuedDay2"] = 14,
        --连续占领第三级奖励需要多少天
        ["ContinuedDay3"] = 21,
        --连续占领第四级奖励需要多少天
        ["ContinuedDay4"] = 28,
		
		-- Challenge Time
		["ChangeTime"] = "STR_INI_LUA_FAMILYHOME_MAPINFO_CHANGETIME_3",
		
		-- 家族5级后的奖励
		["PrizeItemRank5"] = 3336696,
    },
	--跨服 黑虎城
    [12] = {
		--是否跨服
		["Cross"] = 1,
        --家族战地图id
        ["FightMap"] = 11857,
        --NPCID
        ["ID"] = 10040,
        --底图
        ["ImgBg"] = "Home_BG23",
        --名字图片
        ["ImgName"] = "blank",
        --名字字符串
        ["StrName"] = "STR_INI_LUA_FAMILYHOME_MAPINFO_NAME_5",
        --中间文字描述
		["StrTips"] = "STR_INI_LUA_FAMILYHOME_MAPINFO_TIPS_2",
        --今天的经验已被领取请在今天23:30后领取
        ["FailTip1"] = "STR_INI_LUA_FAMILYHOME_MAPINFO_FAILTIP1_1",
        --今天的经验已被领取请在明天23:30后领取
        ["FailTip2"] = "STR_INI_LUA_FAMILYHOME_MAPINFO_FAILTIP2_1",
        --The Clan War is underway. Please try again after 23:30.
        ["FailTip3"] = "STR_INI_LUA_FAMILYHOME_MAPINFO_FAILTIP3_1",
        --挑战时间
        ["ChallengeTime"] = "STR_INI_LUA_FAMILYHOME_MAPINFO_CHALLENGETIME_2",

        --注意奖励配置的值是上面FamilyWarRewardInfo中的奖励的索引
        --占领奖励等级1的奖励索引
        ["Hold1"] = 37,
        --占领奖励等级2的奖励索引
        ["Hold2"] = 38,
        --占领奖励等级3的奖励索引
        ["Hold3"] = 39,
        --占领奖励等级4的奖励索引
        ["Hold4"] = 40,
        --占领奖励等级5的奖励索引
        ["Hold5"] = 41,

        --占领奖励等级1需要家族多少级
        ["HoldLev1"] = 1,
        --占领奖励等级2需要家族多少级
        ["HoldLev2"] = 2,
        --占领奖励等级3需要家族多少级
        ["HoldLev3"] = 3,
        --占领奖励等级4需要家族多少级
        ["HoldLev4"] = 4,
        --占领奖励等级5需要家族多少级
        ["HoldLev5"] = 5,

        --连续占领奖励7天 额外的奖励个数
        ["Continued1"] = 1,
        --连续占领奖励 14天 额外的奖励个数
        ["Continued2"] = 2,
        --连续占领奖励 21天 额外的奖励个数
        ["Continued3"] = 3,
        --连续占领奖励 28天 额外的奖励个数
        ["Continued4"] = 4,

        --连续占领第一级奖励需要多少天
        ["ContinuedDay1"] = 7,
        --连续占领第二级奖励需要多少天
        ["ContinuedDay2"] = 14,
        --连续占领第三级奖励需要多少天
        ["ContinuedDay3"] = 21,
        --连续占领第四级奖励需要多少天
        ["ContinuedDay4"] = 28,
		
		-- 挑战时间
		["ChangeTime"] = "STR_INI_LUA_FAMILYHOME_MAPINFO_CHANGETIME_3",
		
		-- 家族5级后的奖励
		["PrizeItemRank5"] = 3336701,
    },
	--跨服 白鹭城
    [13] = {
		--是否跨服
		["Cross"] = 1,
        --家族战地图id
        ["FightMap"] = 11859,
        --NPCID
        ["ID"] = 10042,
        --底图
        ["ImgBg"] = "Home_BG23",
        --名字图片
        ["ImgName"] = "blank",
        --名字字符串
         ["StrName"] = "STR_INI_LUA_FAMILYHOME_MAPINFO_NAME_7",
        --中间文字描述
		["StrTips"] = "STR_INI_LUA_FAMILYHOME_MAPINFO_TIPS_2",
        --今天的经验已被领取请在今天23:30后领取
        ["FailTip1"] = "STR_INI_LUA_FAMILYHOME_MAPINFO_FAILTIP1_1",
        --今天的经验已被领取请在明天23:30后领取
        ["FailTip2"] = "STR_INI_LUA_FAMILYHOME_MAPINFO_FAILTIP2_1",
        --The Clan War is underway. Please try again after 23:30.
        ["FailTip3"] = "STR_INI_LUA_FAMILYHOME_MAPINFO_FAILTIP3_1",
        --挑战时间
        ["ChallengeTime"] = "STR_INI_LUA_FAMILYHOME_MAPINFO_CHALLENGETIME_2",

        --注意奖励配置的值是上面FamilyWarRewardInfo中的奖励的索引
        --占领奖励等级1的奖励索引
        ["Hold1"] = 42,
        --占领奖励等级2的奖励索引
        ["Hold2"] = 43,
        --占领奖励等级3的奖励索引
        ["Hold3"] = 44,
        --占领奖励等级4的奖励索引
        ["Hold4"] = 45,
        --占领奖励等级5的奖励索引
        ["Hold5"] = 46,

        --占领奖励等级1需要家族多少级
        ["HoldLev1"] = 1,
        --占领奖励等级2需要家族多少级
        ["HoldLev2"] = 2,
        --占领奖励等级3需要家族多少级
        ["HoldLev3"] = 3,
        --占领奖励等级4需要家族多少级
        ["HoldLev4"] = 4,
        --占领奖励等级5需要家族多少级
        ["HoldLev5"] = 5,

        --连续占领奖励7天 额外的奖励个数
        ["Continued1"] = 1,
        --连续占领奖励 14天 额外的奖励个数
        ["Continued2"] = 2,
        --连续占领奖励 21天 额外的奖励个数
        ["Continued3"] = 3,
        --连续占领奖励 28天 额外的奖励个数
        ["Continued4"] = 4,

        --连续占领第一级奖励需要多少天
        ["ContinuedDay1"] = 7,
        --连续占领第二级奖励需要多少天
        ["ContinuedDay2"] = 14,
        --连续占领第三级奖励需要多少天
        ["ContinuedDay3"] = 21,
        --连续占领第四级奖励需要多少天
        ["ContinuedDay4"] = 28,
		
		-- 挑战时间
		["ChangeTime"] = "STR_INI_LUA_FAMILYHOME_MAPINFO_CHANGETIME_3",
		
		-- 家族5级后的奖励
		["PrizeItemRank5"] = 3336706,
    },
	--跨服 云门关
    [14] = {
		--是否跨服
		["Cross"] = 1,
        --家族战地图id
        ["FightMap"] = 11861,
        --NPCID
        ["ID"] = 10044,
        --底图
        ["ImgBg"] = "Home_BG23",
        --名字图片
        ["ImgName"] = "blank",
        --名字字符串
        ["StrName"] = "STR_INI_LUA_FAMILYHOME_MAPINFO_NAME_8",
        --中间文字描述
		["StrTips"] = "STR_INI_LUA_FAMILYHOME_MAPINFO_TIPS_2",
        --今天的经验已被领取请在今天23:30后领取
        ["FailTip1"] = "STR_INI_LUA_FAMILYHOME_MAPINFO_FAILTIP1_1",
        --今天的经验已被领取请在明天23:30后领取
        ["FailTip2"] = "STR_INI_LUA_FAMILYHOME_MAPINFO_FAILTIP2_1",
        --The Clan War is underway. Please try again after 23:30.
        ["FailTip3"] = "STR_INI_LUA_FAMILYHOME_MAPINFO_FAILTIP3_1",
        --挑战时间
        ["ChallengeTime"] = "STR_INI_LUA_FAMILYHOME_MAPINFO_CHALLENGETIME_2",

        --注意奖励配置的值是上面FamilyWarRewardInfo中的奖励的索引
        --占领奖励等级1的奖励索引
        ["Hold1"] = 47,
        --占领奖励等级2的奖励索引
        ["Hold2"] = 48,
        --占领奖励等级3的奖励索引
        ["Hold3"] = 49,
        --占领奖励等级4的奖励索引
        ["Hold4"] = 50,
        --占领奖励等级5的奖励索引
        ["Hold5"] = 51,

        --占领奖励等级1需要家族多少级
        ["HoldLev1"] = 1,
        --占领奖励等级2需要家族多少级
        ["HoldLev2"] = 2,
        --占领奖励等级3需要家族多少级
        ["HoldLev3"] = 3,
        --占领奖励等级4需要家族多少级
        ["HoldLev4"] = 4,
        --占领奖励等级5需要家族多少级
        ["HoldLev5"] = 5,

        --连续占领奖励7天 额外的奖励个数
        ["Continued1"] = 1,
        --连续占领奖励 14天 额外的奖励个数
        ["Continued2"] = 2,
        --连续占领奖励 21天 额外的奖励个数
        ["Continued3"] = 3,
        --连续占领奖励 28天 额外的奖励个数
        ["Continued4"] = 4,

        --连续占领第一级奖励需要多少天
        ["ContinuedDay1"] = 7,
        --连续占领第二级奖励需要多少天
        ["ContinuedDay2"] = 14,
        --连续占领第三级奖励需要多少天
        ["ContinuedDay3"] = 21,
        --连续占领第四级奖励需要多少天
        ["ContinuedDay4"] = 28,
		
		-- 挑战时间
		["ChangeTime"] = "STR_INI_LUA_FAMILYHOME_MAPINFO_CHANGETIME_3",
		
		-- 家族5级后的奖励
		["PrizeItemRank5"] = 3336711,
    },
}

--如果需要增加新的提示，请去修改GetBtnTips的判断
local TipsInfo = {
    --STR_FAMILY_NO_ATTAND_TIPS=您的家族没有报名，所以不能参赛哦
    ["NotChallenge"] = "STR_FAMILY_WAR_TIPS1",
    --STR_FAMILY_OCCUPY_GIVEUP_DISABLE_CHANLLENGE_START=家族挑战赛期间，不可放弃占领。
    ["GameNoGiveUp"] = "STR_FAMILY_OCCUPY_GIVEUP_DISABLE_CHANLLENGE_START",
    --STR_FAMILY_WAR_NO_LEADER_TIPS=您不是族长哦，不能进行操作
    ["NotGamebeLeader"] = "STR_FAMILY_WAR_TIPS2",
}

local T_Occupy = {
	["PrizeExIntro"] = "STR_INI_LUA_FAMILYHOME_OCCUPY_PRIZEEXINTRO_1",
	--Twin City
	[10026] = {
		["Prize"] = {3336662,3336663,3336664,3336665,3336666},--占领奖励,奖励这块如果觉醒有重复的配置，可以由lua自己转化一下）
		["PrizeEx"] = {3336662,3336663,3336664,3336665,3336666},--连续占领奖励（其实在服务端，Prize跟PrizeEx是一样的，lua到时候看看怎么优化下）
		["PrizeExIntro"] = "STR_INI_LUA_FAMILYHOME_OCCUPY_PRIZEEXINTRO_2",--连续Occupation Reward物品图标下方的程序字描述，lua到时候看看怎么优化下，其实就是连续占领%d天奖励，有把占领天数告诉lua，%d可以替为天数整除7再乘以7，拿去替换%d，根据策划对描述的要求来调整）
		["Goto"] = "1002,419,268,4",--家族战界面增加了一个“前往”按钮，可以用来自动寻路到家族战npc，假如配置"1002,419,268,4"，1002是地图id，419是x格子坐标，268是y格子坐标，4是距离npc的范围，本服的家族战地图才要配置Goto，跨服没有前往功能，是直接进比赛地图
	},
	-- Wind Plain
	[10027] = {
		["Prize"] = {3336662},
		["PrizeEx"] = {3336662},
		["PrizeExIntro"] = "STR_INI_LUA_FAMILYHOME_OCCUPY_PRIZEEXINTRO_2",
	},
	--Phoenix Castle
	[10028] = {
		["Prize"] = {3336667,3336668,3336669,3336670,3336671},
		["PrizeEx"] = {3336667,3336668,3336669,3336670,3336671},
		["PrizeExIntro"] = "STR_INI_LUA_FAMILYHOME_OCCUPY_PRIZEEXINTRO_2",
		["Goto"] = "1011,197,283,4",
	},
	-- Maple Forest
	[10029] = {
		["Prize"] = 3336662,
		["PrizeEx"] = 3336662,
		["PrizeExIntro"] = "STR_INI_LUA_FAMILYHOME_OCCUPY_PRIZEEXINTRO_2",
	},
	--Ape City
	[10030] = {
		["Prize"] = {3336672,3336673,3336674,3336675,3336676},
		["PrizeEx"] = {3336672,3336673,3336674,3336675,3336676},
		["PrizeExIntro"] = "STR_INI_LUA_FAMILYHOME_OCCUPY_PRIZEEXINTRO_2",
		["Goto"] = "1020,573,585,4",
	},
	-- Love Canyon
	[10031] = {
		["Prize"] = 3336662,
		["PrizeEx"] = 3336662,
		["PrizeExIntro"] = "STR_INI_LUA_FAMILYHOME_OCCUPY_PRIZEEXINTRO_2",
	},
	--Bird Island
	[10032] = {
		["Prize"] = {3336677,3336678,3336679,3336680,3336681},
		["PrizeEx"] = {3336677,3336678,3336679,3336680,3336681},
		["PrizeExIntro"] = "STR_INI_LUA_FAMILYHOME_OCCUPY_PRIZEEXINTRO_2",
		["Goto"] = "1015,707,579,4",
	},
	-- Bird Island
	[10033] = {
		["Prize"] = 3336662,
		["PrizeEx"] = 3336662,
		["PrizeExIntro"] = "STR_INI_LUA_FAMILYHOME_OCCUPY_PRIZEEXINTRO_2",
	},
	--Desert City
	[10034] = {
		["Prize"] = {3336682,3336683,3336684,3336685,3336686},
		["PrizeEx"] = {3336682,3336683,3336684,3336685,3336686},
		["PrizeExIntro"] = "STR_INI_LUA_FAMILYHOME_OCCUPY_PRIZEEXINTRO_2",
		["Goto"] = "1000,501,673,4",
	},
	-- 跨服
	[10036] = {
		["Prize"] = {3336691,3336691,3336691,3336691,3336691},
		["PrizeEx"] = {3336691,3336691,3336691,3336691,3336691},
		["PrizeExIntro"] = "STR_INI_LUA_FAMILYHOME_OCCUPY_PRIZEEXINTRO_2",
	},
	-- 跨服
	[10038] = {
		["Prize"] = {3336696,3336696,3336696,3336696,3336696},
		["PrizeEx"] = {3336696,3336696,3336696,3336696,3336696},
		["PrizeExIntro"] = "STR_INI_LUA_FAMILYHOME_OCCUPY_PRIZEEXINTRO_2",
	},
	--跨服 黑虎城
	[10040] = {
		["Prize"] = {3336701,3336701,3336701,3336701,3336701},
		["PrizeEx"] = {3336701,3336701,3336701,3336701,3336701},
		["PrizeExIntro"] = "STR_INI_LUA_FAMILYHOME_OCCUPY_PRIZEEXINTRO_2",
	},
	--跨服 白鹭城
	[10042] = {
		["Prize"] = {3336706,3336706,3336706,3336706,3336706},
		["PrizeEx"] = {3336706,3336706,3336706,3336706,3336706},
		["PrizeExIntro"] = "STR_INI_LUA_FAMILYHOME_OCCUPY_PRIZEEXINTRO_2",
	},
	--跨服 云门关
	[10044] = {
		["Prize"] = {3336711,3336711,3336711,3336711,3336711},
		["PrizeEx"] = {3336711,3336711,3336711,3336711,3336711},
		["PrizeExIntro"] = "STR_INI_LUA_FAMILYHOME_OCCUPY_PRIZEEXINTRO_2",
	},
}

local function GetCanClick(bGame, nRole, bChallenge)
    if bGame == true then
        --可以去挑战的人
        if nRole <= ROLE_CHALLENGE_MEMBER and bChallenge == true then
            return true
        else
            return false
        end
    else
        --非比赛期间只有族长可以操作
        if nRole % 2 == 1 then
            return true
        else
            return false
        end
    end
end

local function GetBtnTips(bGame, nRole, bChallenge)
    if bGame == true then
        --没有报名不能挑战
        if nRole > ROLE_CHALLENGE_MEMBER then
            return TipsInfo["NotChallenge"]
        end

        --没有人挑战不能放弃占领
        if nRole <= ROLE_OCCUPY_MEMBER and bChallenge == false then
            return TipsInfo["GameNoGiveUp"]
        end
    else
        --非比赛期间只有族长可以操作
        if nRole % 2 == 0 then
            return TipsInfo["NotGamebeLeader"]
        end
    end
end

local function GetTipsInfo(nType)
    return TipsInfo[nType]
end



local function GetMapNum()
	--老兵服判断
	if UserData_IsOldSoldierServer() or UserData_IsCoinsServer() then
		return #MapIndex_OldSoldier
	end 
	
    return #MapIndex
end

local function GetMapTypeByIndex(nIndex)
	--老兵服判断
	if UserData_IsOldSoldierServer() or UserData_IsCoinsServer() then
		return MapIndex_OldSoldier[nIndex + 1]
	end 
    --客户端从0开始需要+1
    return MapIndex[nIndex + 1]
end

local function GetMapInfo(nIdType, nValueType)
	local value = MapInfo[nIdType]
	
	if (value ~= nil) then
		value = value[nValueType]
	end
	
	if (value ~= nil) then
		return value
	end
	
	if (nValueType == "ImgBg" or nValueType == "ImgName" or nValueType == "StrName" or nValueType == "StrTips"
	 or nValueType == "FailTip1" or nValueType == "FailTip2" or nValueType == "FailTip3" or nValueType == "ChallengeTime") then
		return ""
	end

    return 0
end

--获得奖励物品的属性
local function GetMapRewardInfoByIndex(nRewardIndex, nValue)
    if nValue == "Num" then
        return nRewardIndex % 10
    else	
		local nDayIndex = nRewardIndex % 100
		nDayIndex = math.floor(nDayIndex / 10)
		-- 原来索引 * 10 + 连续占领的等级（1~4,不是连续占领的为0）
        nRewardIndex = math.floor(nRewardIndex / 100) * 10 + nDayIndex
		if (UserData_IsOldSoldierServer() == true) then
			return FamilyWarOldSoldierRewardInfo[nRewardIndex][nValue]
		elseif (UserData_IsCoinsServer() == true) then
			return FamilyWarOldSoldierRewardInfo[nRewardIndex][nValue]
		else
			return FamilyWarRewardInfo[nRewardIndex][nValue]
		end
    end
end


--获取第几阶段的连续占领奖励
local function GetContinuedRewardLev(nMapType, nDay)
    local nRewardType = 0
    local nDay1 = MapInfo[nMapType]["ContinuedDay1"]
    local nDay2 = MapInfo[nMapType]["ContinuedDay2"]
    local nDay3 = MapInfo[nMapType]["ContinuedDay3"]
    local nDay4 = MapInfo[nMapType]["ContinuedDay4"]
    if nDay < nDay1 and nDay >= 0 then
        nRewardType = 1
    elseif nDay >= nDay1 and nDay < nDay2 then
        nRewardType = 2
    elseif nDay >= nDay2 and nDay < nDay3 then
        nRewardType = 3
    elseif nDay >= nDay3 then
        nRewardType = 4
    end
    return nRewardType
end

--获取奖励字符串的函数
local function GetRewardTypeTitle(nMapType, nRewardType, nDay)
    local strTitle = ""
    if nRewardType == ATTAND_REWARD_TYPE then
        --参与奖励字符串
        strTitle = "Part. Rwd"
    elseif nRewardType == HOLD_REWARD_TYPE then
        --占领奖励字符串
        strTitle = "Occ. Rwd"
    elseif nRewardType == CONTINUED_REWARD_TYPE then
        --连续占领奖励字符串
        local nLev = GetContinuedRewardLev(nMapType, nDay)
        local strType = "ContinuedDay"..math.ceil(nLev)
        local nDayNum = MapInfo[nMapType][strType]

        strTitle = "Rwd for "..math.ceil(nDayNum).."-day Occ."
    end
   
    return strTitle
end

--获取几种奖励相关的函数---------------------------------------------------------
local function GetAttandRewardInfo(nMapType)
    local nIndex = GetMapInfo(nMapType, "Attand")

    return nIndex * 100 + 1
end

local function GetHoldRewardLev(nMapType, nLev)
    local nRewardType = 0
    local nLev1 = MapInfo[nMapType]["HoldLev1"]
    local nLev2 = MapInfo[nMapType]["HoldLev2"]
    local nLev3 = MapInfo[nMapType]["HoldLev3"]
    local nLev4 = MapInfo[nMapType]["HoldLev4"]
    local nLev5 = MapInfo[nMapType]["HoldLev5"]
    if nLev < nLev1 and nLev >= 0 then
        nRewardType = 0
    elseif nLev >= nLev1 and nLev < nLev2 then
        nRewardType = 1
    elseif nLev >= nLev2 and nLev < nLev3 then
        nRewardType = 2
    elseif nLev >= nLev3 and nLev < nLev4 then
        nRewardType = 3
    elseif nLev >= nLev4 and nLev < nLev5 then
        nRewardType = 4
    elseif nLev >= nLev5 then
        nRewardType = 5
    end
    return nRewardType
end

local function GetHoldRewardInfo(nMapType, nLev)
    local nLev1 =  GetHoldRewardLev(nMapType, nLev)
    local strValue = "Hold"..math.ceil(nLev1)

    local nIndex =  GetMapInfo(nMapType, strValue)

    return nIndex * 100 + 1
end

-- 连续占领奖励
local function GetContinuedRewardInfo(nMapType, nDay, nLev)
    --连续占领奖励与占领奖励相同，但个数不同
    local nLev1 =  GetHoldRewardLev(nMapType, nLev)
    local strValue = "Hold"..math.ceil(nLev1)
    --获得奖励索引
    local nIndex = GetMapInfo(nMapType, strValue)
    --根据天数不同修改索引

    local nDayType = GetContinuedRewardLev(nMapType, nDay)

    -- return nIndex * 100 + nDayType + 1
    -- return nIndex * 100 + 1
	-- 因跨服战需要分占领阶段，所以天数配置需要打开，
	-- 会影响到原本本服配置，本服需要加上占领天数的奖励配置
    return nIndex * 100 + nDayType * 10 + 1
end

--获取不同奖励类型对应的奖励索引
local function GetRewardIndex(nMapType, nRewardType, nLev, nDay)
    if nRewardType == ATTAND_REWARD_TYPE then
        return GetAttandRewardInfo(nMapType)
    elseif nRewardType == HOLD_REWARD_TYPE then
        return GetHoldRewardInfo(nMapType, nLev)
    elseif nRewardType == CONTINUED_REWARD_TYPE then
        return GetContinuedRewardInfo(nMapType, nDay, nLev)
    end

    return 0
end

--用于判断家族战是否能传送
local function CanFlyMap(nCurMapId)
	if UserData_IsOldSoldierServer() or UserData_IsCoinsServer() then
		-- 老兵服走这个分支
		for i = 1,#MapIndex_OldSoldier, 1 do
			local InfoIndex = MapIndex_OldSoldier[i]
			local mapId = MapInfo[InfoIndex]["FightMap"]
			if mapId ~= nil then
				if nCurMapId == mapId then
					return false
				end
			end
		end
		return true
	end
	
    for i = 1,#MapIndex, 1 do
        local InfoIndex = MapIndex[i]
        local mapId = MapInfo[InfoIndex]["FightMap"]
        if mapId ~= nil then
            if nCurMapId == mapId then
                return false
            end
        end
    end

    return true
end

-- BUFF在熔炉界面显示的位置
local DlgMakeVowBuffInfo = {
    --[buff的Type] = x,y,w,h
    [1] = {33,50,32,32},
    [2] = {33,90,32,32},
    [3] = {33,130,32,32},
}

-- 许愿池配置(注意以下数据要和服务端对应)
local MakeVowInfo = {
	["MaxLev"] = 10,
	-- 熔炉升级光效
	["UpLevEffect"] = "home_sjcg",
	-- 生效光效出现后刷新界面时间 1000为1s
	["RefreshTime"] = 300,
	[0] = {
		--祈福活动开始时间
		["TimeStart"] = 20210622010101,
		--祈福活动结束时间
		["TimeEnd"] = 20320623010101,
		--祈福基础金额
		["BasePrice"] = 50000,
		--祈福金额增加量
		["AddPrice"] = 50000,
		--祈福最大数额
		["MaxPrice"] = 300000,
		--重置消耗家族资金金额
		["ResetPrice"] = 100000,
	},
	[1] = {
		--祈福活动开始时间
		["TimeStart"] = 20210622010101,
		--祈福活动结束时间
		["TimeEnd"] = 20320623010101,
		--祈福基础金额
		["BasePrice"] = 50000,
		--祈福金额增加量
		["AddPrice"] = 50000,
		--祈福最大数额
		["MaxPrice"] = 300000,
		--重置消耗家族资金金额
		["ResetPrice"] = 100000,
	},
	
	-- 许愿池升下一级所需资金
	["LevUpCost"] = {
		-- 许愿池等级
		[1] = 3000000,
		[2] = 6000000,
		[3] = 10000000,
		[4] = 15000000,
		[5] = 20000000,
		[6] = 30000000,
		[7] = 40000000,
		[8] = 60000000,
		[9] = 80000000,
	}
}

local BuffIconInfo = {
    [0] = {
        --buff类型：
        --1、加物攻
        --2、加法攻
        --3、物暴击 万分比
        --4、法暴击 万分比
        --5、加生命上限
        --6、幸运一击 万分比
        --7、加闪避
        --8，对BOSS伤害提升XX%（万分比）
        --9，对普通怪物伤害提升XX%（万分比）
        --10，受到BOSS攻击时候，有2%几率格挡物理伤害（万分比）
        --11，受到BOSS攻击时候，有2%几率格挡法术伤害（万分比）
        --IconID在statusTips.ini里对应配置
        [1] = 1001,
        [2] = 1002,
        [3] = 1003,
        [4] = 1004,
        [5] = 1005,
        [6] = 1006,
        [7] = 1007,
        [8] = 1008,
        [9] = 1009,
        [10] = 1010,
        [11] = 1011,
    },
    [1] = {
        --buff类型：
        --1、加物攻
        --2、加法攻
        --3、物暴击 万分比
        --4、法暴击 万分比
        --5、加生命上限
        --6、幸运一击 万分比
        --7、加闪避
        --8，对BOSS伤害提升XX%（万分比）
        --9，对普通怪物伤害提升XX%（万分比）
        --10，受到BOSS攻击时候，有2%几率格挡物理伤害（万分比）
        --11，受到BOSS攻击时候，有2%几率格挡法术伤害（万分比）
        --IconID在statusTips.ini里对应配置
        [1] = 2001,
        [2] = 2002,
        [3] = 2003,
        [4] = 2004,
        [5] = 2005,
        [6] = 2006,
        [7] = 2007,
        [8] = 2008,
        [9] = 2009,
        [10] = 2010,
        [11] = 2011,
    },
}

-- 该表内容需要与cq_family_buff表数据对应
local BuffValueAndLev = {
	--buff类型(type)：
	--1、加物攻
	--2、加法攻
	--3、物暴击 万分比
	--4、法暴击 万分比
	--5、加生命上限
	--6、幸运一击 万分比
	--7、加闪避
	--8，对BOSS伤害提升XX%（万分比）
	--9，对普通怪物伤害提升XX%（万分比）
	--10，受到BOSS攻击时候，有2%几率格挡物理伤害（万分比）
	--11，受到BOSS攻击时候，有2%几率格挡法术伤害（万分比）
	[7] = {
		-- 等级
		[0] = 10,
		[1] = 12,
		[2] = 14,
		[3] = 16,
		[4] = 18,
		[5] = 20,
		[6] = 22,
		[7] = 24,
		[8] = 26,
		[9] = 30,
	},
	[8] = {
		-- 等级
		[0] = 500,
		[1] = 1000,
		[2] = 1500,
		[3] = 2000,
		[4] = 2500,
		[5] = 3000,
		[6] = 3500,
		[7] = 4000,
		[8] = 4500,
		[9] = 5000,
	},
	[9] = {
		-- 等级
		[0] = 6000,
		[1] = 8000,
		[2] = 10000,
		[3] = 12000,
		[4] = 14000,
		[5] = 17000,
		[6] = 20000,
		[7] = 23000,
		[8] = 26000,
		[9] = 30000,
	},
	[10] = {
		-- 等级
		[0] = 500,
		[1] = 1000,
		[2] = 1500,
		[3] = 2000,
		[4] = 2500,
		[5] = 3000,
		[6] = 3500,
		[7] = 4000,
		[8] = 4500,
		[9] = 5000,
	},
	[11] = {
		-- 等级
		[0] = 500,
		[1] = 1000,
		[2] = 1500,
		[3] = 2000,
		[4] = 2500,
		[5] = 3000,
		[6] = 3500,
		[7] = 4000,
		[8] = 4500,
		[9] = 5000,
	},
	
}

local function GetBuffLevByValue(type, value, defult)
    for k, v in pairs(BuffValueAndLev[type]) do
        if (v == value) then
            return k
        end
    end

    return defult
end

local function GetDlgMakeVowBuffInfo(nType, nValue)

    if nValue == 3 or nValue == 4 then
        return DlgMakeVowBuffInfo[nType][nValue - 2] + DlgMakeVowBuffInfo[nType][nValue]
    end

    return DlgMakeVowBuffInfo[nType][nValue]
end

--获取许愿池配置
local function GetMakeVowInfo(type, key, defult)
    local Value = MakeVowInfo[type][key]

    if (Value ~= nil) then
        return Value
    end

    return defult
end

local function GetBuffIconByType(type, key)
    local value = BuffIconInfo[key][type]

    if(value ~= nil) then
        return value
    end

    return 0
end

--兑换家族金币信息
local T_FamilyBuyCoinInfo = {
    -- 预设几个购买按钮数值
    ["BuyNum1"] = "10",
    ["BuyNum2"] = "100",
    ["BuyNum3"] = "1000",
    ["BuyNumMax"] = 9999999,
    ["BuyDefaultNum"] = "10",
    -- 购买兑换比率（家族币：金币）. 一个家族币等于多少金币
    ["Rate"] = 130000,
}

-- 获取家族金币兑换信息
local function GetBuyCoinInfo(key, defValue)
    if key == nil then
        return defValue
    end

    local keyValue = T_FamilyBuyCoinInfo[key]
    if (keyValue) then
        return keyValue
    end

    return defValue
end

local function GetMakeVowLevInfo(key, defult)
	local Value = MakeVowInfo[key]
	
	if(Value ~= nil) then
		return Value
	end
	
	return defult
end

-- 家族祈福生效地图，配置的是cq_map的mapdoc
local FamilyBuffMap = {
    [0] = 10010,
}

-- 战斗BUFF生效地图，配置的是cq_map的mapdoc
local BattleBuffMap = {
    [0] = 1068,
    [1] = 2068,
    [2] = 10020,
    [3] = 10428,
    [4] = 10759,
    [5] = 10760,
    [6] = 10761,
    [7] = 11151,
}

local function IsFamilyBuffMap(id)
    for k, v in pairs(FamilyBuffMap) do
        if (v == id) then
            return 1
        end
    end

    return 0
end

local function IsBattleBuffMap(id)
    for k, v in pairs(BattleBuffMap) do
        if (v == id) then
            return 1
        end
    end

    return 0
end

local function GetHallUpLevInfo(nLev)
	if nLev == 2 then
		--解锁战力塔
		return "STR_FAMILY_UPLEV_TIP2"
	elseif nLev == 5 then
		--解锁家族商店
		return "STR_FAMILY_UPLEV_TIP5"
	elseif nLev == 10 then
		--解锁熔炉
		return "STR_FAMILY_UPLEV_TIP10"
	end
end

local function GetMapInfoByNpcId(nMapId, Type)
	for i, v in pairs(MapInfo) do
		if v["ID"] == nMapId then
			return v[Type]
		end
	end
	return 0
end

-- nMapDocId: 对应服务端数据库中的iddoc
local function IsCanEnterCrossFight(nMapDocId)
	if (nMapDocId == 1002 or nMapDocId == 10364 or nMapDocId == 1036) then
		return true
	end
	
	return false
end

local function GetOccupy(key, data, nOccupyDays,nFamilyRank)
	if (key == "GroupWidth") then
			--控制区域与挑战区共用宽度
			return 436
	elseif (key == "GroupHeight") then
		if (data == 2) then
			--控制区域高度
			return 180
		end
		--挑战区高度
		return 60
	end
	
	if key == "Prize" or key == "PrizeEx" then
		--占领、连续占领奖励显示
		if nFamilyRank >= #T_Occupy[data][key] then
			nFamilyRank = #T_Occupy[data][key]
		end 
		
		--nOccupyDays连续占领天数
		return T_Occupy[data][key][nFamilyRank]
	end 
	
	--连续占领文字显示
	if key == "PrizeExIntro" then
		if nOccupyDays <= 7 then
			return string.format(T_Occupy[key],7)
		elseif nOccupyDays <= 14 then
			return string.format(T_Occupy[key],14)
		elseif nOccupyDays <= 21 then
			return string.format(T_Occupy[key],21)
		else
			return string.format(T_Occupy[key],28)
		end
	end 
	
	return T_Occupy[data][key]
end

--家族押镖是否显示，根据服务器类型控制
local function IsOpenFamilyEsortCart()
	if UserData_IsCoinsServer() then
		return true
	end

	return false
end

--这边是自动寻路到镖车npc的数据，请找确认好
local EscortCartInfo = {
	idmap = 10364,
	posx = 309,
	posy = 362,
	idnpc = 36621,
	radius= 3,
}

local function GetEscortCartInfo(key)
	return EscortCartInfo[key]
end

----------------------------------------------------------------------------------------------------------------------------------------------------------    
local function Unload()
    DlgInfo = nil
    BuffInfo = nil
    ArchitectureInfo = nil

    BossInfo = nil
    BossRewardInfo = nil
	GetBuyCoinInfo = nil
	FamilyBossRankRewardInfo = nil
	FamilyHome_IsOpenFamilyEsortCart = nil
	FamilyHome_GetEscortCartInfo = nil

end

local function GetCrossFightBattleLev()
	return 300
end

local FamilyHome = {
--主界面
----------------------------------------------------------------------------------------------------------------------------------------------------------    
    GetOccupy = GetOccupy,
	GetDlgInfo = GetDlgInfo,
    GetArchitectureInfo = GetArchitectureInfo,
    GetBgInfo = GetBgInfo,
    GetBuffInfo = GetBuffInfo,
    GetArcAttrInfo = GetArcAttrInfo,
--Boss战
----------------------------------------------------------------------------------------------------------------------------------------------------------
    IsOpenFamilyBoss = IsOpenFamilyBoss,
    GetRewardInfo = GetRewardInfo,
    GetRewardNum= GetRewardNum,
--家族战
----------------------------------------------------------------------------------------------------------------------------------------------------------
    GetMapNum = GetMapNum,
    GetMapInfo = GetMapInfo,
    GetMapTypeByIndex = GetMapTypeByIndex,
    GetMapRewardInfoByIndex = GetMapRewardInfoByIndex,
    GetContinuedRewardLev = GetContinuedRewardLev,
    GetAttandRewardInfo = GetAttandRewardInfo,
    GetHoldRewardInfo = GetHoldRewardInfo,
    GetHoldRewardLev = GetHoldRewardLev,
    GetContinuedRewardInfo = GetContinuedRewardInfo,
    GetRewardIndex = GetRewardIndex,
    GetRewardTypeTitle = GetRewardTypeTitle,
    GetCanClick = GetCanClick,
    GetBtnTips = GetBtnTips,
	GetMakeVowInfo = GetMakeVowInfo,
	GetDlgMakeVowBuffInfo = GetDlgMakeVowBuffInfo,
	GetBuffIconByType = GetBuffIconByType,
	GetBuyCoinInfo = GetBuyCoinInfo,
	CanFlyMap = CanFlyMap,
	GetBuffLevByValue = GetBuffLevByValue,
	GetMakeVowLevInfo = GetMakeVowLevInfo,
	IsFamilyBuffMap = IsFamilyBuffMap,
	IsBattleBuffMap = IsBattleBuffMap,
	GetHallUpLevInfo = GetHallUpLevInfo,
   	GetMapInfoByNpcId= GetMapInfoByNpcId,
	GetFamilyRankBossRewardInfo= GetFamilyRankBossRewardInfo,
	IsCanEnterCrossFight = IsCanEnterCrossFight,
	GetCrossFightBattleLev = GetCrossFightBattleLev,
	GetEscortCartInfo = GetEscortCartInfo,
	IsOpenFamilyEsortCart = IsOpenFamilyEsortCart,

	Unload = Unload,
}

FamilyHome_GetOccupy = FamilyHome.GetOccupy
FamilyHome_GetDlgInfo = FamilyHome.GetDlgInfo
FamilyHome_GetArchitectureInfo = FamilyHome.GetArchitectureInfo
FamilyHome_GetBgInfo = FamilyHome.GetBgInfo
FamilyHome_GetBuffInfo = FamilyHome.GetBuffInfo
FamilyHome_GetArcAttrInfo = FamilyHome.GetArcAttrInfo
FamilyHome_IsOpenFamilyBoss = FamilyHome.IsOpenFamilyBoss
FamilyHome_GetRewardInfo = FamilyHome.GetRewardInfo
FamilyHome_GetRewardNum= FamilyHome.GetRewardNum
FamilyHome_GetMapInfo = FamilyHome.GetMapInfo
FamilyHome_GetMapNum = FamilyHome.GetMapNum
FamilyHome_GetMapTypeByIndex = FamilyHome.GetMapTypeByIndex
FamilyHome_GetMapRewardInfoByIndex = FamilyHome.GetMapRewardInfoByIndex
FamilyHome_GetAttandRewardInfo = FamilyHome.GetAttandRewardInfo
FamilyHome_GetHoldRewardInfo = FamilyHome.GetHoldRewardInfo
FamilyHome_GetHoldRewardLev = FamilyHome.GetHoldRewardLev
FamilyHome_GetContinuedRewardInfo = FamilyHome.GetContinuedRewardInfo
FamilyHome_GetRewardIndex = FamilyHome.GetRewardIndex
FamilyHome_GetRewardTypeTitle = FamilyHome.GetRewardTypeTitle
FamilyHome_GetContinuedRewardLev = FamilyHome.GetContinuedRewardLev
FamilyHome_GetCanClick = FamilyHome.GetCanClick
FamilyHome_GetBtnTips = FamilyHome.GetBtnTips
FamilyHome_GetMakeVowInfo = FamilyHome.GetMakeVowInfo 
FamilyHome_GetDlgMakeVowBuffInfo = FamilyHome.GetDlgMakeVowBuffInfo
FamilyHome_GetBuffIconByType = FamilyHome.GetBuffIconByType
FamilyHome_GetBuyCoinInfo = FamilyHome.GetBuyCoinInfo
FamilyHome_CanFlyMap = FamilyHome.CanFlyMap
FamilyHome_GetBuffLevByValue = FamilyHome.GetBuffLevByValue
FamilyHome_GetMakeVowLevInfo = FamilyHome.GetMakeVowLevInfo
FamilyHome_IsFamilyBuffMap = FamilyHome.IsFamilyBuffMap
FamilyHome_IsBattleBuffMap = FamilyHome.IsBattleBuffMap
FamilyHome_GetHallUpLevInfo = FamilyHome.GetHallUpLevInfo
FamilyHome_GetMapInfoByNpcId = FamilyHome.GetMapInfoByNpcId
FamilyHome_GetFamilyRankBossRewardInfo = FamilyHome.GetFamilyRankBossRewardInfo
FamilyHome_IsCanEnterCrossFight = FamilyHome.IsCanEnterCrossFight
FamilyHome_GetCrossFightBattleLev = FamilyHome.GetCrossFightBattleLev
FamilyHome_IsOpenFamilyEsortCart = FamilyHome.IsOpenFamilyEsortCart
FamilyHome_GetEscortCartInfo = FamilyHome.GetEscortCartInfo
FamilyHome_Unload = FamilyHome.Unload
return FamilyHome
