Jump to content

Search the Community

Showing results for tags 'attack speed'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • xTibia - Notícias e Suporte
    • Regras
    • Noticias
    • Soluções
    • Projetos Patrocinados
    • Tutoriais para Iniciantes
    • Imprensa
  • OTServ
    • Notícias e Debates
    • OTServlist
    • Downloads
    • Recursos
    • Suporte
    • Pedidos
    • Show-Off
    • Tutoriais
  • OFF-Topic
    • Barzinho do Éks
    • Design
    • Informática

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Sou

Found 2 results

  1. Hoje venho trazer um conteúdo ao xt gostaria de lembrar que esse código não é autoral meu então vamos la. Em alguns servidores derivados o Skill Fist Fighting influencia no Attack Speed do Player, Então .... Vá no arquivo player.cpp procure por: uint32_t PlayergetAttackSpeed() const Altere por: uint32_t PlayergetAttackSpeed() const{ int32_t SpeedAttack; SpeedAttack = vocation->getAttackSpeed() - (getSkill(SKILL_FIST, SKILL_LEVEL) * 10); if (SpeedAttack < 500) { return 500; } else { return (uint32_t) SpeedAttack; }} Explicação sobre oque á formula faz: Ele irá verifica o Attack Speed padrão no Vocations.xml e irá verifica o Skill Fist do Player e retornará a velocidade, caso a velocidade retorne menor que 500 ele sempre limitará a 500ms para que não haja erros. Créditos Emerson Henrique (100% Por Desenvolver) DarkWore (Por trazer ao Xtibia)
  2. Olá galera do Xtibia, dando uma vasculhada nas libs do meu OT, encontrei essa função: function getPlayerAttackSpeed(cid) return getVocationInfo(getPlayerVocation(cid)).attackSpee d or false end function isPlayerAttackSpeed(cid,atkspd) return getPlayerAttackSpeed(cid) == atkspd and true or false end Só que não sei como utiliza-la, pelo pouco que eu intendo ela deve mudar a velocidade de Attack dos players; Caso aguem souber com fazer um bom uso dela, me ajuda-se. Pois queria que um player só pode-se executar os Hits mais rápidos de acordo com fist Fighting, exemplo se um Druid com fist level = 50, ele deverá bater mais rápido.. é isso ae..
×
×
  • Create New...