如何操作Check状态检查unit Q2;in网通轻变传奇te**ce uses Classes, SysUtils;procedure Main(Npc: TNormNpc; Player: TPlayObject; Args: TArgs);implementationprocedure Main(Npc: TNormNpc; Player: TPlayObject; Args: TArg飘雪传奇s
如何操作Check状态检查unit Q2;in网通轻变传奇te**ce uses Classes, SysUtils;procedure Main(Npc: TNormNpc; Player: TPlayObject; Args: TArgs);implementationprocedure Main(Npc: TNormNpc; Player: TPlayObject; Args: TArg飘雪传奇s);begin //Pl虎啸祥瑞传奇ayer.Check状态的范围为1-1024,即Player.Check[1]到英雄合击sfPlayer.Check[1024]都是被允许的 //小于1或大于1024返回为False,并且无法写入值 if Player.Check[100] then //判断Check[1网通中变传奇私服00]是否为真 begin Player.SendMessage(Check[100]的值为True); Player.Check[100] := False; //将Check[100]的值设置为False end else begin Player.SendMessage(Check[100]的值为False); Player.Check[100] := True; //将Check[100]的值设置为True end;end;end.
TAGS:原理图英文