// qqren.c 裘千仞
#include <ansi.h>
inherit NPC;
int ask_qiubai();
string do_change();
inherit F_MASTER;
#include "tz_job1.c"

void create()
{
        set_name("裘千仞", ({ "qiu qianren", "qiu", "qianren", "ren"}));
        set("nickname", NOR"铁掌水上漂"NOR);
        set("long", 
        "他就是威震川湘的铁掌帮的帮主-铁掌水上漂裘千仞。\n"
        "他是一个白须老头，身穿黄葛短衫，右手挥着一把大蒲扇。\n");
        set("gender", "男性");
        set("age", 60);
        set("attitude", "peaceful");
        set("unique", 1);
        set("shen_type", -1);
        set("str", 35);
        set("int", 30);
        set("con", 28);
        set("dex", 35);
        set("vendetta_mark", "lcc");
        set("max_qi",7000);
        set("max_jing", 5000);
        set("max_neili",16000);
        set("eff_jingli", 4000);
        set("jiali", 100);
        set("combat_exp", 2900000);
        set("score", 400000);

        set_skill("force", 170);
        set_skill("guiyuan-tunafa", 170);
        set_skill("dodge", 170);
        set_skill("shuishangpiao", 180);
        set_skill("strike", 180);
        set_skill("tiezhang-zhangfa", 180);
        set_skill("parry", 170);
        set_skill("literate", 170);
        set_skill("blade", 170);
        set_skill("liuye-daofa", 170);
        set_skill("tiezhang-xinfa",170);    

        map_skill("force", "guiyuan-tunafa");
        map_skill("dodge", "shuishangpiao");
        map_skill("strike", "tiezhang-zhangfa");
        map_skill("parry", "tiezhang-zhangfa");
        map_skill("blade", "liuye-daofa");
        prepare_skill("strike", "tiezhang-zhangfa");

        set("chat_chance_combat", 50);
        set("chat_msg_combat", ({
                (: perform_action, "strike.jueji2" :),
                (: perform_action, "strike.jueji1" :),
            //    (: perform_action, "strike.judu" :),
            //    (: perform_action, "strike.heyi" :)
        }));


        create_family("铁掌帮", 14, "帮主");

        set("inquiry", ([
                       "name" : "老夫便是“铁掌水上漂”裘千仞，你问老夫姓名有什么事么？\n",
                       "here" : "这里就是铁掌帮的总坛所在，你如没事，不要四处乱走，免招杀身之祸！！！\n",
                       "上官剑南" : (: ask_qiubai :),
                       "交换" : (: do_change :),
                       "工作" : (: ask_job1 :),
//                       "护帮" : (: ask_job2 :),
                       "工具" : "你去工具房找要吧！", 
                ]));
        setup();
        carry_object(__DIR__"obj/mayi")->wear();
}
