Ir para conteúdo

StrikerYurots

Campones
  • Total de itens

    2
  • Registro em

  • Última visita

Sobre StrikerYurots

Informações

  • Char no Tibia
    ADM King
  • Forma que conheci o xTibia
    Otservs
  • Sou
    OT-Admin

StrikerYurots's Achievements

  1. desculpa o incomodo mais meu vip system tem storage testei e nao pegou, gostaria de por uma magia para usar somente se tiver storage 10301 mais nao consigo esterei mandano a magia aruma para mim por favor local combat1 = createCombatObject() setCombatParam(combat1, COMBAT_PARAM_TYPE, 1) setCombatParam(combat1, COMBAT_PARAM_EFFECT, 11) setCombatFormula(combat1, COMBAT_FORMULA_LEVELMAGIC, 0, 0, 0, 0) --======================================================================= local combat2 = createCombatObject() setCombatParam(combat2, COMBAT_PARAM_TYPE, 1) setCombatParam(combat2, COMBAT_PARAM_EFFECT, 0) setCombatFormula(combat2, COMBAT_FORMULA_LEVELMAGIC, 0, 0, 0, 0) --======================================================================= local combat3 = createCombatObject() setCombatParam(combat3, COMBAT_PARAM_TYPE, 1) setCombatParam(combat3, COMBAT_PARAM_EFFECT, 0) setCombatFormula(combat3, COMBAT_FORMULA_LEVELMAGIC, 0, 0, 0, 0) --======================================================================= local combat4 = createCombatObject() setCombatParam(combat4, COMBAT_PARAM_TYPE, 1) setCombatParam(combat4, COMBAT_PARAM_EFFECT, 0) setCombatFormula(combat4, COMBAT_FORMULA_LEVELMAGIC, 0, 0, 0, 0) --======================================================================= local area1 = { {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 1, 0, 1, 0, 1, 0, 0, 0, 0}, {0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0}, {0, 0, 0, 1, 1, 0, 2, 0, 1, 1, 0, 0, 0}, {0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0}, {0, 0, 0, 0, 1, 0, 1, 0, 1, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}} --======================================= local area2 = { {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 1, 2, 1, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}} --======================================= local area3 = { {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 1, 2, 1, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}} --======================================= local area4 = { {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 1, 2, 1, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}} --======================================= setCombatArea(combat1, createCombatArea(area1)) setCombatArea(combat2, createCombatArea(area2)) setCombatArea(combat3, createCombatArea(area3)) setCombatArea(combat4, createCombatArea(area4)) function onCastSpell(cid, var) addEvent(doCombat, 100, cid, combat1, var) addEvent(doCombat, 200, cid, combat2, var) addEvent(doCombat, 100, cid, combat3, var) addEvent(doCombat, 100, cid, combat4, var) end
  2. function onUse(cid, item) if getPlayerStorageValue(cid, 25504) == -1 then setPlayerStorageValue(cid, 25504, 1) doPlayerSendTextMessage(cid, 22, "Voce encontrou uma chave.") else doPlayerSendTextMessage(cid, 22, "Voce já fez esta quest.") return FALSE end return TRUE end <action itemid="8306" event="script" value="chave.lua"/> como eu faso pra ela remover o item que usa para dar a storage? no caso seria itemid="8306"
  • Quem Está Navegando   0 membros estão online

    • Nenhum usuário registrado visualizando esta página.
×
×
  • Criar Novo...