-
Total de itens
96 -
Registro em
-
Última visita
Posts postados por fagundes14
-
-
-
Voce Deve Observar No Arquivo |Vocation.XML
<formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/>
<skill fist="1.5" club="2.0" sword="2.0" axe="2.0" distance="2.0" shielding="1.5" fishing="1.1" experience="1.0"/>
Nesta Parte E Onde Vc Configura Os Atributos Das Vocaçoes Como
Ml, Distance Essas Coisas
Com Certeza O Erro Deve Estar Ae =D
ABRASS
-
-
Basta Pega O Executavel Do 8.54 E Trocar Pelo 8.60 Mantendo As SPR, DAT
E Tals
=D
ABRASS
-
-
Nossa Gente Brigadao =D
REP ++
-
Ta Ae O Script
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_GREEN)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0)
local condition = createConditionObject(CONDITION_OUTFIT)
setConditionParam(condition, CONDITION_PARAM_TICKS, 86400000)
addOutfitCondition(condition, 0, 71, 0, 0, 0, 0)
setCombatCondition(combat, condition)
-- // Goku
TRANGokuSSJ = {lookType = 438}
TRANGokuHSSJ = {lookType = 438}
TRANGokuSSJ2 = {lookType = 439}
TRANGokuSSJ3 = {lookType = 440}
TRANBGoku = {lookType = 354}
TRANBGokuSSJ = {lookType = 259}
TRANRBGokuSSJ = {lookType = 138}
TRANRBGokuSSJ2 = {lookType = 139}
TRANRBGokuSSJ3 = {lookType = 140}
TRANRBGokuSSJ4 = {lookType = 66}
OXT = 500
EXT = 1000
-- // GOKU / ----
function EFGokuHSSJ(cid)
if getPlayerVocation(cid) == 403 then
if getPlayerMana(cid) >= 0 then
doSendMagicEffect(getPlayerPosition(cid), 234)
addEvent(EFGokuHSSJ,EXT,cid)
end
end
end
function EFGokuSSJ2(cid)
if getPlayerVocation(cid) == 404 then
if getPlayerMana(cid) >= 0 then
doSendMagicEffect(getPlayerPosition(cid), 13)
addEvent(EFGokuSSJ2,EXT,cid)
end
end
end
function EFGokuSSJ3(cid)
if getPlayerVocation(cid) == 405 then
if getPlayerMana(cid) >= 0 then
doSendMagicEffect(getPlayerPosition(cid), 13)
addEvent(EFGokuSSJ3,EXT,cid)
end
end
end
function EFBGokuSSJ(cid)
if getPlayerVocation(cid) == 407 then
if getPlayerMana(cid) >= 0 then
doSendMagicEffect(getPlayerPosition(cid), 234)
addEvent(EFBGokuSSJ,EXT,cid)
end
end
end
function EFRBGokuSSJ2(cid)
if getPlayerVocation(cid) == 410 then
if getPlayerMana(cid) >= 0 then
doSendMagicEffect(getPlayerPosition(cid), 234)
addEvent(EFRBGokuSSJ2,EXT,cid)
end
end
end
function EFRBGokuSSJ3(cid)
if getPlayerVocation(cid) == 411 then
if getPlayerMana(cid) >= 0 then
doSendMagicEffect(getPlayerPosition(cid), 234)
addEvent(EFRBGokuSSJ3,EXT,cid)
end
end
end
-- // END
function onCastSpell(cid, var)
-- GOKU/ GOKU SSJ --
if getPlayerVocation(cid) == 400 then
if getPlayerLevel(cid) >= 50 then
doPlayerSetVocation(cid,402)
doSetCreatureOutfit(cid, TRANGokuSSJ, -1)
doSendMagicEffect(getPlayerPosition(cid), 56)
else
doPlayerSendCancel(cid, "You Need 50 Level To First Transform.")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
-- GOKU SSJ/ GOKU HYPER SSJ --
elseif getPlayerVocation(cid) == 402 then
if getPlayerLevel(cid) >= 75 then
doPlayerSetVocation(cid,403)
doSetCreatureOutfit(cid, TRANGokuHSSJ, -1)
addEvent(EFGokuHSSJ,EXT,cid)
doSendMagicEffect(getPlayerPosition(cid), 57)
else
doPlayerSendCancel(cid, "You Need 75 Level To First Transform.")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
-- GOKU HYPER SSJ/ GOKU SSJ2 --
elseif getPlayerVocation(cid) == 403 then
if getPlayerLevel(cid) >= 100 then
doPlayerSetVocation(cid,404)
doSetCreatureOutfit(cid, TRANGokuSSJ2, -1)
addEvent(EFGokuSSJ2,EXT,cid)
doSendMagicEffect(getPlayerPosition(cid), 58)
else
doPlayerSendCancel(cid, "You Need 100 Level To First Transform.")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
-- GOKU SSJ2/ GOKU SSJ3 --
elseif getPlayerVocation(cid) == 404 then
if getPlayerLevel(cid) >= 150 then
doPlayerSetVocation(cid,405)
doSetCreatureOutfit(cid, TRANGokuSSJ3, -1)
addEvent(EFGokuSSJ3,EXT,cid)
doSendMagicEffect(getPlayerPosition(cid), 59)
else
doPlayerSendCancel(cid, "You Need 150 Level To First Transform.")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
-- GOKU SSJ3/ BIG GOKU --
elseif getPlayerVocation(cid) == 405 then
if getPlayerLevel(cid) >= 180 then
doPlayerSetVocation(cid,406)
doSetCreatureOutfit(cid, TRANBGoku, -1)
doSendMagicEffect(getPlayerPosition(cid), 8)
else
doPlayerSendCancel(cid, "You Need 180 Level To First Transform.")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
-- BIG GOKU/ BIG GOKU SSJ --
elseif getPlayerVocation(cid) == 406 then
if getPlayerLevel(cid) >= 200 then
doPlayerSetVocation(cid,407)
doSetCreatureOutfit(cid, TRANBGokuSSJ, -1)
addEvent(EFBGokuSSJ,EXT,cid)
doSendMagicEffect(getPlayerPosition(cid), 150)
else
doPlayerSendCancel(cid, "You Need 200 Level To First Transform.")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
-- RB --
-- GOKU/ GOKU SSJ --
elseif getPlayerVocation(cid) == 408 then
if getPlayerLevel(cid) >= 200 then
doPlayerSetVocation(cid,413)
doSetCreatureOutfit(cid, TRANRBGokuSSJ4, -1)
doSendMagicEffect(getPlayerPosition(cid), 60)
else
if getPlayerLevel(cid) >= 50 then
doPlayerSetVocation(cid,409)
doSetCreatureOutfit(cid, TRANRBGokuSSJ, -1)
doSendMagicEffect(getPlayerPosition(cid), 249)
else
doPlayerSendCancel(cid, "You Need 50 Level To First Transform.")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
end
-- GOKU/ GOKU SSJ --
elseif getPlayerVocation(cid) == 409 then
if getPlayerLevel(cid) >= 100 then
doPlayerSetVocation(cid,410)
doSetCreatureOutfit(cid, TRANRBGokuSSJ2, -1)
addEvent(EFRBGokuSSJ2,EXT,cid)
doSendMagicEffect(getPlayerPosition(cid), 250)
else
doPlayerSendCancel(cid, "You Need 100 Level To First Transform.")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
-- GOKU/ GOKU SSJ --
elseif getPlayerVocation(cid) == 410 then
if getPlayerLevel(cid) >= 150 then
doPlayerSetVocation(cid,411)
doSetCreatureOutfit(cid, TRANRBGokuSSJ3, -1)
addEvent(EFRBGokuSSJ3,EXT,cid)
doSendMagicEffect(getPlayerPosition(cid), 251)
else
doPlayerSendCancel(cid, "You Need 150 Level To First Transform.")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
-- GGOKU/ GOKU SSJ4 --
elseif getPlayerVocation(cid) == 412 then
if getPlayerLevel(cid) >= 200 then
doPlayerSetVocation(cid,413)
doSetCreatureOutfit(cid, TRANRBGokuSSJ4, -1)
doSendMagicEffect(getPlayerPosition(cid), 60)
else
doPlayerSendCancel(cid, "You Need 200 Level To First Transform.")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
-- // END
else
doPlayerSendCancel(cid, "You Cannot Be Stronger.")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
end
Ele Funciona Normal, Porem Aparece Isso No Console
-
É Um Script De Transformaçao Do Meu WoDBO 8.0
Ele Funciona Normal Mas Aparece Esses Erros No Console Quando E Usado
Do Rep ++
-
Vlw =D
REP ++
-
Eu Tentei Modificar Esta Condiçao Mais Deu Erro
if getPlayerLevel(cid) >= 150 then
Eu Queria Que Ela Recebesse
if getPlayerLevel(cid) > 150 e <= 199 then
E É Isso Ae Gente
ABRASS
-
Abrigado Aos 2 REP ++
-
Entao Venho Pedir Um Script Para Meu Servidor De DBZ
Ele E Versao 8.0
Pois, Eu Tentei Fazer Mais Nao Obitive Sucesso.
Seria O Seguinte, Ao Logar O Player Que Possui A Vocaçao
X Receberia A OUTFIT Y
Exemplo
VOCAÇAO 200 Recebe OUTFIT 350
Seria Isso =D
Dou REP ++
ABRASS
-
Tem como fazer para 8.0, porem teria que ser feito 2 arquivos em creaturescript e um em talkactions!
Vc Nao Poderia Fazer Essa Adaptaçao Nao?
-
Tem Como Vc Adaptar Esse Systema Para 8.0 ?
ABRASS
-
Ae Lek Boa Iniciativa
Belo Projeto =D
REP ++
-
Gente algem mim ajuda plz meu ot ta on mais esse negocio tá foda..td mundo reclamando
na versão "F" qando ataca cm o poke m1 m2 m3 m4 m5 m6 m7 m8 m9 m10 m11 m12
fiko aparecendo os "M" tipo se eu atacar cm o m1 o comando m1 aparece junto cm o nome do ataque
e táa móo horrivel isso naum sei oq eu faço mais mais olhei qase td e nada obg pela atenção do REP+ essa semana
tada pra qem conseguir mim ajudar.
Voce Deve Ter Feito Alguma Alteraçao Na Qual Ta Dando Erro
Qual ERRO Ta Aparecendo No Console?
ABRASS
-
@ALL
Como Eu Faço Para Por Os FOODS Como O Do PXG?
Ja EDITEI Os Itens.OTB E As Spr Dos Foods
DO REP ++
ABRASS
-
alias...ae vai o porion system 100%.. n podendo usar 2 pots ao ms tempo e com "lost heal" quando o poke levar algum dano...
actions/scripts/potion.lua
function setStorage(cid, storage, valor)
if isCreature(cid) then
if getPlayerStorageValue(cid, storage) >= 1 then
setPlayerStorageValue(cid, storage, valor)
end
end
end
function doHealOverTime(cid, div, turn, effect)
if not isCreature(cid) then return true end
if turn <= 0 then return true end
if getCreatureHealth(cid) == getCreatureMaxHealth(cid) then return true end
if getPlayerStorageValue(cid, 174) >= 1 then
setPlayerStorageValue(cid, 174, 0)
setPlayerStorageValue(cid, 173, 0)
return true
end
local d = div / 10000
local amount = math.floor(getCreatureMaxHealth(cid) * d)
doCreatureAddHealth(cid, amount)
if math.floor(turn/10) == turn/10 then
doSendMagicEffect(getThingPos(cid), effect)
end
addEvent(doHealOverTime, 100, cid, div, turn - 1, effect)
end
local potions = {
[12346] = {effect = 12, div = 20},
[12347] = {effect = 13, div = 40},
[12348] = {effect = 13, div = 60},
[12345] = {effect = 14, div = 80},
[12343] = {effect = 12, div = 100}}
function onUse(cid, item, frompos, item2, topos)
if isPlayer(item2.uid) then
return doPlayerSendCancel(cid, "You can only use potions on pokemons!")
end
if not isCreature(item2.uid) then
return doPlayerSendCancel(cid, "You can only use potions on pokemons!")
end
if not isPlayer(getCreatureMaster(item2.uid)) then
return doPlayerSendCancel(cid, "You cant use potions on wild pokemons.")
end
if getCreatureHealth(item2.uid) == getCreatureMaxHealth(item2.uid) then
return doPlayerSendCancel(cid, "This pokemon is already at full health.")
end
if getPlayerStorageValue(item2.uid, 173) >= 1 then
return doPlayerSendCancel(cid, "This pokemon is already under effects of potions.")
end
if getCreatureMaster(item2.uid) ~= cid then
return doPlayerSendCancel(cid, "You can only use potions on your own Pokemons!")
end
doCreatureSay(cid, ""..getCreatureName(item2.uid)..", take this potion!", TALKTYPE_SAY)
doSendMagicEffect(getThingPos(item2.uid), 172)
setPlayerStorageValue(item2.uid, 173, 1)
doRemoveItem(item.uid, 1)
local sid = item2.uid
local a = potions[item.itemid]
doHealOverTime(item2.uid, a.div, 100, a.effect)
addEvent(setStorage, 10000, sid, 173, 0)
return true
end
creaturescript/scripts/exp.lua
adicionem isso antes do ultimo "return false"..
if isSummon(cid) and type == STATSCHANGE_HEALTHLOSS then
if getPlayerStorageValue(cid, 173) >= 1 then
setPlayerStorageValue(cid, 174, 1)
doSendAnimatedText(getThingPos(cid), "Lost Heal", 144)
end
end
Eu Achei Alguns Erros Nas Potions
# So De Dar BATTLE Da LOST HEAL
# Quando Da LOST HEAL Nao Da Pra Usar Outra Potion
Eu Tenho Algumas Sugestoes, Como:
# So Dar LOST HEAL Se O Poke Perder 1 De Life; Ae Vc Poe As Condiçoes P/ Nao Dar LOST HEAL Com Poison E Burn
# Tirar A Storage De Nao Poder Usar A Potion 2x Seguida Quando Der LOST HEAL
@ALL
Como Eu Fasso Para Tirar As Falas Dos Attacks Dos Pokemons De Players?
ABRASS
-
Brun123 sei que e pedi d+ mas se nao tem client com os poke da oth com os cops tenho uma aqui mas ee outro ot achoq e \Torre se puer me fala opnde consigo agradeço ..pq os do ot que abaxei aqui tao com copst trocado com item...vlw
joth Teclado ta coom pau aqui ot Torre ta com cth td serto mas nao tem os mesmo sistema q vc crio tv bike e tals se puder ajuda o responde agradeço vlw
Cara, Tipow Use O Client Que Ta Na Pagina Inicial
O BRUN123 So Crio Os Sistemas E Tals O Resto E Com Agente Mesmo, Esses De Pokemons Com Corp Errado Vc Mesmo Corrigi.
Com A Ajuda De Muita Gente Ja Tem Muita Coisa Do Tipo Adiantada. E So Ler As Paginas Atras
ABRASS
-
@fagundes14 vlw ae mano esqueci da parada 1,8 =D agora te perguntar como eu boto os novos effects das novas pokeball que eu tenho no goback? vlw lek
Nao Entedi Muito Bem A Sua Pergunta Mais Vamos La
Tipo O Server So Reconhece 254 Efeitos
Entao Se Estive Acima Disto (EX: 256) Ele Começa A Repetir Os Efeitos
Ae Aconcelho A Vc Substituir Efeitos Nao Ultilizados Por Vc Antes Dos 249
ABRASS
-
as pokeball que eu pinto so heala na nurse se tiver no slot como eu faço pra ficar igual as normais heala dentro da bag tbm
Simplesmente ADD Ela No NPC Nurse
Vai Em DATA/NPC/Script/Heal.LUA
Procure Por Esta Parte
local pokeballs = {
[1] = {effect = 188, on = 11826, use = 11827, off = 11828, all = {11826, 11827, 11828}},
[2] = {effect = 191, on = 11829, use = 11830, off = 11831, all = {11829, 11830, 11831}},
[3] = {effect = 190, on = 11835, use = 11836, off = 11837, all = {11835, 11836, 11837}},
[4] = {effect = 189, on = 11832, use = 11833, off = 11834, all = {11832, 11833, 11834}},
[5] = {effect = 188, on = 11737, use = 11738, off = 11739, all = {11737, 11738, 11739}},
[6] = {effect = 189, on = 11740, use = 11741, off = 11742, all = {11740, 11741, 11742}},
[7] = {effect = 190, on = 11743, use = 11744, off = 11745, all = {11743, 11744, 11745}},
[8] = {effect = 191, on = 11746, use = 11747, off = 11748, all = {11746, 11747, 11748}},
}
ADD A Ball Nova Embaixo Mantendo O Mesmo Padrao Das Outra
EX:
[9] = {effect = GO/BACK, on = ID, use = ID, off = ID, all = {ID, ID, ID}},
GO/BACK = EFEITO DA BALL DANDO GO/BACK
Depois De ADD
Entao Procure Por
for balls = 1, 8 do
E Muda Para
for balls = 1, 9 do
No Qual E A Quantidade De Ball
Qualquer Coisa Fala Ae
ABRASS
-
Quando A Gente Da Move Nos Pokemons O Poke Fica La Parado Ate Vc C Mover
Agora Quando Vc Da Blink Por Exemplo O Poke Vai Para A Direçao Desejada Mais Nao Fica No Lugar Parado Como O Move
Alguem Sabe Como Eu Faço Isto?
-
Sim. Apenas Para Mortes
-
Alguem Poderia Me Diser Oq Cada Um Significa
Quero Tentar Balancear Pq Ta Muito Doido O Sistema De Happiness
baseNurseryHappiness = 95 -- > Tipo Isso E OQ?
baseNurseryHunger = 150 -- > Tipo Isso E OQ?
minHappyToEvolve = 190 --> Quantidade Minima P/ Evoluir?
maxHappyToEvolve = 240 -- > Quantidade Maxima P/ Evoluir?
happyLostOnDeath = 35 -- > Isso Quantidade De Happy Perde Quando O Poke Morre?
happyGainedOnEvolution = 20 --> Isso Quantidade De Happy Que Ganha Quando O Poke Evolui?
happinessRate = { --> Nao Tenho Ideia
[5] = {rate = 1.5, effect = 183, n = getConfigValue(PokemonStageVeryHappy)},
[4] = {rate = 1.2, effect = 170, n = getConfigValue(PokemonStageHappy)},
[3] = {rate = 1.0, effect = 182, n = getConfigValue(PokemonStageOK)},
[2] = {rate = 0.7, effect = 169, n = getConfigValue(PokemonStageSad)},
[1] = {rate = 0.4, effect = 168, n = getConfigValue(PokemonStageMad)}}
-
Quem Está Navegando 0 membros estão online
- Nenhum usuário registrado visualizando esta página.
Condiçao De Mana
em Scripts
Postado · Editado por Fagundes14
Isso E Uma Condiçao De Que So Fais Se O Player Tiver 100 + De Mana Ne