#include <ansi.h>
inherit NPC;
int ask_lineup();
void create()
{
        set_name("武天风", ({"wu tianfeng", "wu", "tianfeng"}) );
        set("long", "他是黄药师的小弟子，被因为九阴真经事件被黄药师逐出桃花岛。\n");
        set("gender", "男性" );
        set("age", 35);
        set("attitude", "friendly");
        set("apprentice",1);
        set("str",30);
        set("int",30);
        set("con",28);
        set("dex",15);
        set("max_qi", 5000);
        set("max_jing", 5000);
        set("eff_jingli", 5000);
        set("neili", 5400);
        set("max_neili", 5400);
        set("jiali", 80);
        set("combat_exp", 1300000);


        set_skill("force", 130);
        set_skill("bihai-chaosheng", 130);
        set_skill("qimen-baguazhen",140);
        set_skill("dodge", 130);
        set_skill("suibo-zhuliu", 130);
        set_skill("parry", 130);
        set_skill("strike", 130);
        set_skill("luoying-zhang", 130);
        set_skill("leg", 130);
        set_skill("xuanfeng-tui", 130);
        set_skill("sword", 130);
        set_skill("yuxiao-jian", 130);
        set_skill("taoism", 130);
        set_skill("literate", 130);
        set_skill("qimen-bagua", 140);
        set_skill("qimen-baguazhen", 150);

        map_skill("force", "bihai-chaosheng");
        map_skill("dodge", "suibo-zhuliu");
        map_skill("strike", "luoying-zhang");
        map_skill("leg", "xuanfeng-tui");
        map_skill("parry", "yuxiao-jian");
        map_skill("sword", "yuxiao-jian");
        prepare_skill("strike", "luoying-zhang");

        set("inquiry", ([
                "布阵": (: ask_lineup :),
        ]) );

        set("shen_type", 1);
        set("shen", 100);
        create_family("桃花岛", 2, "弟子");
        set("class", "fighter");
        setup();

        carry_object("/d/city/npc/obj/yuxiao.c")->wield();
        carry_object("/d/thd/obj/grn-cloth.c")->wear();
}

int ask_lineup()
{
      object me = this_player();
      if (me->query_temp("xy/job")!=2)
      {
              command("?");
              return 1;
      }
      command("nod");
      command("lineup with " + me->query("id"));
      return 1;
}

