topic replied by Bennyhappy in Resolvidos
sim obrigado, use .lua function onHealthChange(player, attacker, primaryDamage, primaryType, secondaryDamage, secondaryType, origin)if not attacker then return primaryDamage, primaryType, secondaryDam
topic replied by Bennyhappy in Resolvidos
sim obrigado, use .lua function onHealthChange(player, attacker, primaryDamage, primaryType, secondaryDamage, secondaryType, origin)if not attacker then return primaryDamage, primaryType, secondaryDam
topic replied by Bennyhappy in Resolvidos
Eu procuro para aumentar o dano de todos os monstros em geral em sources ou com function onHealthChange(player, attacker, primaryDamage, primaryType, secondaryDamage, secondaryType, origin)
posted a topic in the forum by Bennyhappy in Resolvidos
Olá amigos, como eu posso aumentar o dano de monstros? percentagem uso tfs 1.2 obrigado
topic replied by Bennyhappy in Websites & Layouts
Obrigado por compartir
topic replied by Bennyhappy in Websites & Layouts
any have?
topic replied by Bennyhappy in Scripts
Funcionou perfeitamente. obrigado pequenos detalhes que fazem grandes erros kkk testado em tfs 0.4
topic replied by Bennyhappy in Scripts
Error em consola: attempt to concatenate a nil value você não está devolver qualquer valor na função, não é tão simples quanto você pensa. yo modifique para: function getPlayerProtection(cid, param) f
posted a topic in the forum by Bennyhappy in Scripts
local slots = { ['head'] = CONST_SLOT_HEAD, ['armor'] = CONST_SLOT_ARMOR, ['legs'] = CONST_SLOT_LEGS, ['feet'] = CONST_SLOT_FEET, ['left'] = CONST_SLOT_LEFT, ['right'] = CONST_SLOT_RIGHT } local itemS
topic replied by Bennyhappy in Scripts
Obrigado amigo, que a linha simplesmente meu erro resolvido Você poderia me ajudar a criar uma função com esse código? local slots = { ['head'] = CONST_SLOT_HEAD, ['armor'] = CONST_SLOT_ARMOR, ['legs'
posted a topic in the forum by Bennyhappy in Scripts
HI Este código funciona perfeitamente retornado bons valores. mas .... Só tenho esse erro no console: Este erro acontece quando o personagem não tem nenhum artigo na respectiva ranhura. Aqui, o código
topic replied by Bennyhappy in Linguagens de Programação
por el momento estoy teniendo error em creatureevent.cpp xD agora errror em monster.cpp xD i use tfs 0.4 update para 0.4 pls
topic replied by Bennyhappy in Linguagens de Programação
alreves: function onDropLoot(cid, item) local block = {2221, 1221, 2922} for i=1, #block do if item.itemid == block[i] then return true else return false end end return true end
topic replied by Bennyhappy in Scripts
bump
topic replied by Bennyhappy in Scripts
sim no e posible, agora estoy mudando para reflection: function onStatsChange(cid, attacker, type, combat, value) if isPlayer(cid) and type == STATSCHANGE_HEALTHLOSS then if isPlayer(attacker) or isMo
posted a topic in the forum by Bennyhappy in Scripts
function onStatsChange(cid, attacker, type, combat, value) if isPlayer(cid) and isPlayer(attacker) and type == STATSCHANGE_HEALTHLOSS then value = value - 10 doTargetCombatHealth(attacker, cid, combat
posted a topic in the forum by Bennyhappy in Archived
uma arma para atacar, dependendo do seu skills y level ,por exemplo: magic level * 1.5 + 100 + player level = dano total da arma mesmo por espada exemplo: skill sword * 2.0 + 150 + player level = dano
topic replied by Bennyhappy in Scripts
Obrigado, isso funcionou perfeitamente ;D
topic replied by Bennyhappy in Scripts
e para 5 id's portas diferentes ? lucasromero
posted a topic in the forum by Bennyhappy in Scripts
Olá boa noite, eu preciso de você para me ajudar com esta action, quando você ativar a alavanca, como você pode ver as portas também são removidos function onUse(cid, item, fromPosition, itemEx, toPos
topic replied by Bennyhappy in Websites & Layouts
tem alguns bugs, mas eu amei o gerente de contas eo sistema de loja! Isso vai cuidar do meu site