|
if ( who->query("combat_exp",1 ) > 2000000 && job > 2000)
x = job%20;
else
x = job%50;
if ( wizardp(who))
tell_object(who,sprintf("x = %d\n", x ));
if( random(job) > 300
&& x == 0
&& random(who->query_int()) >= 30
&& random(who->query_dex()) >= 30
&& !who->query("jiuyang/wei")
&& ( !random(5) || (job > 2000 && !random(2)) )
)
{
command("whisper "+who->query("id")+" 你快去张教主那里一次,他好象有什么传闻要告诉你。");
who->set("jiuyang/wei", 1);
log_file("quest/jiuyang",sprintf("%8s%-10s明教任务第%s次的时候,从韦一笑处,听到有关九阳神功的传闻。\n",
who->name(1),"("+ capitalize(getuid(who))+")",chinese_number(job)), who);
}
--------------------------------------------------
最新版
if ( who->query("combat_exp",1 ) > 2000000 && job > 2000)
x = job%20;
else
x = job%50;
if ( wizardp(who))
tell_object(who,sprintf("x = %d\n", x ));
if( random(job) > 300
&& x == 0
&& !who->query("jiuyang/wei")
&& ( !random(8) || (job > 2000 && !random(4)) )
)
{
command("whisper "+who->query("id")+" 你快去张教主那里一次,他好象有什么传闻要告诉你。");
who->set("jiuyang/wei", 1);
log_file("quest/jiuyang",sprintf("%8s%-10s明教任务第%s次的时候,从韦一笑处,听到有关九阳神功的传闻。\n",
who->name(1),"("+ capitalize(getuid(who))+")",chinese_number(job)), who);
}
return 1; |
|