
Tudo que mullino postou
-
Preciso de ajuda para colocar servidor online (faço pagamento no pix)
chama 31 993831735
-
[AJUDA] converter comando de god tfs 0.4 para 1.3
.Qual servidor ou website você utiliza como base? otx5 Qual o motivo deste tópico? queria colocar alguns comando de god da tfs 0.4 para 1.3 Está surgindo algum erro? Se sim coloque-o aqui. Você tem o código disponível? Se tiver publique-o aqui: local cliport = TalkAction("/cliport") local ignore = createConditionObject(CONDITION_GAMEMASTER, -1, false, GAMEMASTER_IGNORE, CONDITIONID_DEFAULT) local teleport = createConditionObject(CONDITION_GAMEMASTER, -1, false, GAMEMASTER_TELEPORT, CONDITIONID_DEFAULT) local light = createConditionObject(CONDITION_LIGHT, -1, false, 0, CONDITIONID_DEFAULT) setConditionParam(light, CONDITION_PARAM_LIGHT_LEVEL, 255) setConditionParam(light, CONDITION_PARAM_LIGHT_COLOR, 215) function onSay(cid, words, param, channel) if(not checkExhausted(cid, 7384, 10)) then return true end local condition, type, subId, name = ignore, CONDITION_GAMEMASTER, GAMEMASTER_IGNORE, "private messages ignoring" if(words:sub(2, 2) == "c") then condition, subId, name = teleport, GAMEMASTER_TELEPORT, "map click teleport" elseif(words:sub(2, 2) == "l") then condition, type, subId, name = light, CONDITION_LIGHT, 0, "full light" end local action = "off" if(not getCreatureCondition(cid, type, subId, CONDITIONID_DEFAULT)) then doAddCondition(cid, condition) action = "on" else doRemoveCondition(cid, type, subId, CONDITIONID_DEFAULT) end doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You have turned " .. action .. " " .. name .. ".") return true end cliport:separator(" ") cliport:register() Você tem alguma imagem que possa auxiliar no problema? Se sim, coloque-a aqui. fiz assim mas nao funciona o comando
- [OTX 12.64] Baiak Styller
-
tanto GOD como Players nao conseguem dar look em nada no server
.Qual servidor ou website você utiliza como base? Qual o motivo deste tópico? nao consigo dar look em nada no otsercer Está surgindo algum erro? Se sim coloque-o aqui.
-
alguem ajuda com erros?
.Qual servidor ou website você utiliza como base? Qual o motivo deste tópico? estou com esses erros na distro Está surgindo algum erro? Se sim coloque-o aqui. Você tem o código disponível? Se tiver publique-o aqui: spells/scripts/monster/root_branchy local combat = Combat() combat:setParameter(COMBAT_PARAM_EFFECT, CONST_ME_ROOTS) combat:setParameter(COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_LEAFSTAR) local condition = Condition(CONDITION_ROOTED) condition:setParameter(CONDITION_PARAM_TICKS, 3000) combat:addCondition(condition) function onCastSpell(creature, var) return combat:execute(creature, var) end Você tem alguma imagem que possa auxiliar no problema? Se sim, coloque-a aqui.
-
Quero investir na criação de um otserv
chama 31993831735
-
(Resolvido)item que da dano adicional a arma equipada
Uma dúvida @FeeTads se eu mudar no item.xml o weaponType value pra wand as sword e axe e club e bow será que iria funcionar ? E continuaria upando as skill certas ? Meio que bugaria o sistema pra reconhecer como wand aí o script daria o dano adicional ?
-
Quest que aumenta ALL Damage do player
Tem sim na minha source. O sistema de damage
-
Quest que aumenta ALL Damage do player
.Qual servidor ou website você utiliza como base? Tfs 0.4 Qual o motivo deste tópico? Gostaria de pedir ajuda ao cria uma Quest que aumenta o Damage geral do player. Tanto em armas como sword ,axé ,club ,bow e wands Você tem o código disponível? Se tiver publique-o aqui: Você DamageSystem = { storage = 14315, damagePercent = 2.5, } } function DamageSystem:getCount(pid) return math.max(0, (tonumber(getCreatureStorage(pid, self.storage)) or 0)) end end function DamageSystem:applyBonuses(pid) local bonus = self:getCurrentBonus(pid) if (bonus and bonus.damagePercent) then setPlayerDamageMultiplier(pid, 1.0 + (bonus.damagePercent / 100.0)) else setPlayerDamageMultiplier(pid, 1.0) end end Alguém consegue me ajudar ?
-
adicionar efeito nesse script
.Qual servidor ou website você utiliza como base? tfs 0.4 Qual o motivo deste tópico? quero adicionar um efeito de ice ou fire ou energy nesse script Você tem o código disponível? Se tiver publique-o aqui: function isWeapon(uid) -- By Killua return getItemWeaponType(uid) ~= 0 end local itemDeDano = 12730 -- ID do item que irá no slot function onStatsChange(cid, attacker, type, combat, value) if not isPlayer(cid) then return false end if (type == STATSCHANGE_HEALTHLOSS or type == STATSCHANGE_MANALOSS) and (combat ~= COMBAT_HEALING and value > 0) then local itemEquipado = getPlayerSlotItem(cid, CONST_SLOT_AMMO).itemid -- pega o ID do ring no slot local armaEquipadaEsquerda = getPlayerSlotItem(cid, CONST_SLOT_LEFT).uid -- pega uid doq ta na mão esquerda local armaEquipadaDireita = getPlayerSlotItem(cid, CONST_SLOT_RIGHT).uid -- pega uid doq ta na mão direita if isWeapon(armaEquipadaEsquerda) or isWeapon(armaEquipadaDireita) then -- se tiver arma na mão direita ou esquerda if itemEquipado and itemEquipado == itemDeDano then -- se tiver ring equipado E o ring for o escolhido local dano = value*0.5 -- 0.5 = 50% a mais de dano, 1 = 100% a mais.... local target = getCreatureTarget(cid) doTargetCombatHealth(cid, target, combat, -dano, -dano, 255) -- função de dar dano end end end return true end se der para colocar para dar dano adicional nas armas (sword, club, axe, e spear) tbm eu agradeço. pq ele so da o dano adicional nas wands/staffs
-
AutoLoot Sources pra Otx2 (modificando o script do naze)
eu refiz o codigo todo pelo seu e deu certoooooo valeuuu manoooooooooo
-
AutoLoot Sources pra Otx2 (modificando o script do naze)
The TFS Version: (1.2.X.SERIES - a minha é essa
-
AutoLoot Sources pra Otx2 (modificando o script do naze)
esse nao pega em tfs ne?
-
Otimizado: AutoLoot in Sources for Otx(2 ou menor)
descupa reviver o topico mas vc conseguio resolver esse problede remover o item aqui tbm nao remove o resto esta tudo ok
-
(Resolvido)Alguem me ajuda com esse erro no potions
local config = { removeOnUse = "no", usableOnTarget = "yes", -- can be used on target? (fe. healing friend) splashable = "no", realAnimation = "no", -- make text effect visible only for players in range 1x1 healthMultiplier = 1.0, manaMultiplier = 1.0 } config.removeOnUse = getBooleanFromString(config.removeOnUse) config.usableOnTarget = getBooleanFromString(config.usableOnTarget) config.splashable = getBooleanFromString(config.splashable) config.realAnimation = getBooleanFromString(config.realAnimation) local POTIONS = { [8704] = {empty = 7636, splash = 2, health = {50, 100}}, -- small health potion [7618] = {empty = 7636, splash = 2, health = {550, 800}}, -- health potion [7588] = {empty = 7634, splash = 2, health = {250, 350}, level = 50, vocations = {3, 4, 7, 8, 11, 12}, vocStr = "knights and paladins"}, -- strong health potion [7591] = {empty = 7635, splash = 2, health = {450, 960}, level = 80, vocations = {4, 8, 12}, vocStr = "knights"}, -- great health potion [8473] = {empty = 7635, splash = 2, health = {1000, 1400}, level = 80, vocations = {4, 8, 12}, vocStr = "knights"}, -- ultimate health potion [7620] = {empty = 7636, splash = 7, mana = {550, 800}}, -- mana potion [7589] = {empty = 7634, splash = 7, mana = {400, 450}, level = 50, vocations = {1, 2, 3, 5, 6, 7, 9, 10}, vocStr = "sorcerers, druids and paladins"}, -- strong mana potion [7590] = {empty = 7635, splash = 7, mana = {1000, 1400}, level = 80, vocations = {1, 2, 5, 6, 9, 10}, vocStr = "sorcerers and druids"}, -- great mana potion [8472] = {empty = 7635, splash = 3, health = {1000, 1250}, mana = {945, 1010}, level = 80, vocations = {3, 7, 11}, vocStr = "paladins"} -- great spirit potion } local exhaust = createConditionObject(CONDITION_EXHAUST) setConditionParam(exhaust, CONDITION_PARAM_TICKS, (getConfigInfo('timeBetweenExActions') - 100)) function onUse(cid, item, fromPosition, itemEx, toPosition) if exhaustion.check(cid, 25006) == false then exhaustion.set(cid, 25006, 1.3) else doPlayerSendCancel(cid, "You are exhausted.") return false end local potion = POTIONS[item.itemid] if(not potion) then return false end if(not isPlayer(itemEx.uid) or (not config.usableOnTarget and cid ~= itemEx.uid)) then if(not config.splashable) then return false end if(toPosition.x == CONTAINER_POSITION) then toPosition = getThingPos(item.uid) end doDecayItem(doCreateItem(2016, potion.splash, toPosition)) doTransformItem(item.uid, potion.empty) return TRUE end if(hasCondition(cid, CONDITION_EXHAUST_HEAL)) then doPlayerSendDefaultCancel(cid, RETURNVALUE_YOUAREEXHAUSTED) return TRUE end if(((potion.level and getPlayerLevel(cid) < potion.level) or (potion.vocations and not isInArray(potion.vocations, getPlayerVocation(cid)))) and not getPlayerCustomFlagValue(cid, PLAYERCUSTOMFLAG_GAMEMASTERPRIVILEGES)) then doCreatureSay(itemEx.uid, "Only " .. potion.vocStr .. (potion.level and (" of level " .. potion.level) or "") .. " or above may drink this fluid.", TALKTYPE_ORANGE_1) return TRUE end local health = potion.health if(health and not doCreatureAddHealth(itemEx.uid, math.ceil(math.random(health[1], health[2]) * config.healthMultiplier))) then return false end local mana = potion.mana if(mana and not doPlayerAddMana(itemEx.uid, math.ceil(math.random(mana[1], mana[2]) * config.manaMultiplier))) then return false end doSendMagicEffect(getCreaturePosition(cid),30) doSendMagicEffect(getCreaturePosition(cid),66) if(not realAnimation) then doCreatureSay(itemEx.uid, "Aaahh...", TALKTYPE_ORANGE_1) else for i, tid in ipairs(getSpectators(getCreaturePosition(cid), 1, 1)) do if(isPlayer(tid)) then doCreatureSay(itemEx.uid, "Aaahh...", TALKTYPE_ORANGE_1, false, tid) end end end doAddCondition(cid, exhaust) if(not potion.empty or config.removeOnUse) then doRemoveItem(item.uid, 1) return TRUE end doRemoveItem(item.uid, 0) doPlayerAddItem(cid, potion.empty, 0) doPlayerRemoveItem(cid, potion.empty, getPlayerItemCount(cid, potion.empty)) doPlayerAddItem(cid, potion.empty, getPlayerItemCount(cid, potion.empty)) return TRUE end
-
(Resolvido)Alguem me ajuda com esse erro no potions
obrigado vou testar funcionou amigo obrigado! mas eu uso uma exaust diferente nas minhas potions para dar para abrir bp e corpos enquanto esta healando ai add essa exaustion aqui if exhaustion.check(cid, 25006) == false then exhaustion.set(cid, 25006, 0.99) else doPlayerSendCancel(cid, "You are exhausted.") return false end depois de function onUse(cid, item, fromPosition, itemEx, toPosition) o problema desse erro que estava tendo era pq tirei a funçao local exhaust = createConditionObject(CONDITION_EXHAUST) setConditionParam(exhaust, CONDITION_PARAM_TICKS, (getConfigInfo('timeBetweenExActions') - 100)) agora que vi olhando o seu obrigado topico resolvido
-
(Resolvido)Alguem me ajuda com esse erro no potions
.Qual servidor ou website você utiliza como base? tfs 0.4 Qual o motivo deste tópico? estou tendo erro na distro Está surgindo algum erro? Se sim coloque-o aqui. Você tem o código disponível? Se tiver publique-o aqui: local config = { removeOnUse = "no", usableOnTarget = "yes", -- can be used on target? (fe. healing friend) splashable = "no", realAnimation = "no", -- make text effect visible only for players in range 1x1 healthMultiplier = 1.0, manaMultiplier = 1.0 } config.removeOnUse = getBooleanFromString(config.removeOnUse) config.usableOnTarget = getBooleanFromString(config.usableOnTarget) config.splashable = getBooleanFromString(config.splashable) config.realAnimation = getBooleanFromString(config.realAnimation) local POTIONS = { [8704] = {empty = 7636, splash = 2, health = {1,1}}, -- small health potion [7618] = {empty = 7636, splash = 2, health = {1,1}}, -- health potion [7588] = {empty = 7634, splash = 2, health = {1,1}, level = 1, vocations = {3, 4, 7, 8, 11, 12}, vocStr = "knights and paladins"}, -- strong health potion [7591] = {empty = 7635, splash = 2, health = {1,1}, level = 1, vocations = {4, 8, 12}, vocStr = "knights"}, -- great health potion [8473] = {empty = 7635, splash = 2, health = {1,3}, level = 1, vocations = {4, 8, 12}, vocStr = "knights"}, -- ultimate health potion [7620] = {empty = 7636, splash = 7, mana = {1,1}}, -- mana potion [7589] = {empty = 7634, splash = 7, mana = {1,2}, level = 1, vocations = {1, 2, 3, 5, 6, 7, 9, 10}, vocStr = "sorcerers, druids and paladins"}, -- strong mana potion [7590] = {empty = 7635, splash = 3, mana = {1,1}, level = 1, vocations = {1, 2, 5, 6, 9, 10}, vocStr = "sorcerers and druids"}, -- great mana potion [8472] = {empty = 7635, splash = 3, health = {2,2}, mana = {2, 2}, level = 1, vocations = {3, 7, 11}, vocStr = "paladins"}, -- great spirit potion } function onUse(cid, item, fromPosition, itemEx, toPosition) if exhaustion.check(cid, 25006) == false then exhaustion.set(cid, 25006, 0.99) else doPlayerSendCancel(cid, "You are exhausted.") return false end local potion = POTIONS[item.itemid] if(not potion) then return false end if(not isPlayer(itemEx.uid) or (not config.usableOnTarget and cid ~= itemEx.uid)) then if(not config.splashable) then return false end if(toPosition.x == CONTAINER_POSITION) then toPosition = getThingPos(item.uid) end doDecayItem(doCreateItem(2016, potion.splash, toPosition)) doTransformItem(item.uid, potion.empty) return true end if(hasCondition(cid, CONDITION_EXHAUST_HEAL)) then doPlayerSendDefaultCancel(cid, RETURNVALUE_YOUAREEXHAUSTED) return true end if(((potion.level and getPlayerLevel(cid) < potion.level) or (potion.vocations and not isInArray(potion.vocations, getPlayerVocation(cid)))) and not getPlayerCustomFlagValue(cid, PLAYERCUSTOMFLAG_GAMEMASTERPRIVILEGES)) then doCreatureSay(itemEx.uid, "Only " .. potion.vocStr .. (potion.level and (" of level " .. potion.level) or "") .. " or above may drink this fluid.", TALKTYPE_ORANGE_1) return true end if potion.health ~= nil then local health = math.random(potion.health[1], potion.health[2]) doSendAnimatedText(getThingPos(itemEx.uid), "+"..health.."%", TEXTCOLOR_GREEN) if not doCreatureAddHealth(itemEx.uid, math.ceil(getCreatureMaxHealth(cid) * (health / 100))) then return false end end if potion.mana ~= nil then local mana = math.random(potion.mana[1], potion.mana[2]) doSendAnimatedText(getThingPos(itemEx.uid), "+"..mana.."%", TEXTCOLOR_BLUE) if not doCreatureAddMana(itemEx.uid, math.ceil(getCreatureMaxMana(cid) * (mana / 100))) then return false end end if(not realAnimation) then doCreatureSay(itemEx.uid, "", TALKTYPE_ORANGE_1) else for i, tid in ipairs(getSpectators(getCreaturePosition(cid), 1, 1)) do if(isPlayer(tid)) then doCreatureSay(itemEx.uid, "", TALKTYPE_ORANGE_1, false, tid) end end end doAddCondition(cid, exhaust) if(not potion.empty or config.removeOnUse) then doRemoveItem(item.uid, 1) return true end doRemoveItem(item.uid, 0) doPlayerAddItem(cid, potion.empty, 0) doPlayerRemoveItem(cid, potion.empty, getPlayerItemCount(cid, potion.empty)) doPlayerAddItem(cid, potion.empty, getPlayerItemCount(cid, potion.empty)) return true end Você tem alguma imagem que possa auxiliar no problema? Se sim, coloque-a aqui.
-
(Resolvido)item que da dano adicional a arma equipada
sim Creaturescript
-
(Resolvido)item que da dano adicional a arma equipada
oxi nao primeira vez nao tinha funcionado kk agora funcionou obrigado teria como colocar pra sair um efeito tbm? tipo ice ou fire ou energy? tentei assim mas nao saiu function isWeapon(uid) -- By Killua return getItemWeaponType(uid) ~= 0 end local itemDeDano = 12730 -- ID do item que irá no slot function onStatsChange(cid, attacker, type, combat, value) if not isPlayer(cid) then return false end if (type == STATSCHANGE_HEALTHLOSS or type == STATSCHANGE_MANALOSS) and (combat ~= COMBAT_HEALING and value > 0) then local itemEquipado = getPlayerSlotItem(cid, CONST_SLOT_AMMO).itemid -- pega o ID do ring no slot local armaEquipadaEsquerda = getPlayerSlotItem(cid, CONST_SLOT_LEFT).uid -- pega uid doq ta na mão esquerda local armaEquipadaDireita = getPlayerSlotItem(cid, CONST_SLOT_RIGHT).uid -- pega uid doq ta na mão direita if isWeapon(armaEquipadaEsquerda) or isWeapon(armaEquipadaDireita) then -- se tiver arma na mão direita ou esquerda if itemEquipado and itemEquipado == itemDeDano then -- se tiver ring equipado E o ring for o escolhido local dano = value*0.5 -- 0.5 = 50% a mais de dano, 1 = 100% a mais.... local target = getCreatureTarget(cid) setCombatParam(combat, COMBAT_PARAM_EFFECT, 37) --- efeito ice mas nao funcionou doTargetCombatHealth(cid, target, combat, -dano, -dano, 255) -- função de dar dano end end end return true end so da o dano adicional em staff e wand... em sword w bow nao da o dano adicional @FeeTads
-
(Resolvido)item que da dano adicional a arma equipada
.Qual servidor ou website você utiliza como base? 0.4 Qual o motivo deste tópico? queria arrumar esse script pra ele dar dano so se tiver arma equipada . esse e um item que coloca na onde tem uma flexa queria que desse o dano so se tiver equipado uma arma . do jeito que esta o player pode tar sem arma que ele da o dano normal. e mesmo se tiver uma parede tampando na tela ele da o dano queria tirar isso tbm para dar o dano so no targent Você tem o código disponível? Se tiver publique-o aqui: local burnBuff = { storageID = 25000, interval = 1, -- intervalo entre turnos damage = 95000, -- dano de cada turno ticks = 5, -- quantidade de turnos effect = CONST_ME_GIANTICE, -- efeito } -- FIRE EFFECT local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_TARGETCASTERORTOPMOST, true) setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_ICEATTACK) setCombatParam(combat, COMBAT_PARAM_EFFECT, 37) setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_) local condition = createConditionObject(CONDITION_FREEZING) setConditionParam(condition, CONDITION_PARAM_DELAYED, 1) addDamageCondition(condition, burnBuff.ticks, burnBuff.interval, -burnBuff.damage) setCombatCondition(combat, condition) function onAttack(cid, target) storageStatus = getPlayerStorageValue (cid, burnBuff.storageID) playerPos = getCreaturePosition (cid) targetPos = getCreaturePosition (target) if storageStatus == 0 then return true end -- Se tiver como trocar essa fucnçao eu agradeço pois ela fica aparecendo o numero 0 na distrito if getDistanceBetween (playerPos, targetPos) > 8 then return true end -- FIM - jogador longe if storageStatus == 1 then -- Efeito Energy Se tiver como trocar essa fucnçao eu agradeço pois ela fica aparecendo o numero 2 na distrito doCombatAreaCondition(cid, targetPos, nil, condition, burnBuff.effect) end return true end
-
Ajuda nesse erro da magia
.Qual servidor ou website você utiliza como base? tfs 0.4 Qual o motivo deste tópico? alguem poderia me ajudar a corrigir esse erro nessa spell?? Está surgindo algum erro? Se sim coloque-o aqui. Você tem o código disponível? Se tiver publique-o aqui: function getPlayerReset(cid) local storage = 14335 resets = getPlayerStorageValue(cid, storage) if resets < 0 then resets = 0 end return resets end -- SpellCreator generated. -- =============== COMBAT VARS =============== -- Areas/Combat for 0ms local combat0_Brush = createCombatObject() setCombatParam(combat0_Brush, COMBAT_PARAM_EFFECT, CONST_ME_ICEATTACK) setCombatParam(combat0_Brush, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatArea(combat0_Brush,createCombatArea({{1, 1, 0, 0, 0, 1, 1}, {1, 1, 1, 1, 1, 1, 1}, {0, 1, 0, 0, 0, 1, 0}, {0, 1, 0, 2, 0, 1, 0}, {0, 1, 0, 0, 0, 1, 0}, {1, 1, 1, 1, 1, 1, 1}, {1, 1, 0, 0, 0, 1, 1}})) function getDmg_Brush(cid, level, maglevel) return (200000)*-1,(210000)*-1 end setCombatCallback(combat0_Brush, CALLBACK_PARAM_LEVELMAGICVALUE, "getDmg_Brush") local dfcombat0_Brush = {CONST_ANI_ICE,2,2,1,2,0,2,-1,2,-2,2,-2,1,-2,0,-2,-1,-2,-2,-1,-2,0,-2,1,-2,2,-2,2,-1,2,0,2,1,-2,3,-3,3,-3,2,2,-3,-3,-2,-3,-3,-2,-3,3,-3,3,-2,3,2,3,3,2,3}local combat0_Brush_2 = createCombatObject() setCombatParam(combat0_Brush_2, COMBAT_PARAM_EFFECT, CONST_ME_BUBBLES) setCombatParam(combat0_Brush_2, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatArea(combat0_Brush_2,createCombatArea({{0, 0, 0, 0, 1, 0, 0, 0, 0}, {0, 0, 0, 1, 1, 1, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 1, 0, 1, 1, 1, 0, 1, 0}, {1, 1, 0, 1, 2, 1, 0, 1, 1}, {0, 1, 0, 1, 1, 1, 0, 1, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 1, 1, 1, 0, 0, 0}, {0, 0, 0, 0, 1, 0, 0, 0, 0}})) function getDmg_Brush_2(cid, level, maglevel) return (200000)*-1,(210000)*-1 end setCombatCallback(combat0_Brush_2, CALLBACK_PARAM_LEVELMAGICVALUE, "getDmg_Brush_2") local dfcombat0_Brush_2 = {CONST_ANI_SMALLICE,0,1,-1,1,-1,0,-1,-1,0,-1,1,-1,1,1,1,3,0,3,-1,3,0,4,3,1,3,0,3,-1,4,0,1,-3,0,-3,-1,-3,0,-4,-3,-1,-3,0,-3,1,-4,0,1,0} -- Areas/Combat for 200ms local combat2_Brush_3 = createCombatObject() setCombatParam(combat2_Brush_3, COMBAT_PARAM_EFFECT, CONST_ME_ICEAREA) setCombatParam(combat2_Brush_3, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatArea(combat2_Brush_3,createCombatArea({{0, 0, 0, 0, 1, 0, 0, 0, 0}, {0, 0, 0, 1, 1, 1, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 1, 0, 1, 1, 1, 0, 1, 0}, {1, 1, 0, 1, 2, 1, 0, 1, 1}, {0, 1, 0, 1, 1, 1, 0, 1, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 1, 1, 1, 0, 0, 0}, {0, 0, 0, 0, 1, 0, 0, 0, 0}})) function getDmg_Brush_3(cid, level, maglevel) return (200000)*-1,(205000)*-1 end setCombatCallback(combat2_Brush_3, CALLBACK_PARAM_LEVELMAGICVALUE, "getDmg_Brush_3") -- =============== CORE FUNCTIONS =============== local function RunPart(c,cid,var,dirList,dirEmitPos) -- Part if (isCreature(cid)) then doCombat(cid, c, var) if (dirList ~= nil) then -- Emit distance effects local i = 2; while (i < #dirList) do doSendDistanceShoot(dirEmitPos,{x=dirEmitPos.x-dirList[i],y=dirEmitPos.y-dirList[i+1],z=dirEmitPos.z},dirList[1]) i = i + 2 end end end end function onCastSpell(cid, var) local resets = 5 if getPlayerReset(cid) >= resets then local startPos = getCreaturePosition(cid) local startPos = getCreaturePosition(cid) RunPart(combat0_Brush,cid,var,dfcombat0_Brush,startPos) RunPart(combat0_Brush_2,cid,var,dfcombat0_Brush_2,startPos) addEvent(RunPart,700,combat7_Brush_3,cid,var) return true else doPlayerSendCancel(cid, "You need to have at least " .. resets .. " resets to cast this spell.") return false end end Você tem alguma imagem que possa auxiliar no problema? Se sim, coloque-a aqui.
-
salve galera alguém me ajuda com esses erros?
Essa dB não e compatível com essa versão ou tá faltando essa tabela aí nela .
-
[C++] Account Mananger TFS 1.5 DOWNGRADE 8.6
consegui fazer amigo?? estou tentando fazer agr colocar account mananger
- [OTX 12.64] Baiak Styller
-
Venda de itens dentro do otserv
nao entendi