antiblock
https://arwen2.global/
  • Chatbox

    You don't have permission to chat.
    Load More
Sign in to follow this  

6 posts in this topic

E aí galera, tudo bem com vocês?

Meu primeiro tutorial aqui na comunidade, espero que ajude.

 

Hoje vou ensinar como colocar a skill Master (M1) com 17 pontos, vamos lá...

 

Vá até a source na pasta game/src/char_skill.cpp e procure:

if (number(1, 21 - MIN(20, GetSkillLevel(pkSk->dwVnum))) == 1)
   SetSkillLevel(pkSk->dwVnum, 20);

Altere para:

//if (number(1, 21 - MIN(20, GetSkillLevel(pkSk->dwVnum))) == 1)
   SetSkillLevel(pkSk->dwVnum, 20);

 

Resultado:

giphy.gif

 

Assim toda a skill com 17 pontos vai virar Master (M1)

Share this post


Link to post
Share on other sites
antiblock
Cyphriun
Não seria mais facil mudar apenas isto ?
if (number(1, 17 - MIN(20, GetSkillLevel(pkSk->dwVnum))) == 1)
   SetSkillLevel(pkSk->dwVnum, 20);

Share this post


Link to post
Share on other sites

Boa noite poderia ser mais esclarecido? eu não o entendi .

Edited by gordam149 (see edit history)

Share this post


Link to post
Share on other sites

Poderia explicar novamente, aguém pode me ajudar?

Share this post


Link to post
Share on other sites
1 hora atrás, gordam149 disse:

Poderia explicar novamente, aguém pode me ajudar?

Na source do game

 

1 - Abrir o ficheiro char_skill.cpp

 

2 - Procurar e eliminar a linha :

if (number(1, 21 - MIN(20, GetSkillLevel(pkSk->dwVnum))) == 1)

 

 

Edited by Witness (see edit history)

Share this post


Link to post
Share on other sites

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
Sign in to follow this