这是当前的文件:
static int do_guiyi(CChar * me, CContainer * ob)
{
CChar * target = NULL;
int extra = me->query_skill("liumai_shenjian", 1);
if(ob && ob->is_character())
target = (CChar *)ob;
if( !target || !me->is_fighting(target) )
return notify_fail("「六脉归一」只能在战斗中使用。");
if(DIFFERSTR(me->querystr("family/master_id"), "ku rong"))
return notify_fail("只有枯荣大师的弟子方可使出六脉归一。");
if ( me->query_weapon())
return notify_fail("「六脉归一」只能空手使用。");
if (DIFFERSTR(me->querystr("family/family_name"), "大理段家"))
return notify_fail("你苦思冥想,就是想不出怎么做。");
if ( me->query("mp") < 1000)//原1100
return notify_fail("你的真气不够!");
if( me->query_skill("liumai_shenjian", 1) < 199 )
return notify_fail("你的六脉神剑火候不够,无法使用「六脉归一」!");
if( me->query_skill("force", 1) < 110 )
return notify_fail("你的内功修为不够,无法使用「六脉归一」!");
if (me->query_skill("finger", 1)
&& !EQUALSTR(me->query_skill_prepared("finger"), "liumai_shenjian"))
return notify_fail("「六脉归一」只能组合到基本指法上才能使用。");
if (!me->query_ok("liumai_shenjian"))
return notify_fail("「六脉归一」只能组合作为第一攻击技能,方可使用。");
if(DIFFERSTR(me->querystr("family/family_name"), "大理段家") && me->querymap_temp("biwu"))
return notify_fail("师傅交代过,在此次比武中不能使用非本门武功。");
if(!me->query_temp("apply/六脉归一"))
return notify_fail("你心思涣乱,隔空遥指了几下,结果却没有任何反映。");
me->add("mp", -1000);//原1100
me->add_temp("apply/attack", +extra*2/3);
me->add_temp("apply/damage", +extra/3);
message_vision("$CYN$N心思涣乱,朝$n隔空遥指了几下,不料却使出了六脉剑法的精髓$HIY[六脉归一]$CYN!$COM\n", me, target);
message_vision("\n$HIR-------------------------------少商剑!$COM", me, target);
me->set_temp("pfm_lmsj", 1);
g_Combatd.Do_Attack(me, target, CCombatd::TYPE_QUICK);
message_vision("\n$HIG-------------------------------商阳剑!$COM", me, target);
me->set_temp("pfm_lmsj", 2);
g_Combatd.Do_Attack(me, target, CCombatd::TYPE_QUICK);
message_vision("\n$HIM-------------------------------中冲剑!$COM", me, target);
me->set_temp("pfm_lmsj", 3);
g_Combatd.Do_Attack(me, target, CCombatd::TYPE_QUICK);
message_vision("\n$HIY-------------------------------关冲剑!$COM", me, target);
me->set_temp("pfm_lmsj", 4);
g_Combatd.Do_Attack(me, target, CCombatd::TYPE_QUICK);
message_vision("\n$HIW-------------------------------少泽剑!$COM", me, target);
me->set_temp("pfm_lmsj", 5);
g_Combatd.Do_Attack(me, target, CCombatd::TYPE_QUICK);
message_vision("\n$HIB-------------------------------少冲剑!$COM", me, target);
me->set_temp("pfm_lmsj", 6);
g_Combatd.Do_Attack(me, target, CCombatd::TYPE_QUICK);
me->delete_temp("pfm_lmsj");
me->add_temp("apply/attack", -extra*2/3);
me->add_temp("apply/damage", -extra/3);
me->start_busy(random(3));
return 1;
}