建议六脉归一消内回调

买买买 4月前 236

增加到1000耗内是因为穿了大理套以后,伤害有bug,3倍伤害变成了9倍。既然现在这个bug早就已经被修复,六脉归一的耗内是否能回调?

最新回复 (3)
  • 小白 4月前
    引用 2
    支持。150内力的话就完美了
  • admin 4月前
    引用 3

    这是原始文件:

    static int do_guiyi(CChar * me, CContainer * ob)

    {

    CChar * target = NULL;

    int extra = me->query_skill("liumai_shenjian", 1) / 3;

    if(ob && ob->is_character())

    target = (CChar *)ob;

    if( !target || !me->is_fighting(target) )

    return notify_fail("「六脉归一」只能在战斗中使用。");

    if ( me->query_weapon())

    return notify_fail("「六脉归一」只能空手使用。");

    if (DIFFERSTR(me->querystr("family/family_name"), "大理段家"))

    return notify_fail("你苦思冥想,就是想不出怎么做。");

    if ( me->query("mp") < 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(DIFFERSTR(me->querystr("family/family_name"), "大理段家") && me->querymap_temp("biwu"))

    return notify_fail("师傅交代过,在此次比武中不能使用非本门武功。");

    if(!me->query_temp("apply/六脉归一"))

    return notify_fail("你心思涣乱,隔空遥指了几下,结果却没有任何反映。");

    me->add("mp", -1100);

    me->add_temp("apply/attack", +extra);

    me->add_temp("apply/damage", +extra);

    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);

    me->add_temp("apply/damage", -extra);

    me->start_busy(6);

    return 1;

    }

    红字是内耗和忙乱。

  • admin 4月前
    引用 4


    这是当前的文件:

    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;

    }


返回
发新帖