Jump to content
  • 0
Sign in to follow this  
CLps

[Pedido ] Canto de Batalha não tirar buff

Question

Alguém com algum modo de fazer com que o Canto de Batalha , skill do paladino , não perca alguns específicos buffs ( Poção de Status ) ?

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0

emulador/src/map/skill.c

        case PA_GOSPEL:
            if (sce && sce->val4 == BCT_SELF) {
                status_change_end(src, SC_GOSPEL, INVALID_TIMER);
                return 0;
            } else {
                sg = skill->unitsetting(src,skill_id,skill_lv,src->x,src->y,0);
                if (!sg) break;
                if (sce)
                    status_change_end(src, type, INVALID_TIMER); //Was under someone else's Gospel. [Skotlex]
                status->change_clear_buffs(src,3);
                sc_start4(src,src,type,100,skill_lv,0,sg->group_id,BCT_SELF,skill->get_time(skill_id,skill_lv));
                clif->skill_poseffect(src, skill_id, skill_lv, 0, 0, tick); // PA_GOSPEL music packet
            }
            break;

 

Coloque "//" na frente de:

                    status_change_end(src, type, INVALID_TIMER); //Was under someone else's Gospel. [Skotlex]
                status->change_clear_buffs(src,3);

 

Veja se é isso.

Não esqueça de recompilar o emulador.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.