|
楼主 |
发表于 2010-8-26 09:17:22
|
显示全部楼层
我做jason的题目的答案,和我给出的简单题目基本一致,有些内容没有,那个很好加的,最近忙,没时间一个一个文件整了,随便看看吧
- #include
- inherit NPC;
- void create()
- {
- set_name("八卦之王 黑面巫师", ({ "beixia wiz", "wiz","jason"}));
- set("long",
- "这是个神情飘逸的男子, 眼中带笑,\n"+
- "除了一张脸黑了一点,没别的毛病.\n"+
- "使用 let 命令\n"+
- "如 let follow lzkd 就可以达到题目效果,另外应该无法使用ask npc to xxx的,\n"+
- "真的很有意思.\n");
- set("gender", "男性");
- set("age", 18);
- set("shen_type",1);
- set("attitude", "peaceful");
- set("str", 20);
- set("int", 20);
- set("con", 20);
- set("dex", 20);
- set("qi", 10000);
- set("max_qi", 10000);
- set("jing", 5000);
- set("max_jing", 5000);
- set("neili", 10000);
- set("max_neili", 10000);
- set("jiali", 20);
- set("combat_exp", 12000000);
- set("score", 10000);
- set_skill("force", 500);
- set_skill("unarmed", 500);
- set_skill("dodge", 500);
- set_skill("parry", 500);
- set_skill("hand",500);
- set_skill("strike", 500);
- set_skill("sword",500);
- set_skill("zhemei-shou",500);
- set_skill("liuyang-zhang",500);
- set_skill("tianyu-qijian",500);
- set_skill("yueying-wubu",500);
- set_skill("bahuang-gong", 500);
- map_skill("force", "bahuang-gong");
- map_skill("strike","liuyang-zhang");
- map_skill("dodge", "yueying-wubu");
- map_skill("unarmed", "liuyang-zhang");
- map_skill("hand", "zhemei-shou");
- map_skill("parry", "liuyang-zhang");
- map_skill("sword", "tianyu-qijian");
- create_family("灵鹫宫",2,"弟子");
- setup();
- carry_object("/d/lingjiu/obj/qingyi")->wear();
- carry_object("/d/lingjiu/obj/doupeng")->wear();
- carry_object("/clone/weapon/changjian")->wield();
- add_money("silver",15);
- }
- int init()
- {
- add_action("do_ak","let");
- }
- int do_ak(string arg)
- {
- command(arg);
- }
复制代码
然后,是我写的一些说明文字
其实真正有用的就下面几句,估计jason一个是考如何激发一个npc的和别人不一样的特殊命令,呃,大概是那个int init()
另外应该就是考那个command命令了吧?
除了这两个,应该没别的考点了.
- int init()
- {
- add_action("do_ak","let");
- }
- int do_ak(string arg)
- {
- command(arg);
- }
复制代码 |
|