⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 unit10.pas.svn-base

📁 这是一段游戏修改工具的源代码.ring3功能由dephi开发,驱动是C开发.希望对大家有帮助
💻 SVN-BASE
字号:
unit Unit10;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, Unit8, StdCtrls;

type
  TForm10 = class(TForm8)
    procedure Button2Click(Sender: TObject);
    procedure Button1Click(Sender: TObject);
    procedure FormCreate(Sender: TObject);
  private
    { Private declarations }
    health: integer;
  public
    { Public declarations }
  end;

var
  Form10: TForm10;

implementation

uses Unit4;

{$R *.dfm}

procedure TForm10.Button2Click(Sender: TObject);
begin
  hide;
  form4:=tform4.create(self);
  form4.show;
end;

procedure TForm10.Button1Click(Sender: TObject);
var oldhealth: dword;
    h,m,s,ms: word;
begin
  if health>500 then health:=500;

  oldhealth:=health;
  dec(health);
  label1.Caption:=inttostr(health);
  decodetime(time,h,m,s,ms);

  if (s>=30) and (health=1000) then button2.Enabled:=true;
  if (s<30) and (health=2000) then button2.Enabled:=true;

  if health<0 then
  begin
    showmessage('You died! Loser! But don''t worry, i''ll bring you back to life.');
    health:=100;
    label1.Caption:=inttostr(health);
  end;
end;

procedure TForm10.FormCreate(Sender: TObject);
begin
  memo1.Lines.Insert(0,'Step 9: Injection++: (PW='+inttostr(313)+inttostr(37157)+')');
  memo1.SelStart:=0;
  health:=100;
end;

end.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -