Jump to content
  • 0

Editing maestry weapon skills


cder

Question


  • Group:  Members
  • Topic Count:  36
  • Topics Per Day:  0.02
  • Content Count:  96
  • Reputation:   0
  • Joined:  08/06/18
  • Last Seen:  

English:
 

Spoiler

I have a very serious problem with my server, and I'm not quite experienced in editing at source yet. The problem would be that since my server is a ragnamod, each weapon on my server gives the player a specific skill, Example: Dagger delivers the skill "Shredder blades / CROSS IMPACT", however I wanted to put some time to use one of these skills, if the player uses the Dagger skill he will not be able to use the spear and other weapons ability for "8 seconds", Unlike "Cool Down "of the" SkillDB "settings, this would be a source configuration ... another way to do this would be in src / map / battle.cpp, which when using the skill would earn an" Integers +1 ", and put an" if "on the damage of the skill, if (PenaltyMaestry == 0) {normal damage of the skill and put PenaltyMaestry +1 for 8 seconds and return to 0 after ...} else if (PenaltyMaestry == 1) {damage of the skill would be 0 %}, Thank you for your good intention and attention ...

 

Português:

Spoiler

Estou com um problema bastante sério em meu servidor, e não sou bastante experiente em edição na source ainda, O poblema seria que como meu servidor é um ragnamod, cada arma no meu servidor entrega ao jogador uma habilidade especifica, Exemplo: Adaga entrega a habilidade "Laminas retalhadoras/CROSS IMPACT", Porem eu queria colocar um tempo ao usar uma dessas habilidades, se o jogador usar a habilidade da Adaga não poderá usar a habilidade da lança e das outras armas durante "8 segundos", Diferente do "Cool Down" das configurações "SkillDB", essa seria uma configuração na source... outro modo de se fazer isso seria em src/map/battle.cpp, que ao usar a habilidade ganhasse uma "Integers +1", e colocasse um "if" no dano da habilidade, if (PenalidadeMaestry == 0) { dano normal da habilidade e colocasse PenalidadeMaestry +1 durante 8 segundos e voltaria pra 0 depois...} else if(PenalidadeMaestry == 1){ dano da habilidade ficaria em 0%}, Obrigado por sua boa intenção e atenção...

 

Edited by cder
Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.01
  • Content Count:  416
  • Reputation:   73
  • Joined:  05/16/19
  • Last Seen:  

hmm could do something fancy but

if status == penaltylevel2

apply status penaltylevel3

if status == penltylevel1

apply penalty level 2

 

it would count up, but if your looking to use a counter like rolling cutter or storm gust, then i dunno

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...