Postado Janeiro 3, 2012 13 anos Bom quero colocar o dano das runas magias etc, do tibia 7.6 em meu servidor 8.6. E queria saber se eu só substituir os script ira funcionar porque pareçe que a formula é quase a mesma :x (eu axo num intendo nada de script) Exemplo: Sudden Death 8.6 local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_TARGETCASTERORTOPMOST, true) setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_DEATHDAMAGE) setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MORTAREA) setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_SUDDENDEATH) setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -1, -32, -1, -48, 5, 5, 4.29, 7.39) function onCastSpell(cid, var) return doCombat(cid, combat, var) end Sudden Death 7.6 -- doTargetMagic -- attackType: Type of attack -- cid: creature id. -- Targetpos: Target position. -- animationEffect: Projectile animation. -- damageEffect: Effect to show when spell hits a player. -- animationColor: Color of the text that is shown above the player when hit. -- offensive: Indicates if the spell is a healing/attack spell. -- drawblood: Determines if the spell causes blood splash. -- minDmg: Minimal damage. -- maxDmg: Maximum damage. -- returns true if the spell was casted. attackType = ATTACK_PHYSICAL animationEffect = NM_ANI_SUDDENDEATH hitEffect = NM_ME_MORT_AREA damageEffect = NM_ME_DRAW_BLOOD animationColor = RED offensive = true drawblood = true SuddenDeathObject = MagicDamageObject(attackType, animationEffect, hitEffect, damageEffect, animationColor, offensive, drawblood, 0, 0) function onCast(cid, creaturePos, level, maglv, var) centerpos = {x=creaturePos.x, y=creaturePos.y, z=creaturePos.z} SuddenDeathObject.minDmg = (level * 2 + maglv *3) * 1.2 - 30 SuddenDeathObject.maxDmg = (level * 2 + maglv *3) * 1.6 return doTargetMagic(cid, centerpos, SuddenDeathObject:ordered()) end Ira funcionar os scripts ? se não for alguem me explica a formula dos danos pramin coloca no 8.6 "Assinatura removida, aqui não é lugar de vendas e sim de compartilhamento de conteúdo, leia as regras!" Matheus
Postado Janeiro 7, 2012 13 anos Bom, não irá funcionar isto eu tenho certesa. Você vai precisar converter os scripts. Eu poderia até te ajudar mais sou orrivel com formulas =s Bruno Carvalho / Ex-Administrador TibiaKing [email protected] Em 26/12/2016 em 03:47, Spraypaint disse: A força da alienação vem dessa fragilidade dos indivíduos, quando apenas conseguem identificar o que os separa e não o que os une. -miltinho
Participe da conversa
Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.