Delegate.RegDelBattleOverEvent("SortItem");
魔力私服,最新魔力宝贝私服技术交流( ~& R: Y+ t$ w8 k1 n
function SortItem(battle)bbs.mocwww.com. j& D3 r, I& O# b
print("战斗"..BattleIndex.."结束啦!");bbs.mocwww.com f5 m" M! Z" F: q; ~. {! b9 e
local player = Char.GetData(Player,%对象_名字%);2 [* i/ F+ Y. y+ L! V
local ItemIndex = Char.GetItemIndex(player,Slot);—魔力私服,魔力宝贝私服技术,DELPHI编程,魔力寶貝, 魔力宝贝, 크로스게이트,クロスゲート6 }! Y; ]- e& ]* h* V. V$ A6 x. \
for Slot = 8,27 dobbs.mocwww.com8 Y" `1 C# j1 n; ?% r5 _
if( Item.GetData(ItemIndex, %道具_最大堆叠数%) > 1 ) then
NLG.SortItem(player)
NLG.SystemMessage(player, "[系统]战斗结束啦!物品已自动整理!")
end
end魔力私服,最新魔力宝贝私服技术交流) X1 l( x) @- N9 h! t5 W
return 0;
end
欢迎光临 妖城在线论坛 (http://bbs.mocwww.com/) | Powered by Discuz! 6.0.0 |