antiblock
Elveron
  • Chatbox

    You don't have permission to chat.
    Load More
  • 0
Kami

[Bug] Skill

Question

Boas pessoal.

Adicionei as 6º skills de Warrior e Ninja, baseado neste tutorial:

http://cyber-gamers.org/index.php?/topic/5139-tutorialfixed-das-novas-skills-warrior-e-ninja/

Todas funcionam muito bem, menos a de Ninja Arco que não sai dano nenhum.

Como resolvo isso, porfavor?

Share this post


Link to post
Share on other sites

1 answer to this question

  • 0

Desculpa o double-post. Não encontrei uma maneira de editar...

Rancoroso, se me permite uma correção nesta Query da "skill_proto"... Na 6º skill de archer não pode ser "USE_MELEE_DAMAGE" pois senão o archer só terá dano se usar uma espada ou adaga. Com o arco o dano sai fraco ou quase sem dano.

Ao inves de:

Quote

INSERT INTO `skill_proto` VALUES ('51', 0xB1C3BDC5C5BABFB5, '2', '1', '1', '0', 'HP', '-(atk + (1.6* atk + number(200,300) + dex*7 + str*7)*k)', '40+160*k', '', '', '20', '-(atk + (1.6* atk + number(200,300) + dex*7 + str*7)*k)', '', 'ATTACK,USE_MELEE_DAMAGE', '', 'NONE', '', '', '', '', '', '', '40+160*k', '0', '0', 'MELEE', '6', '0.8', '800', '0');

Deve ser:

Quote

INSERT INTO `skill_proto` VALUES ('51', 0xB1C3BDC5C5BABFB5, '2', '1', '1', '0', 'HP', '-(atk + (1.6* atk + number(200,300) + dex*7 + str*7)*k)', '40+160*k', '', '', '20', '-(atk + (1.6* atk + number(200,300) + dex*7 + str*7)*k)', '', 'ATTACK,USE_ARROW_DAMAGE', '', 'NONE', '', '', '', '', '', '', '40+160*k', '0', '0', 'MELEE', '6', '0.8', '800', '0');

Testado aqui... E deu certo. Ao usar o arco a skill fica com o dano corrigido :)

Testado 100% funcional.

Share this post


Link to post
Share on other sites
antiblock
Cyphriun

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now