Lua Item 个数 怎么着?
Lua Item 个数 怎么着?
if(Char.GetItemId(_TalkIndex,%돛으_1%) == Char.FindItemId(_TalkIndex,20856))then
check = check + 1;
end
if(Char.GetItemId(_TalkIndex,%돛으_2%) == Char.FindItemId(_TalkIndex,20856))then
check = check + 1;
end
if(Char.GetItemId(_TalkIndex,%돛으_3%) == Char.FindItemId(_TalkIndex,20856))then
check = check + 1;
end
if(Char.GetItemId(_TalkIndex,%돛으_4%) == Char.FindItemId(_TalkIndex,20856))then
check = check + 1;
end
if(Char.GetItemId(_TalkIndex,%돛으_5%) == Char.FindItemId(_TalkIndex,20856))then
check = check + 1;
end
if(Char.GetItemId(_TalkIndex,%돛으_6%) == Char.FindItemId(_TalkIndex,20856))then
check = check + 1;
end
if(Char.GetItemId(_TalkIndex,%돛으_7%) == Char.FindItemId(_TalkIndex,20856))then
check = check + 1;
end
if(Char.GetItemId(_TalkIndex,%돛으_8%) == Char.FindItemId(_TalkIndex,20856))then
check = check + 1;
end
if(Char.GetItemId(_TalkIndex,%돛으_9%) == Char.FindItemId(_TalkIndex,20856))then
check = check + 1;
end
if(Char.GetItemId(_TalkIndex,%돛으_10%) == Char.FindItemId(_TalkIndex,20856))then
check = check + 1;
end
if(Char.GetItemId(_TalkIndex,%돛으_11%) == Char.FindItemId(_TalkIndex,20856))then
check = check + 1;
end
if(Char.GetItemId(_TalkIndex,%돛으_12%) == Char.FindItemId(_TalkIndex,20856))then
check = check + 1;
end
if(Char.GetItemId(_TalkIndex,%돛으_13%) == Char.FindItemId(_TalkIndex,20856))then
check = check + 1;
end
if(Char.GetItemId(_TalkIndex,%돛으_14%) == Char.FindItemId(_TalkIndex,20856))then
check = check + 1;
end
if(Char.GetItemId(_TalkIndex,%돛으_15%) == Char.FindItemId(_TalkIndex,20856) )then
check = check + 1;
end