CaraiDeNome 0 Postado Janeiro 4, 2017 Share Postado Janeiro 4, 2017 (editado) Olá, eu tenho alguns script que é de um ot 7.92, eu queria usar esses sistema em um ot 10.99 com tfs 1.2 alguém pode me ajuda ? 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 se possível me dizer oque tenho que mudar. Eu tentei arrumar e fiz isso, ele parou de dar erro, mas ele cura o char apenas uma vez, ele deveria cura varias vezes. pode se por causa do storage ? Spoiler local function Blood15(cid) if isPlayer(cid) == TRUE then doCreatureAddHealth(cid,(12*getCreatureMaxHealth(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 doCreatureAddHealth(cid,(12*getCreatureMaxHealth(cid)/100)+(skill*6)+(magic*2)) doPlayerAddMana(cid,(12*getPlayerMaxMana(cid)/100)+(skill*6)+(magic*2)) doSendMagicEffect(getCreaturePosition(cid), 51) registerCreatureEvent(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*getPlayerMaxMana(cid)/100)+(skill*6)+(magic*2)) doSendMagicEffect(getCreaturePosition(cid), 51) registerCreatureEvent(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*getPlayerMaxMana(cid)/100)+(skill*6)+(magic*2)) doSendMagicEffect(getCreaturePosition(cid), 51) registerCreatureEvent(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*getPlayerMaxMana(cid)/100)+(skill*6)+(magic*2)) doSendMagicEffect(getCreaturePosition(cid), 51) registerCreatureEvent(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*getPlayerMaxMana(cid)/100)+(skill*6)+(magic*2)) doSendMagicEffect(getCreaturePosition(cid), 51) registerCreatureEvent(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*getPlayerMaxMana(cid)/100)+(skill*6)+(magic*2)) doSendMagicEffect(getCreaturePosition(cid), 51) registerCreatureEvent(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*getPlayerMaxMana(cid)/100)+(skill*6)+(magic*2)) doSendMagicEffect(getCreaturePosition(cid), 51) registerCreatureEvent(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*getPlayerMaxMana(cid)/100)+(skill*6)+(magic*2)) doSendMagicEffect(getCreaturePosition(cid), 51) registerCreatureEvent(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*getPlayerMaxMana(cid)/100)+(skill*6)+(magic*2)) doSendMagicEffect(getCreaturePosition(cid), 51) registerCreatureEvent(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*getPlayerMaxMana(cid)/100)+(skill*6)+(magic*2)) doSendMagicEffect(getCreaturePosition(cid), 51) registerCreatureEvent(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*getPlayerMaxMana(cid)/100)+(skill*6)+(magic*2)) doSendMagicEffect(getCreaturePosition(cid), 51) registerCreatureEvent(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*getPlayerMaxMana(cid)/100)+(skill*6)+(magic*2)) doSendMagicEffect(getCreaturePosition(cid), 51) registerCreatureEvent(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*getPlayerMaxMana(cid)/100)+(skill*6)+(magic*2)) doSendMagicEffect(getCreaturePosition(cid), 51) registerCreatureEvent(Blood3, 1 * 2000, cid) end end local function Blood1(cid) if isPlayer(cid) == TRUE then doSendMagicEffect(getCreaturePosition(cid), 51) registerCreatureEvent(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) <= 1 then doPlayerSendTextMessage(cid,20,'Desculpe, você não tem Souls suficiente.') return TRUE end if doAddCondition(cid, CONDITION_EXHAUSTED) == TRUE then doPlayerSendCancel(cid,"Está esgotado.") return TRUE end if doAddCondition(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 setCombatCondition(0, cid, Bog, 255) doCreatureAddHealth(cid,10*getCreatureMaxHealth(cid)/100) doPlayerAddMana(cid,10*getCreatureMaxHealth(cid)/100) doSetCreatureOutfit(cid, immortal, 6000) doSendMagicEffect(getCreaturePosition(cid), 12) setCombatCondition(0, cid, Immortal, 51) doCreatureSay(cid, "Muahaha!", TALKTYPE_ORANGE_1) registerCreatureEvent(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 setCombatCondition(0, cid, Bog, 255) doCreatureAddHealth(cid,10*getCreatureMaxHealth(cid)/100) doPlayerAddMana(cid,10*getCreatureMaxHealth(cid)/100) doSetCreatureOutfit(cid, immortal, 6000) doSendMagicEffect(getCreaturePosition(cid), 12) setCombatCondition(0, cid, Immortal, 51) doCreatureSay(cid, "Muahaha!", TALKTYPE_ORANGE_1) registerCreatureEvent(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 setCombatCondition(0, cid, Bog, 255) doCreatureAddHealth(cid,10*getCreatureMaxHealth(cid)/100) doPlayerAddMana(cid,10*getCreatureMaxHealth(cid)/100) doSetCreatureOutfit(cid, immortal, 6000) doSendMagicEffect(getCreaturePosition(cid), 12) setCombatCondition(0, cid, Immortal, 51) doCreatureSay(cid, "Muahaha!", TALKTYPE_ORANGE_1) registerCreatureEvent(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 setCombatCondition(0, cid, Bog, 255) doCreatureAddHealth(cid,10*getCreatureMaxHealth(cid)/100) doPlayerAddMana(cid,10*getCreatureMaxHealth(cid)/100) doSetCreatureOutfit(cid, immortal, 6000) doSendMagicEffect(getCreaturePosition(cid), 12) setCombatCondition(0, cid, Immortal, 51) doCreatureSay(cid, "Muahaha!", TALKTYPE_ORANGE_1) registerCreatureEvent(Blood1, 1*2000,cid) doPlayerAddSoul(cid,-50) doRemoveItem(item.uid,1) end end Alguém pode me ajudar ? Editado Janeiro 4, 2017 por CaraiDeNome Link para o comentário Compartilhar em outros sites More sharing options...
CaraiDeNome 0 Postado Janeiro 4, 2017 Autor Share Postado Janeiro 4, 2017 up! Link para o comentário Compartilhar em outros sites More sharing options...
Posts Recomendados