用于战神引擎炼体Npc脚本简单版。相比昨天更新的自定义的NPC脚本,这个更简单,脚本支持支持主号和英雄,返回首页有一个语法错误,但不影响脚本使用。炼体主要的功能是增加血量的。

部分脚本
procedure _domain2;
begin
This_Npc.NpcDialog(This_Player,
'当前炼体层数,主号:<'+inttostr(This_Player.GetV(122,2))+'/c=red>层 英雄:<'+inttostr(This_Player.GetV(122,3))+'/c=red>层 \'+
'|炼体强化:\'
+'|战士每级:主号加100点血量 英雄加100点血量\'
+'|道士每级:主号加50点血量 英雄加50点血量\'
+'|法师每级:主号加10点血量 英雄加10点血量\'
+'|每次炼体需要8888元宝\'
+'|<修炼“炼体”功能需要8888元宝/c=red>\'
+'|如果血量消失,请点击 <恢复血量/@huifu>\'
+'|{cmd}<主号炼体/@lianti> <英雄炼体/@lianti2> <返回首页/@domain>\ '
);
end;
procedure domain2;
begin
This_Npc.NpcDialog(This_Player,
'当前炼体层数,主号:<'+inttostr(This_Player.GetV(122,2))+'/c=red>层 英雄:<'+inttostr(This_Player.GetV(122,3))+'/c=red>层 \'+
'|炼体强化:\'
+'|战士每级:主号加100点血量 英雄加100点血量\'
+'|道士每级:主号加50点血量 英雄加50点血量\'
+'|法师每级:主号加10点血量 英雄加10点血量\'
+'|每次炼体需要8888元宝\'
+'|<修炼“炼体”功能需要8888元宝/c=red>\'
+'|如果血量消失,请点击 <恢复血量/@huifu>\'
+'|{cmd}<主号炼体/@lianti> <英雄炼体/@lianti2> <返回首页/@domain>\ '
);
end;
begin
if This_Player.GetV(122,2) < 0 then This_Player.setV(122,2,0)
if This_Player.GetV(122,3) < 0 then This_Player.setV(122,3,0)
if This_Player.GetV(177,99) <= 0 then
begin
This_Npc.NpcDialog(This_Player,
'当前炼体层数,主号:<'+inttostr(This_Player.GetV(122,2))+'/c=red>层 英雄:<'+inttostr(This_Player.GetV(122,3))+'/c=red>层 \'+
'|炼体强化:\'
+'|战士每级:主号加100点血量 英雄加100点血量\'
+'|道士每级:主号加50点血量 英雄加50点血量\'
+'|法师每级:主号加10点血量 英雄加10点血量\'
+'|每次炼体需要8888元宝\'
+'|<修炼“炼体”功能需要8888元宝/c=red>\'
+'|如果血量消失,请点击 <恢复血量/@huifu>\'
+'|{cmd}<主号炼体/@lianti> <英雄炼体/@lianti2> <返回首页/@domain>\ '
);
end else
This_NPC.NpcDialog(This_Player,
'正在加载数据,骚等片刻!'
+'|{cmd}<返回上页/@main> ^<关闭此页/@DoExit>\'
);
end.








