Ir para conteúdo

[Duvida,pedido] Blood Of Gods!


deeners2

Posts Recomendados

Bom gente , eu consegui um script que eu queria faz tempo mais ele tá meio estranho! tá , meu serve ele é 7.92.

Quando voce usa esse item , por 20 segundos ele te dá atributos como subir mana , subir life e aumentar velocidade ! mas quando você usa um monte deles , eles te dao esse atributo todos juntos .eu queria que fosse assim , voce usasse ele , e ele te dasse atributo de HP e MANA e quando voce usa outro por cima , ele vai tirar esses atributos de HP e MANA e vai colocar de velocidade! Nao precisa mudar nada , só queria que tivesse essa condição , o script está aqui embaixo.

 

-- Exhausted Settings --

local exhausted_seconds = 0

local exhausted_storagevalue = 9893

local large_mana_fluid = 9602

-- Exhausted Settings END --

 

local function Blood15(cid)

if isPlayer(cid) == TRUE then

doPlayerAddHealth(cid,HP)

doPlayerAddMana(cid,MP)

doSendMagicEffect(getCreaturePosition(cid), 51)

end

end

 

local function Blood14(cid)

if isPlayer(cid) == TRUE then

doPlayerAddHealth(cid,HP)

doPlayerAddMana(cid,MP)

doSendMagicEffect(getCreaturePosition(cid), 51)

addEvent(Blood15, 1 * 2000, cid)

end

end

 

local function Blood13(cid)

if isPlayer(cid) == TRUE then

doPlayerAddHealth(cid,HP)

doPlayerAddMana(cid,MP)

doSendMagicEffect(getCreaturePosition(cid), 51)

addEvent(Blood14, 1 * 2000, cid)

end

end

 

local function Blood12(cid)

if isPlayer(cid) == TRUE then

doPlayerAddHealth(cid,HP)

doPlayerAddMana(cid,MP)

doSendMagicEffect(getCreaturePosition(cid), 51)

addEvent(Blood13, 1 * 2000, cid)

end

end

 

local function Blood11(cid)

if isPlayer(cid) == TRUE then

doPlayerAddHealth(cid,HP)

doPlayerAddMana(cid,MP)

doSendMagicEffect(getCreaturePosition(cid), 51)

addEvent(Blood12, 1 * 2000, cid)

end

end

 

local function Blood10(cid)

if isPlayer(cid) == TRUE then

doPlayerAddHealth(cid,HP)

doPlayerAddMana(cid,MP)

doSendMagicEffect(getCreaturePosition(cid), 51)

addEvent(Blood11, 1 * 2000, cid)

end

end

 

local function Blood9(cid)

if isPlayer(cid) == TRUE then

doPlayerAddHealth(cid,HP)

doPlayerAddMana(cid,MP)

doSendMagicEffect(getCreaturePosition(cid), 51)

addEvent(Blood10, 1 * 2000, cid)

end

end

 

local function Blood8(cid)

if isPlayer(cid) == TRUE then

doPlayerAddHealth(cid,HP)

doPlayerAddMana(cid,MP)

doSendMagicEffect(getCreaturePosition(cid), 51)

addEvent(Blood9, 1 * 2000, cid)

end

end

 

local function Blood7(cid)

if isPlayer(cid) == TRUE then

doPlayerAddHealth(cid,HP)

doPlayerAddMana(cid,MP)

doSendMagicEffect(getCreaturePosition(cid), 51)

addEvent(Blood8, 1 * 2000, cid)

end

end

 

local function Blood6(cid)

if isPlayer(cid) == TRUE then

doPlayerAddHealth(cid,HP)

doPlayerAddMana(cid,MP)

doSendMagicEffect(getCreaturePosition(cid), 51)

addEvent(Blood7, 1 * 2000, cid)

end

end

 

local function Blood5(cid)

if isPlayer(cid) == TRUE then

doPlayerAddHealth(cid,HP)

doPlayerAddMana(cid,MP)

doSendMagicEffect(getCreaturePosition(cid), 51)

addEvent(Blood6, 1 * 2000, cid)

end

end

 

local function Blood4(cid)

if isPlayer(cid) == TRUE then

doPlayerAddHealth(cid,HP)

doPlayerAddMana(cid,MP)

doSendMagicEffect(getCreaturePosition(cid), 51)

addEvent(Blood5, 1 * 2000, cid)

end

end

 

local function Blood3(cid)

if isPlayer(cid) == TRUE then

doPlayerAddHealth(cid,HP)

doPlayerAddMana(cid,MP)

doSendMagicEffect(getCreaturePosition(cid), 51)

addEvent(Blood4, 1 * 2000, cid)

end

end

 

local function Blood2(cid)

if isPlayer(cid) == TRUE then

doPlayerAddHealth(cid,HP)

doPlayerAddMana(cid,MP)

doSendMagicEffect(getCreaturePosition(cid), 51)

addEvent(Blood3, 1 * 2000, cid)

end

end

 

local function Blood1(cid)

if isPlayer(cid) == TRUE then

doSendMagicEffect(getCreaturePosition(cid), 51)

addEvent(Blood2, 1 * 2000, cid)

end

end

 

local function Blod15(cid)

if isPlayer(cid) == TRUE then

doPlayerAddHealth(cid,HP)

doPlayerAddMana(cid,MP)

doSendMagicEffect(getCreaturePosition(cid), 51)

end

end

 

local function Blod14(cid)

if isPlayer(cid) == TRUE then

doPlayerAddHealth(cid,HP)

doPlayerAddMana(cid,MP)

doSendMagicEffect(getCreaturePosition(cid), 51)

addEvent(Blod15, 1 * 2000, cid)

end

end

 

local function Blod13(cid)

if isPlayer(cid) == TRUE then

doPlayerAddHealth(cid,HP)

doPlayerAddMana(cid,MP)

doSendMagicEffect(getCreaturePosition(cid), 51)

addEvent(Blod14, 1 * 2000, cid)

end

end

 

local function Blod12(cid)

if isPlayer(cid) == TRUE then

doPlayerAddHealth(cid,HP)

doPlayerAddMana(cid,MP)

doSendMagicEffect(getCreaturePosition(cid), 51)

addEvent(Blod13, 1 * 2000, cid)

end

end

 

local function Blod11(cid)

if isPlayer(cid) == TRUE then

doPlayerAddHealth(cid,HP)

doPlayerAddMana(cid,MP)

doSendMagicEffect(getCreaturePosition(cid), 51)

addEvent(Blod12, 1 * 2000, cid)

end

end

 

local function Blod10(cid)

if isPlayer(cid) == TRUE then

doPlayerAddHealth(cid,HP)

doPlayerAddMana(cid,MP)

doSendMagicEffect(getCreaturePosition(cid), 51)

addEvent(Blod11, 1 * 2000, cid)

end

end

 

local function Blod9(cid)

if isPlayer(cid) == TRUE then

doPlayerAddHealth(cid,HP)

doPlayerAddMana(cid,MP)

doSendMagicEffect(getCreaturePosition(cid), 51)

addEvent(Blod10, 1 * 2000, cid)

end

end

 

local function Blod8(cid)

if isPlayer(cid) == TRUE then

doPlayerAddHealth(cid,HP)

doPlayerAddMana(cid,MP)

doSendMagicEffect(getCreaturePosition(cid), 51)

addEvent(Blod9, 1 * 2000, cid)

end

end

 

local function Blod7(cid)

if isPlayer(cid) == TRUE then

doPlayerAddHealth(cid,HP)

doPlayerAddMana(cid,MP)

doSendMagicEffect(getCreaturePosition(cid), 51)

addEvent(Blod8, 1 * 2000, cid)

end

end

 

local function Blod6(cid)

if isPlayer(cid) == TRUE then

doPlayerAddHealth(cid,HP)

doPlayerAddMana(cid,MP)

doSendMagicEffect(getCreaturePosition(cid), 51)

addEvent(Blod7, 1 * 2000, cid)

end

end

 

local function Blod5(cid)

if isPlayer(cid) == TRUE then

doPlayerAddHealth(cid,HP)

doPlayerAddMana(cid,MP)

doSendMagicEffect(getCreaturePosition(cid), 51)

addEvent(Blod6, 1 * 2000, cid)

end

end

 

local function Blod4(cid)

if isPlayer(cid) == TRUE then

doPlayerAddHealth(cid,HP)

doPlayerAddMana(cid,MP)

doSendMagicEffect(getCreaturePosition(cid), 51)

addEvent(Blod5, 1 * 2000, cid)

end

end

 

local function Blod3(cid)

if isPlayer(cid) == TRUE then

doPlayerAddHealth(cid,HP)

doPlayerAddMana(cid,MP)

doSendMagicEffect(getCreaturePosition(cid), 51)

addEvent(Blod4, 1 * 2000, cid)

end

end

 

local function Blod2(cid)

if isPlayer(cid) == TRUE then

doPlayerAddHealth(cid,HP)

doPlayerAddMana(cid,MP)

doSendMagicEffect(getCreaturePosition(cid), 51)

addEvent(Blod3, 1 * 2000, cid)

end

end

 

local function Blod1(cid)

if isPlayer(cid) == TRUE then

doSendMagicEffect(getCreaturePosition(cid), 51)

addEvent(Blod2, 1 * 2000, cid)

end

end

 

local function Bld15(cid)

if isPlayer(cid) == TRUE then

doPlayerAddHealth(cid,HP)

doPlayerAddMana(cid,MP)

doSendMagicEffect(getCreaturePosition(cid), 51)

end

end

 

local function Bld14(cid)

if isPlayer(cid) == TRUE then

doPlayerAddHealth(cid,HP)

doPlayerAddMana(cid,MP)

doSendMagicEffect(getCreaturePosition(cid), 51)

addEvent(Blod15, 1 * 2000, cid)

end

end

 

local function Bld13(cid)

if isPlayer(cid) == TRUE then

doPlayerAddHealth(cid,HP)

doPlayerAddMana(cid,MP)

doSendMagicEffect(getCreaturePosition(cid), 51)

addEvent(Bld14, 1 * 2000, cid)

end

end

 

local function Bld12(cid)

if isPlayer(cid) == TRUE then

doPlayerAddHealth(cid,HP)

doPlayerAddMana(cid,MP)

doSendMagicEffect(getCreaturePosition(cid), 51)

addEvent(Bld13, 1 * 2000, cid)

end

end

 

local function Bld11(cid)

if isPlayer(cid) == TRUE then

doPlayerAddHealth(cid,HP)

doPlayerAddMana(cid,MP)

doSendMagicEffect(getCreaturePosition(cid), 51)

addEvent(Bld12, 1 * 2000, cid)

end

end

 

local function Bld10(cid)

if isPlayer(cid) == TRUE then

doPlayerAddHealth(cid,HP)

doPlayerAddMana(cid,MP)

doSendMagicEffect(getCreaturePosition(cid), 51)

addEvent(Bld11, 1 * 2000, cid)

end

end

 

local function Bld9(cid)

if isPlayer(cid) == TRUE then

doPlayerAddHealth(cid,HP)

doPlayerAddMana(cid,MP)

doSendMagicEffect(getCreaturePosition(cid), 51)

addEvent(Bld10, 1 * 2000, cid)

end

end

 

local function Bld8(cid)

if isPlayer(cid) == TRUE then

doPlayerAddHealth(cid,HP)

doPlayerAddMana(cid,MP)

doSendMagicEffect(getCreaturePosition(cid), 51)

addEvent(Bld9, 1 * 2000, cid)

end

end

 

local function Bld7(cid)

if isPlayer(cid) == TRUE then

doPlayerAddHealth(cid,HP)

doPlayerAddMana(cid,MP)

doSendMagicEffect(getCreaturePosition(cid), 51)

addEvent(Bld8, 1 * 2000, cid)

end

end

 

local function Bld6(cid)

if isPlayer(cid) == TRUE then

doPlayerAddHealth(cid,HP)

doPlayerAddMana(cid,MP)

doSendMagicEffect(getCreaturePosition(cid), 51)

addEvent(Bld7, 1 * 2000, cid)

end

end

 

local function Bld5(cid)

if isPlayer(cid) == TRUE then

doPlayerAddHealth(cid,HP)

doPlayerAddMana(cid,MP)

doSendMagicEffect(getCreaturePosition(cid), 51)

addEvent(Bld6, 1 * 2000, cid)

end

end

 

local function Bld4(cid)

if isPlayer(cid) == TRUE then

doPlayerAddHealth(cid,HP)

doPlayerAddMana(cid,MP)

doSendMagicEffect(getCreaturePosition(cid), 51)

addEvent(Bld5, 1 * 2000, cid)

end

end

 

local function Bld3(cid)

if isPlayer(cid) == TRUE then

doPlayerAddHealth(cid,HP)

doPlayerAddMana(cid,MP)

doSendMagicEffect(getCreaturePosition(cid), 51)

addEvent(Bld4, 1 * 2000, cid)

end

end

 

local function Bld2(cid)

if isPlayer(cid) == TRUE then

doPlayerAddHealth(cid,HP)

doPlayerAddMana(cid,MP)

doSendMagicEffect(getCreaturePosition(cid), 51)

addEvent(Bld3, 1 * 2000, cid)

end

end

 

local function Bld1(cid)

if isPlayer(cid) == TRUE then

doSendMagicEffect(getCreaturePosition(cid), 51)

addEvent(Bld2, 1 * 2000, cid)

end

end

 

local Speed = createConditionObject(CONDITION_HASTE)

setConditionParam(Speed, CONDITION_PARAM_TICKS, 30000)

setConditionFormula(Speed, 0, 3000, 0, 3000)

 

function onUse(cid, item, frompos, item2, topos)

 

chronos = { lookType = 251,lookHead = getCreatureOutfit(cid).lookHead, lookBody = getCreatureOutfit(cid).lookBody, lookLegs = getCreatureOutfit(cid).lookLegs, lookFeet = getCreatureOutfit(cid).lookFeet, lookAddons = getCreatureOutfit(cid).lookAddons }

hazus = { lookType = 194,lookHead = getCreatureOutfit(cid).lookHead, lookBody = getCreatureOutfit(cid).lookBody, lookLegs = getCreatureOutfit(cid).lookLegs, lookFeet = getCreatureOutfit(cid).lookFeet, lookAddons = getCreatureOutfit(cid).lookAddons }

kazard = { lookType = 262,lookHead = getCreatureOutfit(cid).lookHead, lookBody = getCreatureOutfit(cid).lookBody, lookLegs = getCreatureOutfit(cid).lookLegs, lookFeet = getCreatureOutfit(cid).lookFeet, lookAddons = getCreatureOutfit(cid).lookAddons }

Blood = math.random(1,3)

skill = getPlayerSkill(cid,0)

magic = getPlayerMagLevel(cid)

 

Sangue = getPlayerItemCount(cid,6558)

Blood = math.random(1,3)

HP = math.random(2500,5000)

MP = math.random(3000,6000)

 

if getPlayerSoul(cid) <= 0 then

doPlayerSendTextMessage(cid,20,'Desculpe, você não tem Souls suficiente.')

elseif (exhaust(cid, 1, 1) > 0) then

 

if Blood == 1 then

doPlayerAddHealth(cid,HP)

doPlayerAddMana(cid,MP)

doSetCreatureOutfit(cid, chronos, 30000)

doSendMagicEffect(getCreaturePosition(cid), 12)

addEvent(Blood1, 1*2000,cid)

doPlayerAddSoul(cid,-1)

doRemoveItem(item.uid,1)

 

elseif Blood == 2 then

doPlayerAddHealth(cid,HP)

doPlayerAddMana(cid,MP)

doSetCreatureOutfit(cid, kazard, 30000)

doSendMagicEffect(getCreaturePosition(cid), 12)

doTargetCombatCondition(0, cid, Speed, 51)

addEvent(Blood1, 1*2000,cid)

doPlayerAddSoul(cid,-1)

doRemoveItem(item.uid,1)

 

elseif Blood == 3 then

doPlayerAddHealth(cid,HP)

doPlayerAddMana(cid,MP)

doSetCreatureOutfit(cid, hazus, 30000)

doSendMagicEffect(getCreaturePosition(cid), 12)

addEvent(Blood1, 1*2000,cid)

doPlayerAddSoul(cid,-1)

doRemoveItem(item.uid,1)

end

else

doPlayerSendTextMessage(cid,20,"Relasha e espere um pouco.")

end

end

 

 

 

Bom,aqui tá tudo certo , eu só queria mesmo que quando você usar ele , ele te daria tal atributos e quando voce usasse outro , o 1º que voce tomou , parasse de dar os atributos e desse os atributos do 2º sem continuar com o 1º que tomou.

Editado por Deneerziinho
Link para o comentário
Compartilhar em outros sites

×
×
  • Criar Novo...