Ir para conteúdo

drigobo

Membro
  • Registro em

  • Última visita

Solutions

  1. vê se isso te ajuda

     
    local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_LIFEDRAIN) setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_EXPLOSIONHIT) setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -1000.0, -1000.0, -1000.0, -1000.0) local arr = { {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0}, {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0}, {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0}, {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0}, {1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 0}, {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0}, {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0}, {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0}, } local area = createCombatArea(arr) setCombatArea(combat, area) function onCastSpell(cid, var) local yellowGem = 3037 -- ID do Yellow Gem (não sei se é esse id msm) if getPlayerItemCount(cid, yellowGem) >= 1 then doCombat(cid, combat, var) doPlayerRemoveItem(cid, yellowGem, 1) return true else doPlayerSendCancel(cid, "Você não usou o Crystal de sua vocação ainda!") return false end end  
  2. drigobo's post in (Resolvido)Tutorial sobre masks completo? was marked as the answer   
    Isso mesmo, pq tipo se vc deixar o cabelo vermelho, e usa uma mask no cabelo, quando você for colorir o cabelo de Amarelo, ele vai ficar laranja, por isso tem q ser branco.

Informação Importante

Confirmação de Termo