首页 游戏资源分享 手游技术交流 解决战神引擎合击版本M2内存冲突错误脚本
0赞
赞赏
手机版
扫码打开手机版
把文字装进口袋

解决战神引擎合击版本M2内存冲突错误脚本

糖果 2025-9-28 10:09:44
1671069474246129.jpg

procedure MagicAttack(VictimName:string;IsPlayer:Boolean;SkillID:Integer);
begin
if This_Player.GetActivePoint > 0 then
begin
//魔法触发的所有代码复制至该处
end;
end;
procedure Attack(VictimName:string;IsPlayer:Boolean);
begin
if This_Player.GetActivePoint > 0 then
begin
//攻击触发的所有代码复制至该处
end;
end;
procedure OnKill(KillerName ,MapDesc:string);
begin
if This_Player.GetActivePoint > 0 then
begin
//击杀触发的所有代码复制至该处
end;
end;
procedure OnDie();
begin
if This_Player.GetActivePoint > 0 then
begin
//死亡触发的所有代码复制至该处
end;
end;


使用道具 举报

您需要登录后才可以回帖 立即登录
返回顶部