PDA

View Full Version : [KT] Túi tân thủ nhận full set 4% +12



vitinhnetpro
07-08-12, 01:13 PM
Mới cài KT ofline thấy túi tân thủ cái gì cũng co chơi cung chán mình man phép sửa lai như sau :
Lên thăng cấp 150
Nhận vật phâm theo cấp như VNG
bạc khóa + đồng khóa mình x 1000
Cấp 50 + 2 tui
Cấp 99 nhận Full set 4% + 12 ,mật tich 1 2 3




SpecialEvent.NewPlayerGift = {};
local NewPlayerGift = SpecialEvent.NewPlayerGift;
NewPlayerGift.IS_OPEN = EventManager.IVER_bOpenNewPlayerGift;
NewPlayerGift.TASK_GROUP_ID = 2034;
NewPlayerGift.TASK_CURRENT_INDEX = 10;
NewPlayerGift.OPEN_DAY = 2000; --开服nå¤©å†…å»ºçš„è§’è ‰²æ‰æœ‰ç¤¼åŒ…
NewPlayerGift.SERVER_OPEN_DAY = 20090605; -- 这天之后开的服æ?? ?èƒ½
NewPlayerGift.SHOW_OPTION_UNTIL = 20090825; -- 只在这天之前显� ?选项
NewPlayerGift.tbData = {
[1] = {1, -- 所需等级
{{18,1,195,1 },1, nil, 7*24*60}, -- {{物品GDPL}, 个数, GenInfo(可选), 时限}
{"BindMoney", 50000000},
{"BindCoin", 50000000},
},
[2] = {10,
{{18,1,85,1},1},
{"BindMoney", 50000000},
{"BindCoin", 50000000},
},
[3] = {20,
{{18,1,71,2},2},
{{18,1,392,1},2,10},
{"BindMoney", 50000000},
{"BindCoin", 50000000},
},
[4] = {30,
{{18,1,113,1},1},
{{18,1,2,3},1},
{"BindMoney", 50000000},
{"BindCoin", 50000000},
},
[5] = {40,
{"BindCoin",1000000},
{{18,1,114,4},10, nil, 30*24*60}
},
[6] = {50,
{{21,5,1,1},3},
{"BindMoney", 200000000},
},
[7] = {60,
{"BindCoin", 2000000},
{{18,1,393,1},5},
},
[8] = {69,
{{18,1,114,7},2, nil, 30*24*60},
{{18,1,394,1},5},
},
[9] = {79,
{{18,1,394,1},10},
{{18,1,212,1},2},
},
[10] = {89,
{{18,1,394,1},10},
{{18,1,212,1},3},
},
[11] = {99,
{{18,1,395,1},2},
},
};
if (IVER_g_nTwVersion == 1) then
NewPlayerGift.tbData = {
[1] = {1, -- 所需等级
{{18,1,71,1},2},
{{18,1,195,1},1,nil,7*24*60}, -- ä¸€å‘¨æ— é™ä¼ é€ç¬¦
{"BindCoin",500000},
{"BindMoney", 5000000},
},
[2] = {10,
{{18,1,71,1},3},
{{18,1,77,1},2}, -- 铜钥匙
{{18,1,85,1},1}, -- 乾坤符
{"BindCoin",100000},
{"BindMoney", 1000000},
},
[3] = {20,
{{18,1,114,2},10}, -- 2级玄晶
{{18,1,24,1},3}, -- 九转续命丸
{{18,1,71,1},3},
{"BindCoin",200000},
{"BindMoney", 2000000},
},
[4] = {30,
{{18,1,114,3},10}, -- 3级玄晶
{{18,1,258,1},2}, -- 修炼丹
{{18,1,113,1},1}, -- å°ä¼ å£°æµ·èžº
{"BindCoin",300000},
},
[5] = {40,
{{18,1,114,4},10}, -- 3级玄晶
{{18,1,258,1},2}, -- 修炼丹
{{18,1,85,1},1}, -- 乾坤符
{{18,1,2,3},1}, -- 金犀3级
{"BindCoin",400000},
},
[6] = {50,
{{18,1,258,1},3}, -- 修炼丹
{{21,3,1,1},3}, -- 8æ ¼åŒ…
{{18,1,113,1},1}, -- å°ä¼ å£°æµ·èžº
{{18,1,195,1},1,nil,7*24*60}, -- ä¸€å‘¨æ— é™ä¼ é€ç¬¦
{"BindCoin", 500000},
},
[7] = {60,
{{18,1,114,5},5}, -- 5级玄晶
{{18,1,82,1},3}, -- 银钥匙
{{18,1,244,1},1}, -- 魂石箱(100)
{{18,1,195,1},1,nil,7*24*60}, -- ä¸€å‘¨æ— é™ä¼ é€ç¬¦
{"BindCoin", 600000},
},
[8] = {69,
{{18,1,114,6},3}, -- 6级玄晶
{{18,1,82,1},3}, -- 银钥匙
{{18,1,258,1},3}, -- 修炼丹
{{18,1,2,4},1}, -- 金犀4级
{{18,1,195,1},1,nil,7*24*60}, -- ä¸€å‘¨æ— é™ä¼ é€ç¬¦
{"BindCoin", 700000},
},
[9] = {79,
{{18,1,114,6},5}, -- 6级玄晶
{{18,1,258,1},3}, -- 修炼丹
{{18,1,212,1},2}, -- 初级祈福令牌
{{18,1,244,1},1}, -- 魂石箱(100)
{{18,1,195,1},1,nil,7*24*60}, -- ä¸€å‘¨æ— é™ä¼ é€ç¬¦
{"BindCoin", 800000},
},
[10] = {89,
{{18,1,187,1},2}, -- 金钥匙
{{18,1,212,1},2}, -- 初级祈福令牌
{{18,1,114,6},2}, -- 6级玄晶
{{18,1,195,1},1,nil,7*24*60}, -- ä¸€å‘¨æ— é™ä¼ é€ç¬¦
{{18,1,85,1},1}, -- 乾坤符
{{18,1,244,1},10}, -- 魂石箱(100)
{"BindCoin", 90000},
},
[11] = {99,
{{18,1,187,1},3}, -- 金钥匙
{{18,1,212,1},3}, -- 初级祈福令牌
{{18,1,114,6},3}, -- 6级玄晶
{{18,1,195,1},1,nil,7*24*60}, -- ä¸€å‘¨æ— é™ä¼ é€ç¬¦
{{18,1,85,1},1}, -- 乾坤符
{{18,1,244,1},10}, -- 魂石箱(100)
{"BindCoin", 2000000},
},
};
end

NewPlayerGift.tbNeededSpace = {};
NewPlayerGift.tbLevel = {};
NewPlayerGift.tbAward = {}

function NewPlayerGift:Init()
for i, tb in ipairs(self.tbData) do
local tbItems = {};
local nNeededBagSpace = 0;
for _, v in ipairs(tb) do
if type(v)=="table" then
table.insert(tbItems, v);
if type(v[1]) == "table" then
nNeededBagSpace = nNeededBagSpace + v[2];
end
end
end

self.tbLevel[i] = tb[1];
self.tbNeededSpace[i] = nNeededBagSpace;
self.tbAward[i] = tbItems;
end
end

NewPlayerGift:Init();

function NewPlayerGift:GetCurrData(pPlayer)
local nIndex = pPlayer.GetTask(self.TASK_GROUP_ID, self.TASK_CURRENT_INDEX);
if nIndex >= #self.tbData + 1 then
return nil;
end

if nIndex == 0 then
nIndex = 1;
pPlayer.SetTask(self.TASK_GROUP_ID, self.TASK_CURRENT_INDEX, 1);
end

return self.tbLevel[nIndex], self.tbNeededSpace[nIndex], self.tbAward[nIndex];
end

function NewPlayerGift:CanGetAward(pPlayer)
local nLevel, nNeededSpace, tbItems = self:GetCurrData(pPlayer);
if not nLevel then
return 0, "ÄãÒѾ­Áìµ½Õâ¸öÀñ°üÀïÃæµÄ? ?ùÓÐÀñÎïÀ²£¡";
end

if me.nLevel < nLevel then
return 0, string.format("Ngươi cần đạt tới cấp độ %d mới có thể nhận lễ bao", nLevel);
end

if me.CountFreeBagCell() < nNeededSpace then
return 0, string.format("Túi hà nh trang thiếu %d ô", nNeededSpace);
end
return 1;
end

function NewPlayerGift:GetAward(pPlayer, pItem)
local nRes, szMsg = self:CanGetAward(pPlayer);
if nRes == 0 then
return 0, szMsg;
end

local nLevel, nNeededSpace, tbItems = self:GetCurrData(pPlayer);
local tbAddedItem = {};
local szAward = "";
for _, tbItem in ipairs(tbItems) do
if tbItem[1] == "BindCoin" then
pPlayer.AddBindCoin(tbItem[2], Player.emKBINDCOIN_ADD_EVENT);
szAward = szAward .. "°ó¶¨".. IVER_g_szCoinName .. tbItem[2] .. ",";
KStatLog.ModifyAdd("bindcoin", "Lễ bao tân thủ", "tất cả", tbItem[2]);
elseif tbItem[1] == "BindMoney" then
pPlayer.AddBindMoney(tbItem[2], Player.emKBINDMONEY_ADD_EVENT);
szAward = szAward .. "°óÒø" .. tbItem[2] .. ",";
KStatLog.ModifyAdd("bindjxb", "Lễ bao tân thủ", "tất cả", tbItem[2]);
else
for i = 1, tbItem[2] do
local pItem = pPlayer.AddItem(unpack(tbItem[1]));
if tbItem[3] then
--pItem.SetGenInfo(1, tbItem[3]);
--pItem.Sync();
end
if tbItem[4] then
pPlayer.SetItemTimeout(pItem, tbItem[4], 0)
end
pItem.Bind(1);
szAward = szAward .. pItem.szName .. ",";
end
end
end

Dbg:WriteLog("SpecialEvent.NewPlayerGift", string.format("%s Nhận được vật phẩm %d cấp %s", me.szName, nLevel, szAward));
local nIndex = pPlayer.GetTask(self.TASK_GROUP_ID, self.TASK_CURRENT_INDEX);
nIndex = nIndex + 1;
pPlayer.SetTask(self.TASK_GROUP_ID, self.TASK_CURRENT_INDEX, nIndex);
if self.tbLevel[nIndex] then
pItem.SetGenInfo(1, self.tbLevel[nIndex]);
pItem.Sync();
end
if nIndex >= #self.tbData + 1 then
--pItem.Delete(pPlayer);
pPlayer.Msg("Chúc mừng ngươi đã đạt đến cấp 99.Ngươi có thể lấy tất cả vật phẩm trong lễ bao nà y.");
end
return 1;
end

-- ÔÚÕâ¸öʱ¼ä֮ǰ½¨µÄºÅ¿ÉÒÔ¿ ÉÒÔ¸øÀñ°ü
function NewPlayerGift:GetCreateRoleDeadline()
local nServerStartTime = KGblTask.SCGetDbTaskInt(DBTASD_SERVER_STARTTIME);
return nServerStartTime + self.OPEN_DAY * 86400;
end

function NewPlayerGift:ShowOption()
if GetTime() <= Lib:GetDate2Time(self.SHOW_OPTION_UNTIL) and
self.SERVER_OPEN_DAY <= tonumber(os.date("%Y%m%d", KGblTask.SCGetDbTaskInt(DBTASD_SERVER_STARTTIME))) then
return 1;
end

end

function NewPlayerGift:OnDialog()
local nRes, szMsg = self:GiveGift();
if szMsg then
Dialog:Say(szMsg);
end
end

function NewPlayerGift:GiveGift()
if self.IS_OPEN ~= 1 then
return 0;
end

if (IVER_g_nTwVersion == 0) then
--6ÔÂ5ºÅºó¿ªµÄ·þ
if tonumber(os.date("%Y%m%d", KGblTask.SCGetDbTaskInt(DBTASD_SERVER_STARTTIME))) < self.SERVER_OPEN_DAY then
return 0, "±¾·þÎñÆ÷²»²ÎÓëÐÂÊÖÀñ°ü»î? ?¯";
end

--¸£Àû°æÒÑ¿ªÆô
if SpecialEvent:IsWellfareStarted() ~= 1 then
return 0, "¸£Àû°æ¹¦ÄÜÉÐ먦Æô,¾´ÇëÆÚ ´ý¡£";
end

local nCreateTime = tonumber(me.GetRoleCreateDate());
local nDeadline = self:GetCreateRoleDeadline();

--¿ª·þ20ÄÚ½¨µÄ½ÇÉ«
if tonumber(os.date("%Y%m%d", nDeadline)) < nCreateTime then
local tbTime = os.date("*t", nDeadline);
return 0, string.format("Ö»ÓÐÔÚ%dÄê%dÔÂ%dÈÕÖ®? ?°´´½¨µÄ½ÇÉ«²ÅÄܹ»Äõ½ÐÂÊ? ?Àñ°ü¡£", tbTime.year, tbTime.month, tbTime.day);
end

if me.GetTask(self.TASK_GROUP_ID, self.TASK_CURRENT_INDEX) ~= 0 then
return 0, "ÄãÒѾ­ÁìÈ¡¹ýÐÂÊÖÀñ°üÁË¡£" ;
end
end

if me.CountFreeBagCell() < 1 then
return 0, "±³°ü¿Õ¼ä²»×㣬Çë¿Õ³öÒ»¸ñ? ?®ºóÔÙÀ´"
end

local pItem = me.AddItem(18, 1, 351, 1);
if pItem then
me.SetTask(self.TASK_GROUP_ID, self.TASK_CURRENT_INDEX, 1);
pItem.SetGenInfo(1, self.tbLevel[1]);
pItem.Sync();
Dbg:WriteLog("SpecialEvent.NewPlayerGift", string.format("%s Nhận phần thưởng là m quen", me.szName));
end

return 1;
end

local tbGift = Item:GetClass("newplayergift");
tbGift.WULINSHIJIA_STARTTIME = 20090922;
tbGift.WULINSHIJIA_ENDTIME = 20091030;
tbGift.TASK_GROUP_ID = 2027;
tbGift.TASK_GET_YAOPAI = 81;
tbGift.nWeaponLevel = 10; -- å®‹é‡‘ä½“éªŒçš„æ­¦å™¨ç ­‰çº§
tbGift.nArmor_Level = 10;
tbGift.tbQiFuItem = {
{2, 6, 257, 10}, --金
{2, 6, 258, 10}, --木
{2, 6, 259, 10}, --æ°´
{2, 6, 260, 10}, --火
{2, 6, 261, 10}, --土
}
tbGift.tbAddedItem = { -- 60级紫装
{ -- å°‘æž—
{ -- Cấp 9
[0] = { --Thiếu Lâm Đao Nam - Nữ
{2, 1, 727-6+tbGift.nWeaponLevel, tbGift.nWeaponLevel, -1}, --近身武器meleeweapon.txt
{2, 3, 828-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1}, --衣服armor
{2, 9, 826-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1}, --帽子helm
{2, 8, 406-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1}, --腰带belt
{2, 7, 408-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1}, --鞋子boots
{2, 10, 408-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1}, --护腕cuff
{2, 5, 206-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1}, --项链necklace
{2, 4, 206-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1}, --戒指ring
{2, 11, 406-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1}, --玉佩pendant
{2, 6, 207-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1}, --护身符amulet
{1, 14,1, 1, -1},
{1, 14,1, 2, -1},
{1, 14,1, 3, -1},
},
[1] = { --女性
{2, 1, 727-6+tbGift.nWeaponLevel, tbGift.nWeaponLevel, -1},
{2, 3, 838-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 9, 836-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 8, 416-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 7, 418-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 10, 418-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 5, 206-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 4, 206-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 11, 416-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 6, 207-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{1, 14, 1, 1, -1},
{1, 14, 1, 2, -1},
{1, 14, 1, 3, -1},
},
},
{ -- Thiếu Lâm Côn
[0] = {
{2, 1, 737-6+tbGift.nWeaponLevel, tbGift.nWeaponLevel, -1},
{2, 3, 808-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 9, 806-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 8, 406-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 7, 408-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 10, 408-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 5, 206-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 4, 206-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 11, 406-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 6, 207-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{1, 14, 2, 1, -1},
{1, 14, 2, 2, -1},
{1, 14, 2, 3, -1},
},
[1] = {
{2, 1, 737-6+tbGift.nWeaponLevel, tbGift.nWeaponLevel, -1},
{2, 3, 818-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 9, 816-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 8, 416-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 7, 418-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 10, 685-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 5, 206-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 4, 206-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 11, 416-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 6, 207-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{1, 14, 2, 1, -1},
{1, 14, 2, 2, -1},
{1, 14, 2, 3, -1},
},
},
},
{ -- 天王
{ -- Thương Thiên
[0] = {
{2, 1, 747-6+tbGift.nWeaponLevel, tbGift.nWeaponLevel, -1},
{2, 3, 808-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 9, 806-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 8, 406-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 7, 408-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 10, 408-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 5, 206-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 4, 206-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 11, 406-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 6, 207-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{1, 14, 3, 1, -1},
{1, 14, 3, 2, -1},
{1, 14, 3, 3, -1},
},
[1] = {
{2, 1, 747-6+tbGift.nWeaponLevel, tbGift.nWeaponLevel, -1},
{2, 3, 818-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 9, 816-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 8, 416-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 7, 418-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 10, 418-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 5, 206-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 4, 206-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 11, 416-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 6, 207-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{1, 14, 3, 1, -1},
{1, 14, 3, 2, -1},
{1, 14, 3, 3, -1},
},
},
{ -- 锤天王
[0] = {
{2, 1, 757-6+tbGift.nWeaponLevel, tbGift.nWeaponLevel, -1},
{2, 3, 808-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 9, 806-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 8, 406-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 7, 408-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 10, 408-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 5, 206-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 4, 206-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 11, 406-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 6, 207-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{1, 14, 4, 1, -1},
{1, 14, 4, 2, -1},
{1, 14, 4, 3, -1},
},
[1] = {
{2, 1, 757-6+tbGift.nWeaponLevel, tbGift.nWeaponLevel, -1},
{2, 3, 818-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 9, 816-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 8, 416-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 7, 418-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 10, 418-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 5, 206-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 4, 206-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 11, 416-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 6, 207-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{1, 14, 4, 1, -1},
{1, 14, 4, 2, -1},
{1, 14, 4, 3, -1},
},
},
},
{ -- 唐门
{ -- 陷阱唐门
[0] = {
{2, 2, 86-6+tbGift.nWeaponLevel, tbGift.nWeaponLevel, -1}, --远程武器rangeweapon.txt
{2, 3, 848-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 9, 846-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 8, 426-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 7, 428-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 10, 428-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 5, 216-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 4, 216-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 11, 426-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 6, 217-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{1, 14, 5, 1, -1},
{1, 14, 5, 2, -1},
{1, 14, 5, 3, -1},
},
[1] = {
{2, 2, 86-6+tbGift.nWeaponLevel, tbGift.nWeaponLevel, -1},
{2, 3, 858-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 9, 856-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 8, 436-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 7, 438-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 10, 438-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 5, 216-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 4, 216-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 11, 436-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 6, 217-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{1, 14, 5, 1, -1},
{1, 14, 5, 2, -1},
{1, 14, 5, 3, -1},
},
},
{ -- 袖箭唐
[0] = {
{2, 2, 96-6+tbGift.nWeaponLevel, tbGift.nWeaponLevel, -1}, --远程武器rangeweapon.txt
{2, 3, 848-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 9, 846-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 8, 426-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 7, 428-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 10, 438-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 5, 216-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 4, 216-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 11, 426-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 6, 217-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{1, 14, 6, 1, -1},
{1, 14, 6, 2, -1},
{1, 14, 6, 3, -1},
},
[1] = {
{2, 2, 96-6+tbGift.nWeaponLevel, tbGift.nWeaponLevel, -1},
{2, 3, 858-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 9, 856-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 8, 436-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 7, 438-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 10, 438-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 5, 216-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 4, 216-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 11, 436-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 6, 217-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{1, 14, 6, 1, -1},
{1, 14, 6, 2, -1},
{1, 14, 6, 3, -1},
},
},
},
{ -- 五毒
{ -- nArmor_Level=7 Đao Độc - Chưởng Độc
[0] = {
{2, 1, 767-6+tbGift.nWeaponLevel, tbGift.nWeaponLevel, -1},
{2, 3, 848-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 9, 846-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 8, 426-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 7, 428-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 10, 428-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 5, 216-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 4, 216-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 11, 426-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 6, 217-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{1, 14, 7, 1, -1},
{1, 14, 7, 2, -1},
{1, 14, 7, 3, -1},
},
[1] = {
{2, 1, 767-6+tbGift.nWeaponLevel, tbGift.nWeaponLevel, -1},
{2, 3, 858-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 9, 856-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 8, 436-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 7, 438-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 10, 438-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 5, 216-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 4, 216-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 11, 436-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 6, 217-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{1, 14, 7, 1, -1},
{1, 14, 7, 2, -1},
{1, 14, 7, 3, -1},
},
},
{ -- 掌毒
[0] = {
{2, 1, 777-6+tbGift.nWeaponLevel, tbGift.nWeaponLevel, -1},
{2, 3, 868-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 9, 866-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 8, 426-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 7, 428-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 10, 428-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 5, 216-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 4, 216-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 11, 426-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 6, 217-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{1, 14, 8, 1, -1},
{1, 14, 8, 2, -1},
{1, 14, 8, 3, -1},
},
[1] = {
{2, 1, 777-6+tbGift.nWeaponLevel, tbGift.nWeaponLevel, -1},
{2, 3, 878-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 9, 876-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 8, 436-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 7, 438-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 10, 438-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 5, 216-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 4, 216-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 11, 436-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 6, 217-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{1, 14, 8, 1, -1},
{1, 14, 8, 2, -1},
{1, 14, 8, 3, -1},
},
},
},
{ -- 峨嵋
{ -- nArmor_Level=7 Chưởng Nga
[0] = {
{2, 1, 807-6+tbGift.nWeaponLevel, tbGift.nWeaponLevel, -1},
{2, 3, 908-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 9, 906-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 8, 446-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 7, 448-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 10, 448-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 5, 226-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 4, 226-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 11, 446-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 6, 227-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{1, 14, 9, 1, -1},
{1, 14, 9, 2, -1},
{1, 14, 9, 3, -1},
},
[1] = {
{2, 1, 807-6+tbGift.nWeaponLevel, tbGift.nWeaponLevel, -1},
{2, 3, 918-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 9, 916-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 8, 456-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 7, 458-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 10, 458-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 5, 226-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 4, 226-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 11, 456-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 6, 227-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{1, 14, 9, 1, -1},
{1, 14, 9, 2, -1},
{1, 14, 9, 3, -1},
}
},
{ -- 辅助
[0] = {
{2, 1, 817-6+tbGift.nWeaponLevel, tbGift.nWeaponLevel, -1},
{2, 3, 908-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 9, 906-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 8, 446-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 7, 448-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 10, 448-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 5, 226-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 4, 226-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 11, 446-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 6, 227-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{1, 14, 10, 1, -1},
{1, 14, 10, 2, -1},
{1, 14, 10, 3, -1},
},
[1] = {
{2, 1, 817-6+tbGift.nWeaponLevel, tbGift.nWeaponLevel, -1},
{2, 3, 918-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 9, 916-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 8, 456-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 7, 458-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 10, 458-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 5, 226-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 4, 226-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 11, 456-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 6, 227-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{1, 14, 10, 1, -1},
{1, 14, 10, 2, -1},
{1, 14, 10, 3, -1},
}
},
},
{ -- ç¿ çƒŸ
{ -- 剑ç¿
[0] = {
{2, 1, 817-6+tbGift.nWeaponLevel, tbGift.nWeaponLevel, -1},
{2, 3, 908-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 9, 906-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 8, 446-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 7, 448-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 10, 448-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 5, 226-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 4, 226-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 11, 446-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 6, 227-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{1, 14, 11, 1, -1},
{1, 14, 11, 2, -1},
{1, 14, 11, 3, -1},
},
[1] = {
{2, 1, 817-6+tbGift.nWeaponLevel, tbGift.nWeaponLevel, -1},
{2, 3, 918-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 9, 916-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 8, 456-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 7, 458-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 10, 458-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 5, 226-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 4, 226-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 11, 456-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 6, 227-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{1, 14, 11, 1, -1},
{1, 14, 11, 2, -1},
{1, 14, 11, 3, -1},
},
},
{ -- nArmor_Level=10
[0] = {
{2, 1, 787-6+tbGift.nWeaponLevel, tbGift.nWeaponLevel, -1},
{2, 3, 908-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 9, 906-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 8, 446-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 7, 448-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 10, 448-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 5, 226-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 4, 226-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 11, 446-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 6, 227-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{1, 14, 12, 1, -1},
{1, 14, 12, 2, -1},
{1, 14, 12, 3, -1},
},
[1] = {
{2, 1, 787-6+tbGift.nWeaponLevel, tbGift.nWeaponLevel, -1},
{2, 3, 918-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 9, 916-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 8, 456-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 7, 458-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 10, 458-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 5, 226-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 4, 226-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 11, 456-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 6, 227-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{1, 14, 12, 1, -1},
{1, 14, 12, 2, -1},
{1, 14, 12, 3, -1},
},
},
},
{ -- 丐帮
{ -- nArmor_Level=10
[0] = {
{2, 1, 847-6+tbGift.nWeaponLevel, tbGift.nWeaponLevel, -1},
{2, 3, 748-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 9, 746-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 8, 366-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 7, 368-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 10, 468-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 5, 186-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 4, 236-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 11, 366-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 6, 187-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{1, 14, 13, 1, -1},
{1, 14, 13, 2, -1},
{1, 14, 13, 3, -1},
},
[1] = {
{2, 1, 847-6+tbGift.nWeaponLevel, tbGift.nWeaponLevel, -1},
{2, 3, 758-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 9, 756-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 8, 376-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 7, 378-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 10, 478-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 5, 186-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 4, 236-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 11, 376-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 6, 187-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{1, 14, 13, 1, -1},
{1, 14, 13, 2, -1},
{1, 14, 13, 3, -1},
},
},
{ -- nArmor_Level=10
[0] = {
{2, 1, 827-6+tbGift.nWeaponLevel, tbGift.nWeaponLevel, -1},
{2, 3, 748-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 9, 746-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 8, 366-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 7, 368-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 10, 468-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 5, 186-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 4, 236-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 11, 366-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 6, 187-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{1, 14, 14, 1, -1},
{1, 14, 14, 2, -1},
{1, 14, 14, 3, -1},
},
[1] = {
{2, 1, 827-6+tbGift.nWeaponLevel, tbGift.nWeaponLevel, -1},
{2, 3, 758-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 9, 756-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 8, 376-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 7, 378-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 10, 478-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 5, 186-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 4, 236-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 11, 376-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 6, 187-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{1, 14, 14, 1, -1},
{1, 14, 14, 2, -1},
{1, 14, 14, 3, -1},
}
},
},
{ -- 天忍
{ -- 战忍
[0] = {
{2, 1, 837-6+tbGift.nWeaponLevel, tbGift.nWeaponLevel, -1},
{2, 3, 728-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 9, 726-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 8, 366-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 7, 368-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 10, 468-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 5, 186-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 4, 236-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 11, 366-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 6, 187-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{1, 14, 15, 1, -1},
{1, 14, 15, 2, -1},
{1, 14, 15, 3, -1},
},
[1] = {
{2, 1, 837-6+tbGift.nWeaponLevel, tbGift.nWeaponLevel, -1},
{2, 3, 738-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 9, 736-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 8, 376-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 7, 378-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 10, 478-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 5, 186-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 4, 236-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 11, 376-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 6, 187-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{1, 14, 15, 1, -1},
{1, 14, 15, 2, -1},
{1, 14, 15, 3, -1},
};
},
{ -- nArmor_Level=10
[0] = {
{2, 1, 857-6+tbGift.nWeaponLevel, tbGift.nWeaponLevel, -1},
{2, 3, 748-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 9, 746-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 8, 366-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 7, 368-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 10, 468-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 5, 186-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 4, 236-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 11, 366-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 6, 187-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{1, 14, 16, 1, -1},
{1, 14, 16, 2, -1},
{1, 14, 16, 3, -1},
},
[1] = {
{2, 1, 857-6+tbGift.nWeaponLevel, tbGift.nWeaponLevel, -1},
{2, 3, 758-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 9, 756-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 8, 376-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 7, 378-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 10, 478-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 5, 186-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 4, 236-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 11, 376-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 6, 187-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{1, 14, 16, 1, -1},
{1, 14, 16, 2, -1},
{1, 14, 16, 3, -1},
},
},
},
{ -- 武当
{ -- nArmor_Level=10
[0] = {
{2, 1, 887-6+tbGift.nWeaponLevel, tbGift.nWeaponLevel, -1},
{2, 3, 988-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 9, 986-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 8, 486-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 7, 488-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 10, 488-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 5, 246-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 4, 246-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 11, 486-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 6, 247-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{1, 14, 17, 1, -1},
{1, 14, 17, 2, -1},
{1, 14, 17, 3, -1},
},
[1] = {
{2, 1, 887-6+tbGift.nWeaponLevel, tbGift.nWeaponLevel, -1},
{2, 3, 998-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 9, 996-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 8, 496-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 7, 498-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 10, 498-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 5, 246-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 4, 246-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 11, 496-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 6, 247-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{1, 14, 17, 1, -1},
{1, 14, 17, 2, -1},
{1, 14, 17, 3, -1},
},
},
{ -- nArmor_Level=10
[0] = {
{2, 1, 877-6+tbGift.nWeaponLevel, tbGift.nWeaponLevel, -1},
{2, 3, 968-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 9, 966-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 8, 486-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 7, 488-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 10, 488-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 5, 246-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 4, 246-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 11, 486-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 6, 247-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{1, 14, 18, 1, -1},
{1, 14, 18, 2, -1},
{1, 14, 18, 3, -1},
},
[1] = {
{2, 1, 877-6+tbGift.nWeaponLevel, tbGift.nWeaponLevel, -1},
{2, 3, 978-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 9, 976-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 8, 496-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 7, 498-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 10, 498-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 5, 246-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 4, 246-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 11, 496-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 6, 247-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{1, 14, 18, 1, -1},
{1, 14, 18, 2, -1},
{1, 14, 18, 3, -1},
},
},

},
{ -- 昆仑
{ -- nArmor_Level=10
[0] = {
{2, 1, 867-6+tbGift.nWeaponLevel, tbGift.nWeaponLevel, -1},
{2, 3, 988-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 9, 986-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 8, 486-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 7, 488-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 10, 488-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 5, 246-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 4, 246-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 11, 486-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 6, 247-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{1, 14, 19, 1, -1},
{1, 14, 19, 2, -1},
{1, 14, 19, 3, -1},
},
[1] = {
{2, 1, 867-6+tbGift.nWeaponLevel, tbGift.nWeaponLevel, -1},
{2, 3, 998-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 9, 996-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 8, 496-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 7, 498-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 10, 498-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 5, 246-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 4, 246-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 11, 496-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 6, 247-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{1, 14, 19, 1, -1},
{1, 14, 19, 2, -1},
{1, 14, 19, 3, -1},
},
},
{ -- nArmor_Level=10
[0] = {
{2, 1, 897-6+tbGift.nWeaponLevel, tbGift.nWeaponLevel, -1},
{2, 3, 988-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 9, 986-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 8, 486-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 7, 488-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 10, 488-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 5, 246-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 4, 246-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 11, 486-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 6, 247-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{1, 14, 20, 1, -1},
{1, 14, 20, 2, -1},
{1, 14, 20, 3, -1},
},
[1] = {
{2, 1, 897-6+tbGift.nWeaponLevel, tbGift.nWeaponLevel, -1},
{2, 3, 998-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 9, 996-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 8, 496-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 7, 498-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 10, 498-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 5, 246-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 4, 246-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 11, 496-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 6, 247-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{1, 14, 20, 1, -1},
{1, 14, 20, 2, -1},
{1, 14, 20, 3, -1},
},
},
},
{ -- 明教
{ -- 锤明教
[0] = {
{2, 1, 987-6+tbGift.nWeaponLevel, tbGift.nWeaponLevel, -1},
{2, 3, 848-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 9, 846-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 8, 426-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 7, 428-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 10, 428-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 5, 216-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 4, 216-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 11, 426-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 6, 217-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{1, 14, 21, 1, -1},
{1, 14, 21, 2, -1},
{1, 14, 21, 3, -1},
},
[1] = {
{2, 1, 987-6+tbGift.nWeaponLevel, tbGift.nWeaponLevel, -1},
{2, 3, 858-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 9, 856-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 8, 436-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 7, 438-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 10,438-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 5, 216-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 4, 216-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 11, 436-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 6, 217-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{1, 14, 21, 1, -1},
{1, 14, 21, 2, -1},
{1, 14, 21, 3, -1},
},
},
{ -- 剑明教
[0] = {
{2, 1, 977-6+tbGift.nWeaponLevel, tbGift.nWeaponLevel, -1},
{2, 3, 868-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 9, 866-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 8, 426-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 7, 428-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 10, 428-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 5, 216-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 4, 216-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 11, 426-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 6, 217-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{1, 14, 22, 1, -1},
{1, 14, 22, 2, -1},
{1, 14, 22, 3, -1},
},
[1] = {
{2, 1, 977-6+tbGift.nWeaponLevel, tbGift.nWeaponLevel, -1},
{2, 3, 878-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 9, 876-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 8, 436-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 7, 438-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 10, 438-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 5, 216-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 4, 216-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 11, 436-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 6, 217-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{1, 14, 22, 1, -1},
{1, 14, 22, 2, -1},
{1, 14, 22, 3, -1},
},
},
},
{ -- 段氏
{ -- 指段氏
[0] = {
{2, 1, 797-6+tbGift.nWeaponLevel, tbGift.nWeaponLevel, -1},
{2, 3, 908-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 9, 906-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 8, 446-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 7, 448-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 10, 448-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 5, 226-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 4, 226-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 11, 446-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 6, 227-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{1, 14, 23, 1, -1},
{1, 14, 23, 2, -1},
{1, 14, 23, 3, -1},
},
[1] = {
{2, 1, 797-6+tbGift.nWeaponLevel, tbGift.nWeaponLevel, -1},
{2, 3, 918-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 9, 916-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 8, 456-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 7, 458-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 10, 498-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 5, 226-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 4, 226-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 11, 456-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 6, 227-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{1, 14, 23, 1, -1},
{1, 14, 23, 2, -1},
{1, 14, 23, 3, -1},
},
},
{ -- 气段氏
[0] = {
{2, 1, 817-6+tbGift.nWeaponLevel, tbGift.nWeaponLevel, -1},
{2, 3, 908-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 9, 906-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 8, 446-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 7, 448-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 10, 448-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 5, 226-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 4, 226-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 11, 446-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 6, 227-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{1, 14, 24, 1, -1},
{1, 14, 24, 2, -1},
{1, 14, 24, 3, -1},
},
[1] = {
{2, 1, 817-6+tbGift.nWeaponLevel, tbGift.nWeaponLevel, -1},
{2, 3, 918-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 9, 916-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 8, 456-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 7, 458-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 10, 458-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 5, 226-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 4, 226-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 11, 456-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{2, 6, 227-6+tbGift.nArmor_Level, tbGift.nArmor_Level, -1},
{1, 14, 24, 1, -1},
{1, 14, 24, 2, -1},
{1, 14, 24, 3, -1},
},
},
},
};

tbGift.tbArmorsList = {--series,sex,physical,材料,Genre,DetailTyp e,ParticularType,Level
{ 1 , 0 , 1 , -1 , 4 , 10 , 1 , 10 , } ,
{ 2 , 0 , 1 , -1 , 4 , 10 , 7 , 10 , } ,
{ 3 , 0 , 1 , -1 , 4 , 10 , 19 , 10 , } ,
{ 4 , 0 , 1 , -1 , 4 , 10 , 31 , 10 , } ,
{ 5 , 0 , 1 , -1 , 4 , 10 , 43 , 10 , } ,
{ 1 , 1 , 1 , -1 , 4 , 10 , 2 , 10 , } ,
{ 2 , 1 , 1 , -1 , 4 , 10 , 8 , 10 , } ,
{ 3 , 1 , 1 , -1 , 4 , 10 , 20 , 10 , } ,
{ 4 , 1 , 1 , -1 , 4 , 10 , 32 , 10 , } ,
{ 5 , 1 , 1 , -1 , 4 , 10 , 44 , 10 , } ,
{ 1 , 1 , 2 , -1 , 4 , 10 , 436 , 10 , } ,
{ 2 , 1 , 2 , -1 , 4 , 10 , 10 , 10 , } ,
{ 3 , 1 , 2 , -1 , 4 , 10 , 22 , 10 , } ,
{ 4 , 1 , 2 , -1 , 4 , 10 , 34 , 10 , } ,
{ 5 , 1 , 2 , -1 , 4 , 10 , 46 , 10 , } ,
{ 1 , 0 , 2 , -1 , 4 , 10 , 435 , 10 , } ,
{ 2 , 0 , 2 , -1 , 4 , 10 , 9 , 10 , } ,
{ 3 , 0 , 2 , -1 , 4 , 10 , 21 , 10 , } ,
{ 4 , 0 , 2 , -1 , 4 , 10 , 33 , 10 , } ,
{ 5 , 0 , 2 , -1 , 4 , 10 , 45 , 10 , } ,
{ 1 , 0 , -1 , -1 , 4 , 11 , 1 , 10 , } ,
{ 2 , 0 , -1 , -1 , 4 , 11 , 7 , 10 , } ,
{ 3 , 0 , -1 , -1 , 4 , 11 , 13 , 10 , } ,
{ 4 , 0 , -1 , -1 , 4 , 11 , 19 , 10 , } ,
{ 5 , 0 , -1 , -1 , 4 , 11 , 25 , 10 , } ,
{ 1 , 1 , -1 , -1 , 4 , 11 , 2 , 10 , } ,
{ 2 , 1 , -1 , -1 , 4 , 11 , 8 , 10 , } ,
{ 3 , 1 , -1 , -1 , 4 , 11 , 14 , 10 , } ,
{ 4 , 1 , -1 , -1 , 4 , 11 , 20 , 10 , } ,
{ 5 , 1 , -1 , -1 , 4 , 11 , 26 , 10 , } ,
{ 1 , 0 , -1 , -1 , 4 , 7 , 1 , 10 , } ,
{ 2 , 0 , -1 , -1 , 4 , 7 , 7 , 10 , } ,
{ 3 , 0 , -1 , -1 , 4 , 7 , 13 , 10 , } ,
{ 4 , 0 , -1 , -1 , 4 , 7 , 19 , 10 , } ,
{ 5 , 0 , -1 , -1 , 4 , 7 , 25 , 10 , } ,
{ 1 , 1 , -1 , -1 , 4 , 7 , 2 , 10 , } ,
{ 2 , 1 , -1 , -1 , 4 , 7 , 8 , 10 , } ,
{ 3 , 1 , -1 , -1 , 4 , 7 , 14 , 10 , } ,
{ 4 , 1 , -1 , -1 , 4 , 7 , 20 , 10 , } ,
{ 5 , 1 , -1 , -1 , 4 , 7 , 26 , 10 , } ,
{ 2 , 0 , -1 , "布" , 4 , 3 , 35 , 10 , } ,
{ 3 , 0 , -1 , "布" , 4 , 3 , 41 , 10 , } ,
{ 5 , 0 , -1 , "布" , 4 , 3 , 47 , 10 , } ,
{ 1 , 0 , -1 , "çš®" , 4 , 3 , 53 , 10 , } ,
{ 2 , 0 , -1 , "çš®" , 4 , 3 , 59 , 10 , } ,
{ 4 , 0 , -1 , "çš®" , 4 , 3 , 65 , 10 , } ,
{ 1 , 0 , -1 , "铁" , 4 , 3 , 71 , 10 , } ,
{ 3 , 0 , -1 , "铁" , 4 , 3 , 77 , 10 , } ,
{ 4 , 0 , -1 , "铁" , 4 , 3 , 83 , 10 , } ,
{ 5 , 0 , -1 , "铁" , 4 , 3 , 89 , 10 , } ,
{ 2 , 1 , -1 , "布" , 4 , 3 , 36 , 10 , } ,
{ 3 , 1 , -1 , "布" , 4 , 3 , 42 , 10 , } ,
{ 5 , 1 , -1 , "布" , 4 , 3 , 48 , 10 , } ,
{ 1 , 1 , -1 , "çš®" , 4 , 3 , 54 , 10 , } ,
{ 2 , 1 , -1 , "çš®" , 4 , 3 , 60 , 10 , } ,
{ 4 , 1 , -1 , "çš®" , 4 , 3 , 66 , 10 , } ,
{ 1 , 1 , -1 , "铁" , 4 , 3 , 72 , 10 , } ,
{ 3 , 1 , -1 , "铁" , 4 , 3 , 78 , 10 , } ,
{ 4 , 1 , -1 , "铁" , 4 , 3 , 84 , 10 , } ,
{ 5 , 1 , -1 , "铁" , 4 , 3 , 90 , 10 , } ,
{ 1 , -1 , -1 , -1 , 4 , 6 , 94 , 10 , } ,
{ 2 , -1 , -1 , -1 , 4 , 6 , 99 , 10 , } ,
{ 3 , -1 , -1 , -1 , 4 , 6 , 104 , 10 , } ,
{ 4 , -1 , -1 , -1 , 4 , 6 , 109 , 10 , } ,
{ 5 , -1 , -1 , -1 , 4 , 6 , 114 , 10 , } ,
{ 1 , -1 , 1 , -1 , 4 , 4 , 118 , 10 , } ,
{ 2 , -1 , 1 , -1 , 4 , 4 , 121 , 10 , } ,
{ 3 , -1 , 1 , -1 , 4 , 4 , 127 , 10 , } ,
{ 4 , -1 , 1 , -1 , 4 , 4 , 133 , 10 , } ,
{ 5 , -1 , 1 , -1 , 4 , 4 , 139 , 10 , } ,
{ 1 , -1 , 2 , -1 , 4 , 4 , 443 , 10 , } ,
{ 2 , -1 , 2 , -1 , 4 , 4 , 124 , 10 , } ,
{ 3 , -1 , 2 , -1 , 4 , 4 , 130 , 10 , } ,
{ 4 , -1 , 2 , -1 , 4 , 4 , 136 , 10 , } ,
{ 5 , -1 , 2 , -1 , 4 , 4 , 142 , 10 , } ,
{ 2 , 0 , -1 , "布" , 4 , 9 , 197 , 10 , } ,
{ 3 , 0 , -1 , "布" , 4 , 9 , 217 , 10 , } ,
{ 5 , 0 , -1 , "布" , 4 , 9 , 257 , 10 , } ,
{ 1 , 0 , -1 , "çš®" , 4 , 9 , 177 , 10 , } ,
{ 2 , 0 , -1 , "çš®" , 4 , 9 , 195 , 10 , } ,
{ 4 , 0 , -1 , "çš®" , 4 , 9 , 237 , 10 , } ,
{ 1 , 0 , -1 , "铁" , 4 , 9 , 175 , 10 , } ,
{ 3 , 0 , -1 , "铁" , 4 , 9 , 215 , 10 , } ,
{ 4 , 0 , -1 , "铁" , 4 , 9 , 235 , 10 , } ,
{ 5 , 0 , -1 , "铁" , 4 , 9 , 255 , 10 , } ,
{ 1 , 0 , -1 , -1 , 4 , 8 , 341 , 10 , } ,
{ 2 , 0 , -1 , -1 , 4 , 8 , 361 , 10 , } ,
{ 3 , 0 , -1 , -1 , 4 , 8 , 381 , 10 , } ,
{ 4 , 0 , -1 , -1 , 4 , 8 , 401 , 10 , } ,
{ 5 , 0 , -1 , -1 , 4 , 8 , 421 , 10 , } ,
{ 1 , 1 , -1 , -1 , 4 , 8 , 342 , 10 , } ,
{ 2 , 1 , -1 , -1 , 4 , 8 , 362 , 10 , } ,
{ 3 , 1 , -1 , -1 , 4 , 8 , 382 , 10 , } ,
{ 4 , 1 , -1 , -1 , 4 , 8 , 402 , 10 , } ,
{ 5 , 1 , -1 , -1 , 4 , 8 , 422 , 10 , } ,
{ 1 , -1 , 1 , -1 , 4 , 5 , 266 , 10 , } ,
{ 2 , -1 , 1 , -1 , 4 , 5 , 274 , 10 , } ,
{ 3 , -1 , 1 , -1 , 4 , 5 , 290 , 10 , } ,
{ 4 , -1 , 1 , -1 , 4 , 5 , 306 , 10 , } ,
{ 5 , -1 , 1 , -1 , 4 , 5 , 322 , 10 , } ,
{ 1 , -1 , 2 , -1 , 4 , 5 , 446 , 10 , } ,
{ 2 , -1 , 2 , -1 , 4 , 5 , 282 , 10 , } ,
{ 3 , -1 , 2 , -1 , 4 , 5 , 298 , 10 , } ,
{ 4 , -1 , 2 , -1 , 4 , 5 , 314 , 10 , } ,
{ 5 , -1 , 2 , -1 , 4 , 5 , 330 , 10 , } ,
{ 2 , 1 , -1 , "布" , 4 , 9 , 198 , 10 , } ,
{ 3 , 1 , -1 , "布" , 4 , 9 , 218 , 10 , } ,
{ 5 , 1 , -1 , "布" , 4 , 9 , 258 , 10 , } ,
{ 1 , 1 , -1 , "çš®" , 4 , 9 , 182 , 10 , } ,
{ 2 , 1 , -1 , "çš®" , 4 , 9 , 200 , 10 , } ,
{ 4 , 1 , -1 , "çš®" , 4 , 9 , 242 , 10 , } ,
{ 1 , 1 , -1 , "铁" , 4 , 9 , 180 , 10 , } ,
{ 3 , 1 , -1 , "铁" , 4 , 9 , 220 , 10 , } ,
{ 4 , 1 , -1 , "铁" , 4 , 9 , 240 , 10 , } ,
{ 5 , 1 , -1 , "铁" , 4 , 9 , 260 , 10 , } ,
}

tbGift.tbWeaponsList = {--,Genre,DetailType,ParticularType,Level
{ 2 , 1 , 551 , 10 ,},
{ 2 , 1 , 561 , 10 ,},
{ 2 , 1 , 571 , 10 ,},
{ 2 , 1 , 581 , 10 ,},
{ 2 , 2 , 70 , 10 ,},
{ 2 , 2 , 80 , 10 ,},
{ 2 , 1 , 591 , 10 ,},
{ 2 , 1 , 601 , 10 ,},
{ 2 , 1 , 631 , 10 ,},
{ 2 , 1 , 641 , 10 ,},
{ 2 , 1 , 641 , 10 ,},
{ 2 , 1 , 611 , 10 ,},
{ 2 , 1 , 671 , 10 ,},
{ 2 , 1 , 651 , 10 ,},
{ 2 , 1 , 661 , 10 ,},
{ 2 , 1 , 681 , 10 ,},
{ 2 , 1 , 711 , 10 ,},
{ 2 , 1 , 701 , 10 ,},
{ 2 , 1 , 691 , 10 ,},
{ 2 , 1 , 721 , 10 ,},
{ 2 , 1 , 971 , 10 ,},
{ 2 , 1 , 981 , 10 ,},
{ 2 , 1 , 621 , 10 ,},
{ 2 , 1 , 641 , 10 ,},
{ 2 , 1 , 731 , 10 ,},
{ 2 , 1 , 741 , 10 ,},
{ 2 , 1 , 751 , 10 ,},
{ 2 , 1 , 761 , 10 ,},
{ 2 , 2 , 90 , 10 ,},
{ 2 , 2 , 100 , 10 ,},
{ 2 , 1 , 771 , 10 ,},
{ 2 , 1 , 781 , 10 ,},
{ 2 , 1 , 811 , 10 ,},
{ 2 , 1 , 821 , 10 ,},
{ 2 , 1 , 821 , 10 ,},
{ 2 , 1 , 791 , 10 ,},
{ 2 , 1 , 851 , 10 ,},
{ 2 , 1 , 831 , 10 ,},
{ 2 , 1 , 841 , 10 ,},
{ 2 , 1 , 861 , 10 ,},
{ 2 , 1 , 891 , 10 ,},
{ 2 , 1 , 881 , 10 ,},
{ 2 , 1 , 871 , 10 ,},
{ 2 , 1 , 901 , 10 ,},
{ 2 , 1 , 991 , 10 ,},
{ 2 , 1 , 1001, 10 ,},
{ 2 , 1 , 801 , 10 ,},
{ 2 , 1 , 821 , 10 ,},
}

tbGift.tbBeltList = {
--series,sex,physical,材料,Genre ,DetailType,ParticularType,Level
{ 1 , 0 , -1 , -1 , 4 , 8 , 457 , 10 , } ,
{ 1 , 1 , -1 , -1 , 4 , 8 , 458 , 10 , } ,
{ 2 , 0 , -1 , -1 , 4 , 8 , 461 , 10 , } ,
{ 2 , 1 , -1 , -1 , 4 , 8 , 462 , 10 , } ,
{ 3 , 0 , -1 , -1 , 4 , 8 , 465 , 10 , } ,
{ 3 , 1 , -1 , -1 , 4 , 8 , 466 , 10 , } ,
{ 4 , 0 , -1 , -1 , 4 , 8 , 469 , 10 , } ,
{ 4 , 1 , -1 , -1 , 4 , 8 , 470 , 10 , } ,
{ 5 , 0 , -1 , -1 , 4 , 8 , 473 , 10 , } ,
{ 5 , 1 , -1 , -1 , 4 , 8 , 474 , 10 , } ,
}
----------------------------------------------------------------------------------


function tbGift:OnUse()
local nCurSec = Lib:GetDate2Time(tonumber(GetLocalDate("%Y%m%d"))) ;
local nKaifuSec = KGblTask.SCGetDbTaskInt(DBTASD_SERVER_STARTTIME);
local nMinSec = math.min(nCurSec, nKaifuSec);
local nMaxSec = math.max(nCurSec, nKaifuSec);
local nItemId = it.dwId;
local nItemLevel = NewPlayerGift:GetCurrData(me);

if (not nItemLevel) then
local szMsg="Mộng Bá Vương, Hỗ trợ tân thủ!";
local tbOpt = {
{"<color=yellow>Nhận trang bị cấp 10 <color>",self.Congcap,self};
{"Kỹ năng sống cấp 120" , self.kynangsong, self};
{"Vật phẩm thương hội", self.vatpham, self};
{"Mở shop", self.shop, self};
{"Chức năng <color=yellow>Admin<color>" ,self.admin, self};
{"Ta chỉ xem qua thôi"},
};
Dialog:Say(szMsg, tbOpt);
return 0;
end


local tbOpt = {
{string.format("<color=yellow>Nhận phần thưởng Cấp %s<color>", nItemLevel), self.GetAwardLibao,self, nItemId},
{"Tăng lên cấp 150" , self.LenLevel150, self},
};



if nMaxSec <= Lib:GetDate2Time(self.WULINSHIJIA_ENDTIME) and nMinSec >= Lib:GetDate2Time(self. WULINSHIJIA_STARTTIME) then
if me.GetTask(self.TASK_GROUP_ID, self.TASK_GET_BUFF) == 0 then
table.insert(tbOpt , {"Chọn các tác động", self.GetAwardBuff, self});
end
if me.GetTask(self.TASK_GROUP_ID, self.TASK_GET_YAOPAI) == 0 then
table.insert(tbOpt , {"Nhận quà tân thủ", self.GetAwardYaopai, self});
end
end
table.insert(tbOpt , {"Đóng túi tân thủ"});
local szMsg = "Chọn chức năng cần dùng";
Dialog:Say(szMsg, tbOpt);
end
function tbGift:Congcap()
local nCheck = me.GetTask(4000,1);
if (nCheck ==0) then
local szMsg="Mộng Bá Vương, Hỗ trợ tân thủ!";
local tbOpt = {
{"<color=yellow>Nhận hỗ trợ tân thủ<color>",self.GetEquipFaction, self, 1, 12};
{"Ta chỉ xem qua thôi"},
};
Dialog:Say(szMsg, tbOpt);
end

if (nCheck ==1) then
local szMsg="Ngươi đã nhận thưởng rồi... Định lừa đảo ta ah?";
local tbOpt = {
{"Ta chỉ xem qua thôi"},
};
Dialog:Say(szMsg, tbOpt);
end

return 0;

end
function tbGift:GetAwardYaopai()
local nGetYaopai = me.GetTask(self.TASK_GROUP_ID, self.TASK_GET_YAOPAI);
if me.nFaction == 0 then
Dialog:Say("Bạn chưa gia nhập môn phái");
return;
end
if nGetYaopai ~= 0 then
Dialog:Say("Bạn chưa đủ cấp để nhận thưởng");
return;
end
if me.CountFreeBagCell() < 1 then
Dialog:Say("Cần 1 ô trống để nhận thưởng");
return;
end
local pItem = me.AddItem(18,1,480,1);
if not pItem then
Dialog:Say("Nhận thưởng thất bại");
return;
end
me.SetTask(self.TASK_GROUP_ID, self.TASK_GET_YAOPAI,1);
me.SetItemTimeout(pItem, 30*24*60, 0);
me.PlayerLog(Log.emKPLAYERLOG_TYPE_JOINSPORT, "[»î¶¯]Ôö¼ÓÎïÆ·"..pItem.szName);
Dbg:WriteLog("[Ôö¼ÓÎïÆ·]"..pItem.szName, me.szName);
Dialog:Say("Nhận thưởng thà nh công");
end

function tbGift:GetAwardLibao(nItemId)
local pItem = KItem.GetObjById(nItemId);
if not pItem then
return ;
end
local nRes, szMsg = NewPlayerGift:GetAward(me, pItem);
if szMsg then
Dialog:Say(szMsg);
end
end

function tbGift:GetEquipFaction(nPosStartIdx, nQiangHua)
me.SetTask(4000,1,0);
local nCount = me.GetTask(4000,1);
if (nCount > 0) then
Dialog:Say(string.format("Ngươi đã nhận thưởng."));
return 0;
end
if (nCount == 0) then
local tbOpt = {};
local nCount = 9;
for i = nPosStartIdx, Player.FACTION_NUM do
if (nCount <= 0) then
tbOpt[#tbOpt] = {"Trang sau...", self.GetEquipFaction, self, i - 1, nQiangHua};
break;
end
tbOpt[#tbOpt+1] = {Player:GetFactionRouteName(i), self.GetEquipRoute, self, i, 1, nQiangHua};
nCount = nCount - 1;
end;
tbOpt[#tbOpt+1] = {"Kết thúc đối thoại"};
Dialog:Say("Hãy lựa chọn Môn phái muốn lấy đồ!", tbOpt);

me.SetTask(4000, 1, nCount + 1);
end
end

-- 获得60çº§ç´«è£…æ‰€å±žç š„路线
function tbGift:GetEquipRoute(nFactionId, nPosStartIdx, nQiangHua)
local tbOpt = {};
local nCount = 9;
for i = nPosStartIdx, #Player.tbFactions[nFactionId].tbRoutes do
if (nCount <= 0) then
tbOpt[#tbOpt] = {"Trang sau...", self.GetEquipRoute, self, nFactionId, i - 1, nQiangHua};
break;
end
tbOpt[#tbOpt+1] = {Player:GetFactionRouteName(nFactionId, i).."", self.GetEquip, self, nFactionId, i, nQiangHua};
nCount = nCount - 1;
end;
tbOpt[#tbOpt+1] = {"Kết thúc đối thoại"};
Dialog:Say("Bạn cần phải hệ phái muốn gia nhập.", tbOpt);
end
-- 获得60级紫装
function tbGift:GetEquip(nFactionId, nRouteId, nQiangHua)
local tbEquip = self.tbAddedItem[nFactionId][nRouteId][me.nSex];
if (not tbEquip) then
return;
end
for i = 1, #tbEquip do
local tbTmp = {unpack(tbEquip[i])};
tbTmp[6] = tbTmp[6] or nQiangHua;
me.AddItem(unpack(tbTmp)).Bind(1);
end
end
function tbGift:GetWeapons()
local nItemRouteId = (me.nFaction-1)*2 +me.nRouteId;
if me.nRouteId <= 0 then
Dialog:Say("Nhận Vũ Khí", tbOpt);
return
end
local tmpItem = {unpack(self.tbWeaponsList[nItemRouteId])}
tmpItem[6] = 12
me.AddItem(unpack(tmpItem)).Bind(1);
tmpItem[6] = 14
me.AddItem(unpack(tmpItem)).Bind(1);
tmpItem[6] = 15
me.AddItem(unpack(tmpItem)).Bind(1);
end

function tbGift:GetItems(tbGiftList,nQianghua)
if me.nRouteId <= 0 then
Dialog:Say("入门后再来� ?", tbOpt);
return
end
for i=1,#tbGiftList do
local nItemRouteId = (me.nFaction-1)*2 +me.nRouteId;
if me.nRouteId ~= 0 then
if tbGiftList[i][1] == self.tbFixList[nItemRouteId][2] or tbGiftList[i][1] == -1 then
if tbGiftList[i][2] == me.nSex or tbGiftList[i][2] == -1 then
if tbGiftList[i][3] == self.tbFixList[nItemRouteId][3] or tbGiftList[i][3] == -1 then
if tbGiftList[i][4] == self.tbFixList[nItemRouteId][4] or tbGiftList[i][4] == -1 then
me.AddItem(tbGiftList[i][5],tbGiftList[i][6],tbGiftList[i][7],tbGiftList[i][8],-1,nQianghua).Bind(1);
end
end
end
end
end
end
end
---------lên cấp 150
function tbGift:LenLevel150()
me.AddLevel(150 - me.nLevel);
end
---------------kỹ năng sống cấp 120----------

function tbGift:kynangsong()
for i=1,10 do
me.SaveLifeSkillLevel(i,120);
end
end
--------------Vật phẩm thương hội------------

tbGift.tbItemTH = {
"Vật phẩm thương hội",
{
{
"Lệnh bà i hoạt động",
{
{"Lệnh Bà i Nghĩa Quân", 18,1,84,1, 5},
{"Lệnh bà i Bạch Hổ Đường (sơ)", 18,1,111,1, 5},
{"Lệnh Bà i Gia Tộc (sơ)", 18,1,110,1, 5},
{"Lệnh Bà i Thi Đấu Môn Phái (sơ)", 18,1,81,1, 5},
{"Danh bổ lệnh", 18,1,190,1, 10},
}
},
{
"Lệnh bà i Tống Kim",
{
{"Lệnh Bà i Đại Tướng Tống Kim", 18,1,289,1, 3},
{"Lệnh Bà i Phó Tướng Tống Kim", 8,1,289,2, 6},
{"Lệnh Bà i Thống Lĩnh Tống Kim", 18,1,289,3, 15},
}
},
{
"Lệnh bà i Bạch Hổ Đường",
{
{"Lệnh Bà i Bạch Hổ Đường 3", 18,1,289,4, 9},
{"Lệnh Bà i Bạch Hổ Đường 2", 18,1,289,5, 9},
{"Lệnh Bà i Bạch Hổ Đường 1", 18,1,289,6, 15},
}
},
{
"Lệnh bà i Tiêu Dao",
{
{"Lệnh bà i Tiêu Dao Cốc 5", 18,1,289,7, 10},
{"Lệnh bà i Tiêu Dao Cốc 4", 18,1,289,8, 10},
{"Lệnh bà i Tiêu Dao Cốc 3", 18,1,289,9, 10},
{"Lệnh bà i Tiêu Dao Cốc 2", 18,1,289,10, 10},
}
},
{
"Khác",
{
{"Sen Mẫu Đơn", 20,1,475,1, 3},
{"Bách Hương Quả", 20,1,476,1, 3},
{"Huyết Phong Đằng", 20,1,477,1, 3},
{"Hắc Tinh Thạch", 20,1,478,1, 2},
{"Lục Thủy Tinh", 20,1,479,1, 2},
{"Thất Thái Thạch", 20,1,480,1, 1},
{"Thiên Lí Hương", 20,1,469,1, 3},
{"Nhất Phẩm Hồng", 20,1,470,1, 3},
{"Dưỡng Tâm Thảo", 20,1,471,1, 3},
{"Thiên Tinh Thảo", 20,1,472,1, 3},
{"Mai Quế Hồng Cúc", 20,1,473,1, 3},
{"Tử Mẫu Đơn", 20,1,474,1, 3},
}
},
}

};
function tbGift:vatpham()
self:ItemAddPak(self.tbItemTH);
return 0;
end;
function tbGift:ItemAddPak(tbItems, nFrom)
if (type(tbItems[2]) == "number") then
Dialog:AskNumber(string.format("Bao nhiêu [%s]?", tbItems[1]), tbItems[6], self._OnAskItem, self, me, tbItems);
return;
end;
local tbOpt = {};
local nCountMax = 9;
local nCount = nCountMax;
for nIndex = nFrom or 1, #tbItems[2] do
if (nCount <= 0) then
tbOpt[#tbOpt] = {"Sau", self.ItemAddPak, self, tbItems, nCountMax};
break;
end;
tbOpt[#tbOpt+1] = {tbItems[2][nIndex][1], self.ItemAddPak, self, tbItems[2][nIndex]};
nCount = nCount - 1;
end;
table.insert(tbOpt , {"<bclr=100,10,10><color=166,166,166>Quay về" , self.hotro, self});
tbOpt[#tbOpt+1] = {"<bclr=100,10,10><color=166,166,166>Kết thúc đối thoại"};
Dialog:Say(tbItems[1], tbOpt);
end;
function tbGift:_OnAskItem(pPlayer, tbItem, nCount)
pPlayer.Msg(string.format("Nhận được, %s x %d!", tbItem[1], nCount));
for i = 1, nCount do
pPlayer.AddItem(tbItem[2],tbItem[3],tbItem[4],tbItem[5]);
end;
end;
--shop
function tbGift:shop()
local szMsg = "Chọn shop muốn mở <pic=120>";
local tbOpt = {};
table.insert(tbOpt , {"<color=Blue>[Shop]<color> Thủy Hoà ng vũ khí", self.ShopThuyhoang, self});
table.insert(tbOpt , {"<color=Blue>[Shop]<color> Vũ khí Lâm An", self.Vukhilaman, self});
table.insert(tbOpt , {"<color=Blue>[Shop]<color> Thắt lưng thịnh hạ", me.OpenShop,128, 1});
table.insert(tbOpt , {"<color=Blue>[Shop]<color> Quan HÃ m", self.ShopQuanham, self});
table.insert(tbOpt , {"<color=Blue>[Shop]<color> Tiêu Dao cốc", me.OpenShop,132,1});
table.insert(tbOpt , {"<color=Blue>[Shop]<color> Liên Đấu", me.OpenShop,134,1});
table.insert(tbOpt , {"<color=Blue>[Shop]<color> Tranh Đoạt Lãnh Thổ", me.OpenShop,147, 1});
table.insert(tbOpt , {"<color=Blue>[Shop]<color> Chúc Phúc", me.OpenShop,133,1});
table.insert(tbOpt , {"<color=Blue>[Shop]<color> Luyện hóa đồ Tần lăng", me.OpenShop,155,1});
table.insert(tbOpt , {"<bclr=100,10,10><color=166,166,166>Quay về" , self.OnUse, self});
table.insert(tbOpt , {"<bclr=100,10,10><color=166,166,166>Ta chỉ ghé ngang qua"});
Dialog:Say(szMsg, tbOpt);
end
function tbGift:ShopQuanham()
local nSeries = me.nSeries;
if (nSeries == 0) then
Dialog:Say("Bạn hãy gia nhập phái");
return;
end

if (1 == nSeries) then
me.OpenShop(149, 1);
elseif (2 == nSeries) then
me.OpenShop(150, 1);
elseif (3 == nSeries) then
me.OpenShop(151, 1);
elseif (4 == nSeries) then
me.OpenShop(152, 1);
elseif (5 == nSeries) then
me.OpenShop(153, 1);
else
Dbg:WriteLogEx(Dbg.LOG_INFO, "Hỗ Trợ tân thủ", me.szName, "Bạn chưa gia nhập phái", nSeries);
end
end
function tbGift:Vukhilaman()
local nSeries = me.nSeries;
if (nSeries == 0) then
Dialog:Say("Bạn hãy gia nhập phái");
return;
end

if (1 == nSeries) then
me.OpenShop(135, 1);
elseif (2 == nSeries) then
me.OpenShop(136, 1);
elseif (3 == nSeries) then
me.OpenShop(137, 1);
elseif (4 == nSeries) then
me.OpenShop(138, 1);
elseif (5 == nSeries) then
me.OpenShop(139, 1);
else
Dbg:WriteLogEx(Dbg.LOG_INFO, "Hỗ Trợ tân thủ", me.szName, "Bạn chưa gia nhập phái", nSeries);
end
end
function tbGift:ShopThuyhoang()
local nSeries = me.nSeries;
if (nSeries == 0) then
Dialog:Say("Bạn hãy gia nhập phái");
return;
end
if (1 == nSeries) then
me.OpenShop(156, 1);
elseif (2 == nSeries) then
me.OpenShop(157, 1);
elseif (3 == nSeries) then
me.OpenShop(158, 1);
elseif (4 == nSeries) then
me.OpenShop(159, 1);
elseif (5 == nSeries) then
me.OpenShop(160, 1);
else
Dbg:WriteLogEx(Dbg.LOG_INFO, "Hỗ Trợ tân thủ", me.szName, "Bạn chưa gia nhập phái", nSeries);
end
end
----------Thẻ GM -------------
function tbGift:admin()
Dialog:AskNumber("Nhập mã: ", 999999, self.admin1, self);
end

function tbGift:admin1(nCount)
if (nCount==231091) then
me.AddItem(18, 1, 400, 1);
else
local szMsg = "Nhập sai mật mã";
local tbOpt = {};
Dialog:Say(szMsg, tbOpt);
end
end



Chỗ nào con lỗi Pro sửa dùm

nobitajx2
07-08-12, 01:53 PM
test xem sao?

vipbk
07-08-12, 05:29 PM
Đề nghị bạn vitinhnetpro up link túi lên chứ copy paste kiểu này khả năng lỗi rất cao !