예제 #1
0
int auto_perform()
{
        object target = select_opponent();

        if( !objectp(target) )  return 0;

        return perform_action("finger.fuxue");
}
예제 #2
0
nb_smart_fight()
{
	object target=select_opponent();
	if (is_busy())
		return;
	ccommand("perform zonghengtianxia");
	return;
}
예제 #3
0
int auto_perform()
{
        object me = this_object();
        object weapon, target;

        if( !objectp(target = select_opponent()) ) return 0;

        if( !objectp(weapon = me->query_temp("weapon")) ) {
                weapon = new("/d/shaolin/obj/qimeigun");
                weapon->move(me);
                message_vision("$N突然转身从身后拿出一齐眉棍。\n", me);
                command("wield qimei gun");
        }
예제 #4
0
파일: xiaowu.c 프로젝트: huangleon/fy2005
void smart_fight()
{
	object me,target;
	me = this_object();
	target = select_opponent();

	if (ccommand("perform force.check_gspm"))
	{
		ccommand("perform force.guishenpomie");
		stop_busy();
		return;
	}
	ccommand("perform hanmeiluo");
}