procedure TNormNpc.ActionOfSetRankLevelName(PlayObject: TPlayObject;
QuestActionInfo: pTQuestActionInfo);
var
sRankLevelName:String;
s2,s3:string;
n2,n3:Integer;
begin
sRankLevelName:=QuestActionInfo.sParam1;
if sRankLevelName = '' then begin
ScriptActionError(PlayObject,'',QuestActionInfo,sSC_SKILLLEVEL);
exit;
end;
GetValValue(PlayObject,QuestActionInfo.sParam2,n2,s2);
GetValValue(PlayObject,QuestActionInfo.sParam3,n3,s3);
sRankLevelName:=Format(sRankLevelName,[n2,n3]);
PlayObject.m_sRankLevelName:=sRankLevelName;
PlayObject.RefShowName;
end;
sMsg:=GetLineVariableText(PlayObject,QuestActionInfo.sParam2);//方法1