Ir para conteúdo
  • 0

pedrizito15

Pergunta

Tipo do script: Addons por classe

Protocolo (versão do Tibia): 8.60

Servidor utilizado: Styller Yourots "Completo"

Nível de experiência: ...

Adicionais/Informações: Gostaria de colocar um outfit por classe exemplo Sorcerer só pode usar Mage Outfit/Wizard Outfit Obrigado desde de já

 

Tipo do script: Magia de transformação

Protocolo (versão do Tibia): 8.60

Servidor utilizado: O mesmo

Nível de experiência: ...

Adicionais/Informações: Gostaria de uma magia de transformar um player em um wolf e adicionar + 15 skill e 1000 de hp

 

 

Primeira dúvida 2 rep+///////1 dúvida 1 rep +

Link para o comentário
Compartilhar em outros sites

8 respostass a esta questão

Posts Recomendados

  • 0

Sorceres Usando Apenas MAGE/WIZARD addons:

troque seu arquivo outfits.xml para

 

 

 

<?xml version="1.0"?>
<outfits>
<outfit id="1">
<list gender="0" lookType="136" name="Citizen"/>
<list gender="1" lookType="128" name="Citizen"/>
</outfit>

<outfit id="2">
<list gender="0" lookType="137" name="Hunter"/>
<list gender="1" lookType="129" name="Hunter"/>
</outfit>

<outfit id="3">
<list gender="0" lookType="138" name="Mage"/>
<list gender="1" lookType="130" name="Mage"/>
<vocation id="1"/>
<vocation id="5"/>
</outfit>

<outfit id="4">
<list gender="0" lookType="139" name="Knight"/>
<list gender="1" lookType="131" name="Knight"/>
</outfit>

<outfit id="5" premium="no">
<list gender="0" lookType="140" name="Noblewoman"/>
<list gender="1" lookType="132" name="Nobleman"/>
</outfit>

<outfit id="6" premium="no">
<list gender="0" lookType="141" name="Summoner"/>
<list gender="1" lookType="133" name="Summoner"/>
</outfit>

<outfit id="7" premium="no">
<list gender="0" lookType="142" name="Warrior"/>
<list gender="1" lookType="134" name="Warrior"/>
</outfit>

<outfit id="8" premium="no">
<list gender="0" lookType="147" name="Barbarian"/>
<list gender="1" lookType="143" name="Barbarian"/>
</outfit>

<outfit id="9" premium="no">
<list gender="0" lookType="148" name="Druid"/>
<list gender="1" lookType="144" name="Druid"/>
</outfit>

<outfit id="10" premium="no">
<list gender="0" lookType="149" name="Wizard"/>
<list gender="1" lookType="145" name="Wizard"/>
<vocation id="1"/>
<vocation id="5"/>
</outfit>

<outfit id="11" premium="no">
<list gender="0" lookType="150" name="Oriental"/>
<list gender="1" lookType="146" name="Oriental"/>
</outfit>

<outfit id="12" premium="no">
<list gender="0" lookType="155" name="Pirate"/>
<list gender="1" lookType="151" name="Pirate"/>
</outfit>

<outfit id="13" premium="no">
<list gender="0" lookType="156" name="Assassin"/>
<list gender="1" lookType="152" name="Assassin"/>
</outfit>

<outfit id="14" premium="no">
<list gender="0" lookType="157" name="Beggar"/>
<list gender="1" lookType="153" name="Beggar"/>
</outfit>

<outfit id="15" premium="no">
<list gender="0" lookType="158" name="Shaman"/>
<list gender="1" lookType="154" name="Shaman"/>
</outfit>

<outfit id="16" premium="no">
<list gender="0" lookType="252" name="Norsewoman"/>
<list gender="1" lookType="251" name="Norseman"/>
</outfit>

<outfit id="17" premium="no">
<list gender="0" lookType="269" name="Nightmare"/>
<list gender="1" lookType="268" name="Nightmare"/>
</outfit>

<outfit id="18" premium="no">
<list gender="0" lookType="270" name="Jester"/>
<list gender="1" lookType="273" name="Jester"/>
</outfit>

<outfit id="19" premium="no">
<list gender="0" lookType="279" name="Brotherhood"/>
<list gender="1" lookType="278" name="Brotherhood"/>
</outfit>

<outfit id="20" premium="no">
<list gender="0" lookType="288" name="Demonhunter"/>
<list gender="1" lookType="289" name="Demonhunter"/>
</outfit>

<outfit id="21" premium="no">
<list gender="0" lookType="324" name="Yalaharian"/>
<list gender="1" lookType="325" name="Yalaharian"/>
</outfit>

<outfit id="22" premium="no">
<list gender="0" lookType="336" name="Warmaster"/>
<list gender="1" lookType="335" name="Warmaster"/>
</outfit>

<outfit id="23" premium="no">
<list gender="0" lookType="329" name="Wife"/>
<list gender="1" lookType="328" name="Husband"/>
</outfit>

<outfit id="24" premium="no">
<list gender="0" lookType="366" name="Wayfarer"/>
<list gender="1" lookType="367" name="Wayfarer"/>
</outfit>

<outfit id="25" premium="no">
<list gender="0" lookType="12" name="verminor"/>
<list gender="1" lookType="12" name="verminor"/>
</outfit>

<outfit id="26" premium="no">
<list gender="0" lookType="347" name="bixinho"/>
<list gender="1" lookType="347" name="bixinho"/>
</outfit>
</outfits>

 

 

você quizer por outros outfits para determinada vocação basta por está tag igual eu fiz... \/

 

<vocation id="5"/>

 

 

Aqui a Spell:

local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_GREEN)

local condition = createConditionObject(CONDITION_OUTFIT)
setConditionParam(condition, CONDITION_PARAM_TICKS, 20000)
addOutfitCondition(condition, 0, 4, 0, 0, 0, 0)
setCombatCondition(combat, condition)


local condition2 = createConditionObject(CONDITION_ATTRIBUTES)
setConditionParam(condition2, CONDITION_PARAM_BUFF, 1)
setConditionParam(condition2, CONDITION_PARAM_SUBID, 2)
setConditionParam(condition2, CONDITION_PARAM_TICKS, 5 * 60 * 1000)
setConditionParam(condition2, CONDITION_PARAM_SKILL_MELEE, 15)
setConditionParam(condition2, CONDITION_PARAM_SKILL_SHIELD, 15)
setConditionParam(condition2, CONDITION_PARAM_STAT_MAXHEALTHPERCENT, 150)
setCombatCondition(combat, condition2)

local area = createCombatArea( { {1, 1, 1}, {1, 3, 1}, {1, 1, 1} } )
setCombatArea(combat, area)

function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end

 

TAG:

 

<instant name="nomedaspell" words="palavrasdaspell" lvl="16" mana="200" prem="0" selftarget="1"  exhaustion="1500" needlearn="0" event="script" value="Nomedaspell.lua">
<vocation id="1"/>
</instant>

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

  • 0

ok colocando seus 3 + rep '-'

 

man só mais uma dúvida isso é um buff certo gostaria de saber como fazer uma magia de ataque que so funciona com esse buff ( a magia de transforma)

 

e como mudar a criatura.

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

  • 0

data/spells/scripts/nomedamagia.lua

Você colocou o nome do arquivo na pasta spell nomedamagia.lua? -.

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

×
×
  • Criar Novo...