Ir para conteúdo

Featured Replies

Postado

Olá, Eu gostaria de pedir ajuda de vocês, eu gostaria de saber oque devo fazer para mudar esse script para versão TFs 1.3

se alguém puder me explica como faço isso agradeço.

 

script : 

Spoiler

local function Blood15(cid)
if isPlayer(cid) == TRUE then
doPlayerAddHealth(cid,(12*getPlayerMaxHealth(cid)/100)+(skill*6)+(magic*2))
doPlayerAddMana(cid,(12*getPlayerMaxMana(cid)/100)+(skill*6)+(magic*2))
doSendMagicEffect(getCreaturePosition(cid), 51)
end
end

local function Blood14(cid)
if isPlayer(cid) == TRUE then
doPlayerAddHealth(cid,(12*getPlayerMaxHealth(cid)/100)+(skill*6)+(magic*2))
doPlayerAddMana(cid,(12*getPlayerMaxMana(cid)/100)+(skill*6)+(magic*2))
doSendMagicEffect(getCreaturePosition(cid), 51)
addEvent(Blood15, 1 * 2000, cid)
end
end

local function Blood13(cid)
if isPlayer(cid) == TRUE then
doPlayerAddHealth(cid,(12*getPlayerMaxHealth(cid)/100)+(skill*6)+(magic*2))
doPlayerAddMana(cid,(12*getPlayerMaxMana(cid)/100)+(skill*6)+(magic*2))
doSendMagicEffect(getCreaturePosition(cid), 51)
addEvent(Blood14, 1 * 2000, cid)
end
end

local function Blood12(cid)
if isPlayer(cid) == TRUE then
doPlayerAddHealth(cid,(12*getPlayerMaxHealth(cid)/100)+(skill*6)+(magic*2))
doPlayerAddMana(cid,(12*getPlayerMaxMana(cid)/100)+(skill*6)+(magic*2))
doSendMagicEffect(getCreaturePosition(cid), 51)
addEvent(Blood13, 1 * 2000, cid)
end
end

local function Blood11(cid)
if isPlayer(cid) == TRUE then
doPlayerAddHealth(cid,(12*getPlayerMaxHealth(cid)/100)+(skill*6)+(magic*2))
doPlayerAddMana(cid,(12*getPlayerMaxMana(cid)/100)+(skill*6)+(magic*2))
doSendMagicEffect(getCreaturePosition(cid), 51)
addEvent(Blood12, 1 * 2000, cid)
end
end

local function Blood10(cid)
if isPlayer(cid) == TRUE then
doPlayerAddHealth(cid,(12*getPlayerMaxHealth(cid)/100)+(skill*6)+(magic*2))
doPlayerAddMana(cid,(12*getPlayerMaxMana(cid)/100)+(skill*6)+(magic*2))
doSendMagicEffect(getCreaturePosition(cid), 51)
addEvent(Blood11, 1 * 2000, cid)
end
end

local function Blood9(cid)
if isPlayer(cid) == TRUE then
doPlayerAddHealth(cid,(12*getPlayerMaxHealth(cid)/100)+(skill*6)+(magic*2))
doPlayerAddMana(cid,(12*getPlayerMaxMana(cid)/100)+(skill*6)+(magic*2))
doSendMagicEffect(getCreaturePosition(cid), 51)
addEvent(Blood10, 1 * 2000, cid)
end
end

local function Blood8(cid)
if isPlayer(cid) == TRUE then
doPlayerAddHealth(cid,(12*getPlayerMaxHealth(cid)/100)+(skill*6)+(magic*2))
doPlayerAddMana(cid,(12*getPlayerMaxMana(cid)/100)+(skill*6)+(magic*2))
doSendMagicEffect(getCreaturePosition(cid), 51)
addEvent(Blood9, 1 * 2000, cid)
end
end

local function Blood7(cid)
if isPlayer(cid) == TRUE then
doPlayerAddHealth(cid,(12*getPlayerMaxHealth(cid)/100)+(skill*6)+(magic*2))
doPlayerAddMana(cid,(12*getPlayerMaxMana(cid)/100)+(skill*6)+(magic*2))
doSendMagicEffect(getCreaturePosition(cid), 51)
addEvent(Blood8, 1 * 2000, cid)
end
end

local function Blood6(cid)
if isPlayer(cid) == TRUE then
doPlayerAddHealth(cid,(12*getPlayerMaxHealth(cid)/100)+(skill*6)+(magic*2))
doPlayerAddMana(cid,(12*getPlayerMaxMana(cid)/100)+(skill*6)+(magic*2))
doSendMagicEffect(getCreaturePosition(cid), 51)
addEvent(Blood7, 1 * 2000, cid)
end
end

local function Blood5(cid)
if isPlayer(cid) == TRUE then
doPlayerAddHealth(cid,(12*getPlayerMaxHealth(cid)/100)+(skill*6)+(magic*2))
doPlayerAddMana(cid,(12*getPlayerMaxMana(cid)/100)+(skill*6)+(magic*2))
doSendMagicEffect(getCreaturePosition(cid), 51)
addEvent(Blood6, 1 * 2000, cid)
end
end

local function Blood4(cid)
if isPlayer(cid) == TRUE then
doPlayerAddHealth(cid,(12*getPlayerMaxHealth(cid)/100)+(skill*6)+(magic*2))
doPlayerAddMana(cid,(12*getPlayerMaxMana(cid)/100)+(skill*6)+(magic*2))
doSendMagicEffect(getCreaturePosition(cid), 51)
addEvent(Blood5, 1 * 2000, cid)
end
end

local function Blood3(cid)
if isPlayer(cid) == TRUE then
doPlayerAddHealth(cid,(12*getPlayerMaxHealth(cid)/100)+(skill*6)+(magic*2))
doPlayerAddMana(cid,(12*getPlayerMaxMana(cid)/100)+(skill*6)+(magic*2))
doSendMagicEffect(getCreaturePosition(cid), 51)
addEvent(Blood4, 1 * 2000, cid)
end
end

local function Blood2(cid)
if isPlayer(cid) == TRUE then
doPlayerAddHealth(cid,(12*getPlayerMaxHealth(cid)/100)+(skill*6)+(magic*2))
doPlayerAddMana(cid,(12*getPlayerMaxMana(cid)/100)+(skill*6)+(magic*2))
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 Speed = createConditionObject(CONDITION_HASTE)
setConditionParam(Speed, CONDITION_PARAM_TICKS, 30000)
setConditionFormula(Speed, 0, 6000, 0, 6000)

local Immortal = createConditionObject(CONDITION_IMMORTAL)
setConditionParam(Immortal, CONDITION_PARAM_TICKS, 6000)

local Bog = createConditionObject(CONDITION_BLOOD)
setConditionParam(Bog, CONDITION_PARAM_TICKS, 30000)

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 } 
immortal = { lookType = getCreatureOutfit(cid).lookType,lookHead = 79,lookBody = 79,lookLegs = 79,lookFeet = 79, lookAddons = 3 } 
skill = getPlayerSkill(cid,0)
magic = getPlayerMagLevel(cid)
Blood = math.random(1,4)

-- Exhausted Settings --
local exhausted_seconds2 = 1 -- How many seconds 
local exhausted_storagevalue2 = 9893 -- Storage Value 

local exhausted_seconds3 = 2 -- How many seconds 
local exhausted_storagevalue3 = 8162 -- Storage Value 

local exhausted_seconds4 = 1 -- How many seconds 
local exhausted_storagevalue4 = 6245 -- Storage Value 

-- Exhausted Settings END --

if getPlayerSoul(cid) <= 49 then
doPlayerSendTextMessage(cid,20,'Desculpe, você não tem Souls suficiente.')
return TRUE
end

 if getCondition(cid, CONDITION_EXHAUSTED) == TRUE then
 doPlayerSendCancel(cid,"Está esgotado.")
  return TRUE
   end

if getCondition(cid, CONDITION_BLOOD) == TRUE then
doPlayerSendTextMessage(cid,20,'Você não pode usar um blood of gods durante o efeito de outro.')
return TRUE
end

if(os.time() < getPlayerStorageValue(cid, exhausted_storagevalue2)) then
 doPlayerSendCancel(cid,"Você está muito cansado.")
return TRUE
end

if(os.time() < getPlayerStorageValue(cid, exhausted_storagevalue3)) then
doPlayerSendCancel(cid,"Você está muito cansado.")
return TRUE
end

if(os.time() < getPlayerStorageValue(cid, exhausted_storagevalue4)) then
doPlayerSendCancel(cid,"Está esgotado.")
return TRUE
end

if Blood == 1 and (os.time() >= getPlayerStorageValue(cid, exhausted_storagevalue2)) and (os.time() >= getPlayerStorageValue(cid, exhausted_storagevalue3)) and (os.time() >= getPlayerStorageValue(cid, exhausted_storagevalue4)) then
doTargetCombatCondition(0, cid, Bog, 255)
doPlayerAddHealth(cid,10*getPlayerMaxHealth(cid)/100)
doPlayerAddMana(cid,10*getPlayerMaxHealth(cid)/100)
doSetCreatureOutfit(cid, immortal, 6000)
doSendMagicEffect(getCreaturePosition(cid), 12)
doTargetCombatCondition(0, cid, Immortal, 51)
doPlayerSay(cid, "Muahaha!", TALKTYPE_ORANGE_1)
addEvent(Blood1, 1*2000,cid)
doPlayerAddSoul(cid,-50)
doRemoveItem(item.uid,1)

elseif Blood == 2 and (os.time() >= getPlayerStorageValue(cid, exhausted_storagevalue2)) and (os.time() >= getPlayerStorageValue(cid, exhausted_storagevalue3)) and (os.time() >= getPlayerStorageValue(cid, exhausted_storagevalue4)) then
doTargetCombatCondition(0, cid, Bog, 255)
doPlayerAddHealth(cid,10*getPlayerMaxHealth(cid)/100)
doPlayerAddMana(cid,10*getPlayerMaxHealth(cid)/100)
doSetCreatureOutfit(cid, immortal, 6000)
doSendMagicEffect(getCreaturePosition(cid), 12)
doTargetCombatCondition(0, cid, Immortal, 51)
doPlayerSay(cid, "Muahaha!", TALKTYPE_ORANGE_1)
addEvent(Blood1, 1*2000,cid)
doPlayerAddSoul(cid,-50)
doRemoveItem(item.uid,1)

elseif Blood == 3 and (os.time() >= getPlayerStorageValue(cid, exhausted_storagevalue2)) and (os.time() >= getPlayerStorageValue(cid, exhausted_storagevalue3)) and (os.time() >= getPlayerStorageValue(cid, exhausted_storagevalue4)) then
doTargetCombatCondition(0, cid, Bog, 255)
doPlayerAddHealth(cid,10*getPlayerMaxHealth(cid)/100)
doPlayerAddMana(cid,10*getPlayerMaxHealth(cid)/100)
doSetCreatureOutfit(cid, immortal, 6000)
doSendMagicEffect(getCreaturePosition(cid), 12)
doTargetCombatCondition(0, cid, Immortal, 51)
doPlayerSay(cid, "Muahaha!", TALKTYPE_ORANGE_1)
addEvent(Blood1, 1*2000,cid)
doPlayerAddSoul(cid,-50)
doRemoveItem(item.uid,1)

elseif Blood == 4 and (os.time() >= getPlayerStorageValue(cid, exhausted_storagevalue2)) and (os.time() >= getPlayerStorageValue(cid, exhausted_storagevalue3)) and (os.time() >= getPlayerStorageValue(cid, exhausted_storagevalue4)) then
doTargetCombatCondition(0, cid, Bog, 255)
doPlayerAddHealth(cid,10*getPlayerMaxHealth(cid)/100)
doPlayerAddMana(cid,10*getPlayerMaxHealth(cid)/100)
doSetCreatureOutfit(cid, immortal, 6000)
doSendMagicEffect(getCreaturePosition(cid), 12)
doTargetCombatCondition(0, cid, Immortal, 51)
doPlayerSay(cid, "Muahaha!", TALKTYPE_ORANGE_1)
addEvent(Blood1, 1*2000,cid)
doPlayerAddSoul(cid,-50)
doRemoveItem(item.uid,1)
end
end

 

Estou usando esse servidor como base : 

Spoiler

 

Agradeço desde já.

Postado
  • Autor

eu fiz isso com o script mas ta dando erro, alguém pode me ajuda ?

 

Spoiler

local function Blood15(cid)
if isPlayer(cid) == TRUE then
doCreatureAddHealth(cid,(12*getCreatureMaxHealth(cid)/100)+(skill*6)+(magic*2))
doPlayerAddMana(cid,(12*getCreatureMaxMana(cid)/100)+(skill*6)+(magic*2))
doSendMagicEffect(getCreaturePosition(cid), 51)
end
end

local function Blood14(cid)
if isPlayer(cid) == TRUE then
doCreatureAddHealth(cid,(12*getCreatureMaxHealth(cid)/100)+(skill*6)+(magic*2))
doPlayerAddMana(cid,(12*getCreatureMaxMana(cid)/100)+(skill*6)+(magic*2))
doSendMagicEffect(getCreaturePosition(cid), 51)
addEvent(Blood15, 1 * 2000, cid)
end
end

local function Blood13(cid)
if isPlayer(cid) == TRUE then
doCreatureAddHealth(cid,(12*getCreatureMaxHealth(cid)/100)+(skill*6)+(magic*2))
doPlayerAddMana(cid,(12*getCreatureMaxMana(cid)/100)+(skill*6)+(magic*2))
doSendMagicEffect(getCreaturePosition(cid), 51)
addEvent(Blood14, 1 * 2000, cid)
end
end

local function Blood12(cid)
if isPlayer(cid) == TRUE then
doCreatureAddHealth(cid,(12*getCreatureMaxHealth(cid)/100)+(skill*6)+(magic*2))
doPlayerAddMana(cid,(12*getCreatureMaxMana(cid)/100)+(skill*6)+(magic*2))
doSendMagicEffect(getCreaturePosition(cid), 51)
addEvent(Blood13, 1 * 2000, cid)
end
end

local function Blood11(cid)
if isPlayer(cid) == TRUE then
doCreatureAddHealth(cid,(12*getCreatureMaxHealth(cid)/100)+(skill*6)+(magic*2))
doPlayerAddMana(cid,(12*getCreatureMaxMana(cid)/100)+(skill*6)+(magic*2))
doSendMagicEffect(getCreaturePosition(cid), 51)
addEvent(Blood12, 1 * 2000, cid)
end
end

local function Blood10(cid)
if isPlayer(cid) == TRUE then
doCreatureAddHealth(cid,(12*getCreatureMaxHealth(cid)/100)+(skill*6)+(magic*2))
doPlayerAddMana(cid,(12*getCreatureMaxMana(cid)/100)+(skill*6)+(magic*2))
doSendMagicEffect(getCreaturePosition(cid), 51)
addEvent(Blood11, 1 * 2000, cid)
end
end

local function Blood9(cid)
if isPlayer(cid) == TRUE then
doCreatureAddHealth(cid,(12*getCreatureMaxHealth(cid)/100)+(skill*6)+(magic*2))
doPlayerAddMana(cid,(12*getCreatureMaxMana(cid)/100)+(skill*6)+(magic*2))
doSendMagicEffect(getCreaturePosition(cid), 51)
addEvent(Blood10, 1 * 2000, cid)
end
end

local function Blood8(cid)
if isPlayer(cid) == TRUE then
doCreatureAddHealth(cid,(12*getCreatureMaxHealth(cid)/100)+(skill*6)+(magic*2))
doPlayerAddMana(cid,(12*getCreatureMaxMana(cid)/100)+(skill*6)+(magic*2))
doSendMagicEffect(getCreaturePosition(cid), 51)
addEvent(Blood9, 1 * 2000, cid)
end
end

local function Blood7(cid)
if isPlayer(cid) == TRUE then
doCreatureAddHealth(cid,(12*getCreatureMaxHealth(cid)/100)+(skill*6)+(magic*2))
doPlayerAddMana(cid,(12*getCreatureMaxMana(cid)/100)+(skill*6)+(magic*2))
doSendMagicEffect(getCreaturePosition(cid), 51)
addEvent(Blood8, 1 * 2000, cid)
end
end

local function Blood6(cid)
if isPlayer(cid) == TRUE then
doCreatureAddHealth(cid,(12*getCreatureMaxHealth(cid)/100)+(skill*6)+(magic*2))
doPlayerAddMana(cid,(12*getCreatureMaxMana(cid)/100)+(skill*6)+(magic*2))
doSendMagicEffect(getCreaturePosition(cid), 51)
addEvent(Blood7, 1 * 2000, cid)
end
end

local function Blood5(cid)
if isPlayer(cid) == TRUE then
doCreatureAddHealth(cid,(12*getCreatureMaxHealth(cid)/100)+(skill*6)+(magic*2))
doPlayerAddMana(cid,(12*getCreatureMaxMana(cid)/100)+(skill*6)+(magic*2))
doSendMagicEffect(getCreaturePosition(cid), 51)
addEvent(Blood6, 1 * 2000, cid)
end
end

local function Blood4(cid)
if isPlayer(cid) == TRUE then
doCreatureAddHealth(cid,(12*getCreatureMaxHealth(cid)/100)+(skill*6)+(magic*2))
doPlayerAddMana(cid,(12*getCreatureMaxMana(cid)/100)+(skill*6)+(magic*2))
doSendMagicEffect(getCreaturePosition(cid), 51)
addEvent(Blood5, 1 * 2000, cid)
end
end

local function Blood3(cid)
if isPlayer(cid) == TRUE then
doCreatureAddHealth(cid,(12*getCreatureMaxHealth(cid)/100)+(skill*6)+(magic*2))
doPlayerAddMana(cid,(12*getCreatureMaxMana(cid)/100)+(skill*6)+(magic*2))
doSendMagicEffect(getCreaturePosition(cid), 51)
addEvent(Blood4, 1 * 2000, cid)
end
end

local function Blood2(cid)
if isPlayer(cid) == TRUE then
doCreatureAddHealth(cid,(12*getCreatureMaxHealth(cid)/100)+(skill*6)+(magic*2))
doPlayerAddMana(cid,(12*getCreatureMaxMana(cid)/100)+(skill*6)+(magic*2))
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 Speed = createConditionObject(CONDITION_HASTE)
setConditionParam(Speed, CONDITION_PARAM_TICKS, 30000)
setConditionFormula(Speed, 0, 6000, 0, 6000)

local Immortal = createConditionObject(CONDITION_IMMORTAL)
setConditionParam(Immortal, CONDITION_PARAM_TICKS, 6000)

local Bog = createConditionObject(CONDITION_BLOOD)
setConditionParam(Bog, CONDITION_PARAM_TICKS, 30000)

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 } 
immortal = { lookType = getCreatureOutfit(cid).lookType,lookHead = 79,lookBody = 79,lookLegs = 79,lookFeet = 79, lookAddons = 3 } 
skill = getPlayerSkill(cid,0)
magic = getPlayerMagLevel(cid)
Blood = math.random(1,4)

-- Exhausted Settings --
local exhausted_seconds2 = 1 -- How many seconds 
local exhausted_storagevalue2 = 9893 -- Storage Value 

local exhausted_seconds3 = 2 -- How many seconds 
local exhausted_storagevalue3 = 8162 -- Storage Value 

local exhausted_seconds4 = 1 -- How many seconds 
local exhausted_storagevalue4 = 6245 -- Storage Value 

-- Exhausted Settings END --

if getPlayerSoul(cid) <= 49 then
doPlayerSendTextMessage(cid,20,'Desculpe, você não tem Souls suficiente.')
return TRUE
end

 if getCreatureCondition(cid, CONDITION_EXHAUSTED) == TRUE then
 doPlayerSendCancel(cid,"Está esgotado.")
  return TRUE
   end

if getCreatureCondition(cid, CONDITION_BLOOD) == TRUE then
doPlayerSendTextMessage(cid,20,'Você não pode usar um blood of gods durante o efeito de outro.')
return TRUE
end

if(os.time() < getPlayerStorageValue(cid, exhausted_storagevalue2)) then
 doPlayerSendCancel(cid,"Você está muito cansado.")
return TRUE
end

if(os.time() < getPlayerStorageValue(cid, exhausted_storagevalue3)) then
doPlayerSendCancel(cid,"Você está muito cansado.")
return TRUE
end

if(os.time() < getPlayerStorageValue(cid, exhausted_storagevalue4)) then
doPlayerSendCancel(cid,"Está esgotado.")
return TRUE
end

if Blood == 1 and (os.time() >= getPlayerStorageValue(cid, exhausted_storagevalue2)) and (os.time() >= getPlayerStorageValue(cid, exhausted_storagevalue3)) and (os.time() >= getPlayerStorageValue(cid, exhausted_storagevalue4)) then
doTargetCombatCondition(cid, 0, Bog, 255)
doCreatureAddHealth(cid,10*getCreatureMaxHealth(cid)/100)
doPlayerAddMana(cid,10*getCreatureMaxHealth(cid)/100)
doSetCreatureOutfit(cid, immortal, 6000)
doSendMagicEffect(getCreaturePosition(cid), 12)
doTargetCombatCondition(0, cid, Immortal, 51)
doPlayerSay(cid, "Muahaha!", TALKTYPE_ORANGE_1)
addEvent(Blood1, 1*2000,cid)
doPlayerAddSoul(cid,-50)
doRemoveItem(item.uid,1)

elseif Blood == 2 and (os.time() >= getPlayerStorageValue(cid, exhausted_storagevalue2)) and (os.time() >= getPlayerStorageValue(cid, exhausted_storagevalue3)) and (os.time() >= getPlayerStorageValue(cid, exhausted_storagevalue4)) then
doTargetCombatCondition(cid, 0, Bog, 255)
doCreatureAddHealth(cid,10*getCreatureMaxHealth(cid)/100)
doPlayerAddMana(cid,10*getCreatureMaxHealth(cid)/100)
doSetCreatureOutfit(cid, immortal, 6000)
doSendMagicEffect(getCreaturePosition(cid), 12)
doTargetCombatCondition(0, cid, Immortal, 51)
doPlayerSay(cid, "Muahaha!", TALKTYPE_ORANGE_1)
addEvent(Blood1, 1*2000,cid)
doPlayerAddSoul(cid,-50)
doRemoveItem(item.uid,1)

elseif Blood == 3 and (os.time() >= getPlayerStorageValue(cid, exhausted_storagevalue2)) and (os.time() >= getPlayerStorageValue(cid, exhausted_storagevalue3)) and (os.time() >= getPlayerStorageValue(cid, exhausted_storagevalue4)) then
doTargetCombatCondition(cid, 0, Bog, 255)
doCreatureAddHealth(cid,10*getCreatureMaxHealth(cid)/100)
doPlayerAddMana(cid,10*getCreatureMaxHealth(cid)/100)
doSetCreatureOutfit(cid, immortal, 6000)
doSendMagicEffect(getCreaturePosition(cid), 12)
doTargetCombatCondition(0, cid, Immortal, 51)
doPlayerSay(cid, "Muahaha!", TALKTYPE_ORANGE_1)
addEvent(Blood1, 1*2000,cid)
doPlayerAddSoul(cid,-50)
doRemoveItem(item.uid,1)

elseif Blood == 4 and (os.time() >= getPlayerStorageValue(cid, exhausted_storagevalue2)) and (os.time() >= getPlayerStorageValue(cid, exhausted_storagevalue3)) and (os.time() >= getPlayerStorageValue(cid, exhausted_storagevalue4)) then
doTargetCombatCondition(cid, 0, Bog, 255)
doCreatureAddHealth(cid,10*getCreatureMaxHealth(cid)/100)
doPlayerAddMana(cid,10*getCreatureMaxHealth(cid)/100)
doSetCreatureOutfit(cid, immortal, 6000)
doSendMagicEffect(getCreaturePosition(cid), 12)
doTargetCombatCondition(0, cid, Immortal, 51)
doPlayerSay(cid, "Muahaha!", TALKTYPE_ORANGE_1)
addEvent(Blood1, 1*2000,cid)
doPlayerAddSoul(cid,-50)
doRemoveItem(item.uid,1)
end
end

 

 

Erro:

Spoiler

aa.jpg.786544a0c88c1fbc7a7ecf1f5f15b405.jpg

 

Editado por Koring4 (veja o histórico de edições)

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.

Visitante
Responder

Quem Está Navegando 0

  • Nenhum usuário registrado visualizando esta página.

Estatísticas dos Fóruns

  • Tópicos 96.9k
  • Posts 519.7k

Informação Importante

Confirmação de Termo