77M2引擎如何如何调整角色声望值脚本范例
如何调整角色声望值unit Q2;
inte**ce
uses Classes, SysUtils;
procedure Main(Npc: TNormNpc; Player: TPlayObject; Args: TArgs);
implementation
procedure Main(Npc: TNormNpc; Player: TPlayObject; Args: TArgs);
begin
Player.CreditPoint := Player.CreditPoint + 110;//调整声望值
Player.RecalcAbilitys;//刷新属性并更新到客户端
end;
end.
页:
[1]