欢迎来到九三版本库(www.93bbk.com)上千版本等您选购!版本:共 694 个
传奇手游版本库-传奇手游SF版本-九三版本库
解决战神引擎合击版本M2内存冲突错误脚本

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

立即购买
  • 引擎类型脚本素材
  • 生肖展示亥猪
  • 发布日期2022/5/1 16:13:49
  • 人气18
  • 版本价格10 积分
该方法是为了解决合击版本使用盘古的脚本触发时,英雄普攻和技能会造成m2内存地址冲突的BUG,但是加上去就算无效也不会有影响。procedure MagicAttack(VictimName:string;IsPlayer:Boolean;SkillID:Integer);beginif This_Player.GetActivePoint > 0 thenbegin//魔法触发的所有代码复制至该处end;end;procedure Attack(VictimName:string;Is

该方法是为了解决合击版本使用盘古的脚本触发时,英雄普攻和技能会造成m2内存地址冲突的BUG,但是加上去就算无效也不会有影响。

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

脚本如下:

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;


立即购买