
魔力私服,最新魔力宝贝私服技术交流% C; [- C% q# e6 R5 Z/ a% }) j- @
Delegate.RegDelBattleOverEvent("SortItem");
—魔力私服,魔力宝贝私服技术,DELPHI编程,魔力寶貝, 魔力宝贝, 크로스게이트,クロスゲート7 p$ T5 s6 r n+ r0 i
function SortItem(battle)
print("战斗"..BattleIndex.."结束啦!");—魔力私服,魔力宝贝私服技术,DELPHI编程,魔力寶貝, 魔力宝贝, 크로스게이트,クロスゲート5 |3 Z" q" A6 I2 t9 B' Y" f
local player = Char.GetData(Player,%对象_名字%);bbs.mocwww.com1 Y% m# z; X' j, V
local ItemIndex = Char.GetItemIndex(player,Slot);; v x9 E4 X, `5 P
for Slot = 8,27 do
if( Item.GetData(ItemIndex, %道具_最大堆叠数%) > 1 ) then
NLG.SortItem(player)
NLG.SystemMessage(player, "[系统]战斗结束啦!物品已自动整理!")
end
end
return 0;bbs.mocwww.com% H' y x2 s4 t4 k5 i
end
( ?% U1 M2 n, ?
| 欢迎光临 妖城在线论坛 (http://bbs.mocwww.com/) | Powered by Discuz! 6.0.0 |