/* 制作: 黑墨
/* qq :1797962565
打开 Mud2.0\Mir200111\Envir\PsMapQuest\RunQuest.pas 复制一下代码
procedure ChangeEquip();
begin
if This_Player.GetItemNameOnBody(2) = ‘黄金勋章’ then
begin
if This_player.GetV(199,10) <> 1 then
begin
This_Player.SetV(199,10,1);
This_Player.LingXiValue := 1; //开启破复活属性
This_Player.PlayerNotice(‘破复活状态已生效’,0);
This_Player.AddPlayerAbil(62,50000,65530);//开启防麻痹状态
This_Player.PlayerNotice(‘防麻痹状态已生效’,0);
end;
end
else
begin
if This_player.GetV(199,10) = 1 then
begin
This_Player.SetV(199,10,0);
This_Player.LingXiValue := 0; //关闭破复活属性
This_Player.PlayerNotice(‘破复活状态已取消’,0);
This_Player.AddPlayerAbil(62,65535,0);//关闭防麻痹状态
This_Player.PlayerNotice(‘防麻痹状态已取消’,0);
end;
end;
end;