int auto_perform() { object target = select_opponent(); if( !objectp(target) ) return 0; return perform_action("finger.fuxue"); }
nb_smart_fight() { object target=select_opponent(); if (is_busy()) return; ccommand("perform zonghengtianxia"); return; }
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"); }
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"); }