Ir para conteúdo
Entre para seguir isso  
vyctor17

Adicionando bonus em seus addons

Recommended Posts

vyctor17    35
vyctor17

Adicionando bônus em seus addons

Testado: TFS 0.3.6pl1

Retirado: OTLand

sem bug na hora de trokar de outfit

OBS: so funciona se tiveer todos os addons ativados

Explicação:

Com essa modificação, você poderá adicionar atributos e status como speed, life maximo e outros...

 

Instalação:

Abra o outfits.xml que se encontra dentro da pasta xml, e troque por isso:

Código:

[spoiler=script]

<?xml version="1.0"?>
<outfits>
   <outfit id="1">
       <list gender="0" lookType="136" name="Citizen">
       <attribute speed="5"/>
       <stats maxHealth="100"/>
           </list>
       <list gender="1" lookType="128" name="Citizen">
       <attribute speed="5"/>
       <stats maxHealth="100"/>
           </list>
   </outfit>

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

   <outfit id="3">
       <list gender="0" lookType="138" name="Mage">
       <stats magLevel="2"/>
       <stats maxMana="200"/>
       </list>
       <list gender="1" lookType="130" name="Mage">
       <stats magLevel="2"/>
       <stats maxMana="200"/>
       </list>
   </outfit>

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

   <outfit id="5" premium="yes">
       <list gender="0" lookType="140" name="Noblewoman">
       <skills club="3"/>
       </list>
       <list gender="1" lookType="132" name="Nobleman">
       <skills club="3"/>
       </list>
   </outfit>

   <outfit id="6" premium="yes">
       <list gender="0" lookType="141" name="Summoner">
       <stats magLevel="2"/>
       <stats maxMana="100"/>
       </list>
       <list gender="1" lookType="133" name="Summoner">
       <stats magLevel="2"/>
       <stats maxMana="100"/>
       </list>
   </outfit>

   <outfit id="7" premium="yes">
       <list gender="0" lookType="142" name="Warrior">
       <skills sword="3"/>
       </list>
       <list gender="1" lookType="134" name="Warrior">
       <skills sword="3"/>
       </list>
   </outfit>

   <outfit id="8" premium="yes">
       <list gender="0" lookType="147" name="Barbarian">
       <skills axe="3"/>
       </list>
       <list gender="1" lookType="143" name="Barbarian">
       <skills axe="3"/>
       </list>
   </outfit>

   <outfit id="9" premium="yes">
       <list gender="0" lookType="148" name="Druid">
       <stats magLevel="2"/>
       </list>
       <list gender="1" lookType="144" name="Druid">
       <stats magLevel="2"/>
       </list>
   </outfit>

   <outfit id="10" premium="yes">
       <list gender="0" lookType="149" name="Wizard">
       <stats magLevel="1"/>
       <stats maxMana="100"/>
       </list>
       <list gender="1" lookType="145" name="Wizard">
       <stats magLevel="1"/>
       <stats maxMana="100"/>
       </list>
   </outfit>

   <outfit id="11" premium="yes">
       <list gender="0" lookType="150" name="Oriental">
       <attribute speed="5"/>
       <stats maxHealth="200"/>
       <stats maxMana="200"/>
           </list>
       <list gender="1" lookType="146" name="Oriental">
       <attribute speed="5"/>
       <stats maxHealth="200"/>
       <stats maxMana="200"/>
           </list>
   </outfit>

   <outfit id="12" premium="yes">
       <list gender="0" lookType="155" name="Pirate">
       <stats maxHealth="100"/>
       <skills club="3"/>
       </list>
       <list gender="1" lookType="151" name="Pirate">
       <stats maxHealth="100"/>
       <skills club="3"/>
       </list>
   </outfit>

   <outfit id="13" premium="yes" >
       <list gender="0" lookType="156" name="Assassin">
       <attribute speed="5"/>
       <skills dist="2"/>
           </list>
       <list gender="1" lookType="152" name="Assassin">
       <attribute speed="5"/>
       <skills dist="2"/>
           </list>
   </outfit>

   <outfit id="14" premium="yes" >
       <list gender="0" lookType="157" name="Beggar">
       <stats maxHealth="200"/>
       </list>
       <list gender="1" lookType="153" name="Beggar">
       <stats maxHealth="200"/>
       </list>
   </outfit>

   <outfit id="15" premium="yes" >
       <list gender="0" lookType="158" name="Shaman">
       <stats magLevel="2"/>
       </list>
       <list gender="1" lookType="154" name="Shaman">
       <stats magLevel="2"/>
       </list>
   </outfit>

   <outfit id="16" premium="yes" >
       <list gender="0" lookType="252" name="Norsewoman">
       <skills shielding="2"/>
       <stats maxHealth="200"/>
       </list>
       <list gender="1" lookType="251" name="Norseman">
       <skills shielding="2"/>
       <stats maxHealth="200"/>
       </list>
   </outfit>

   <outfit id="17" premium="yes" >
       <list gender="0" lookType="269" name="Nightmare">
       <skills shielding="3"/>
       </list>
       <list gender="1" lookType="268" name="Nightmare">
       <skills shielding="3"/>
       </list>
   </outfit>

   <outfit id="18" premium="yes">
       <list gender="0" lookType="270" name="Jester">
       <stats maxMana="100"/>
       <attribute speed="5"/>
       <stats maxHealth="100"/>
       </list>
       <list gender="1" lookType="273" name="Jester">
       <stats maxMana="100"/>
       <attribute speed="5"/>
       <stats maxHealth="100"/>
       </list>
   </outfit>

   <outfit id="19" premium="yes">
       <list gender="0" lookType="279" name="Brotherhood">
       <reflect percentAll="20"/>
       <stats magLevel="2"/>
       <stats maxHealth="100"/>
       </list>
       <list gender="1" lookType="278" name="Brotherhood">
       <stats magLevel="2"/>
       <stats maxHealth="100"/>
       </list>
   </outfit>

   <outfit id="20" premium="yes" >
       <list gender="0" lookType="288" name="Demonhunter">
       <attribute speed="10"/>
       <stats maxHealth="200"/>
       </list>
       <list gender="1" lookType="289" name="Demonhunter">
       <attribute speed="10"/>
       <stats maxHealth="200"/>
       </list>
   </outfit>

   <outfit id="21" premium="yes" >
       <list gender="0" lookType="324" name="Yalaharian">
       <attribute speed="5"/>
       <stats magLevel="2"/>
       </list>
       <list gender="1" lookType="325" name="Yalaharian">
       <attribute speed="5"/>
       <stats magLevel="2"/>
       </list>
   </outfit>

   <outfit id="22" premium="yes">
       <list gender="0" lookType="336" name="Warmaster">
       <stats maxMana="100"/>
       <attribute speed="15"/>
       <stats maxHealth="100"/>
       <stats magLevel="2"/>
       </list>
       <list gender="1" lookType="335" name="Warmaster">
       <stats maxMana="100"/>
       <attribute speed="15"/>
       <stats maxHealth="100"/>
       <stats magLevel="2"/>
       </list>
   </outfit>

   <outfit id="24" premium="yes" >
       <list gender="0" lookType="329" name="Wedding"/>
       <list gender="1" lookType="328" name="Wedding"/>
   </outfit>

   <outfit id="34" access="3" premium="yes">
       <list gender="0-3" lookType="75" name="Gamemaster"/>
   </outfit>

   <outfit id="35" access="4" premium="yes">
       <list gender="0-3" lookType="266" name="Community Manager"/>
   </outfit>

   <outfit id="36" access="5" premium="yes">
       <list gender="0-3" lookType="302" name="God"/>
   </outfit>
</outfits>

 

 

Você também pode adicionar novos atributos e status, seguindo a lista:

manaShield

invisible

healthGain/healthTicks

manaGain/manaTicks

speed

--------------

reflect percentAll

reflect percentElements

reflect percentMagic

reflect percentEnergy

reflect percentFire

reflect percentPoison

reflect percentIce

reflect percentHoly

reflect percentDeath

reflect percentLifeDrain

reflect percentManaDrain

reflect percentDrown

reflect percentPhysical

reflect percentHealing

reflect percentUndefined

reflect chanceAll

reflect chanceElements

reflect chanceMagic

reflect chanceEnergy

reflect chancetFire

reflect chancePoison

reflect chanceIce

reflect chanceHoly

reflect chanceDeath

reflect chanceLifeDrain

reflect chanceManaDrain

reflect chanceDrown

reflect chancePhysical

reflect chanceHealing

reflect chanceUndefined

--------------

absorb percentAll

absorb percentElements

absorb percentMagic

absorb percentEnergy

absorb percentFire

absorb percentPoison

absorb percentIce

absorb percentHoly

absorb percentDeath

absorb percentLifeDrain

absorb percentManaDrain

absorb percentDrown

absorb percentPhysical

absorb percentHealing

absorb percentUndefined

--------------

skills fist

skills club

skills axe

skills sword

skills distance

skills shielding

skills fishing

skills melee (fist, club, sword y axe)

skills weapon (club, sword, axe, dist)

skills fistPercent

skills clubPercent

skills axePercent

skills swordPercent

skills distancePercent

skills shieldingPercent

skills fishingPercent

skills meleePercent (fist, club, sword y axe)

skills weaponPercent (club, sword, axe, dist)

--------------

stats maxHealth

stats maxMana

stats soul

stats level

stats magLevel

stats maxHealthPercent

stats maxManaPercent

stats soulPercent

stats levelPercent

stats magLevelPercent

--------------

supress poison

supress fire

supress energy

supress physical

supress haste

supress paralyze

supress invisible

supress light

supress manaShield

supress drunk

supress drown

supress muted

e debug retirado por min :D Editado por vyctor17

Compartilhar este post


Link para o post
Antharaz    4
Antharaz

Aprovado e movido

Compartilhar este post


Link para o post
Kekezito_LHP    1
Kekezito_LHP

daora meu dessa nem sabia fiko legallll parabens ao criado e voce q trouce =D

Compartilhar este post


Link para o post
Ribas1574    1
Ribas1574

Veiiii ! muito bom, ta de parabens. Já vi isto num serveidor e fiquei louco querendo aprender agr eu sei. rs. Parabens e obrigado por trazer :D

 

PatrickRibas;*

Compartilhar este post


Link para o post
vyctor17    35
vyctor17

De nada a unica coisa que eu fiz alem de trazer para otserv foi remover o debug entao os creditos ainda e do Kwon :D

Compartilhar este post


Link para o post
Roku    0
Roku

genial, da mais rpg... e o comercio de itens de addon ganha um intermediario, e nao um fim em mera beleza.

 

ai agora voce faz o addon nao por beleza, por vantagens.

muito bom.

Compartilhar este post


Link para o post
Pifafa    0
Pifafa

Fico excelente mesmo!

Compartilhar este post


Link para o post
Feelry    0
Feelry

dexa-ve se entendi

quando voce bota o OUTFIT voce recebe o bonus, quando voce tira o OUTFIT o bonus tambem é tirado?

Compartilhar este post


Link para o post
vyctor17    35
vyctor17

quase isso e bonos no addon nao na outfit entao se vc tem uma outfit addon full vc ganha o bonos e quando tira vc perde

Compartilhar este post


Link para o post
PedroBreaker    0
PedroBreaker

Kra tu ta de parabens aew :) continua assim e tu vai longe ^^

eu que queria manja na area de script, mas eu so meio lolzinho :)

so melhor na area de mapper :).

Mas futuramente vo manja em script.

 

Aprovado:style::style::style:

Compartilhar este post


Link para o post
Seth Forsaken    0
Seth Forsaken
e debug retirado por min :D

Que debug? Eu vi lá no OTLand, e o cara não soube me explicar como funciona o Reflect e nem o Supress. Do jeito que ele me explicou, eu continuava bêbado e não refletia dano.

Você sabe fazer isso? Tipo, por o outfit não te deixa bêbado, reflete dano, essas coisas. Sabe?

 

Se souber, você vai ser considerado um excelente camarada :]

 

Grato.

 

Yours, Seth Forsaken~

Compartilhar este post


Link para o post
VittinhoO    0
VittinhoO

muito bom eu so queria um que tipo, so podia usar a outfit se vc for da tal vocation, sera que tem como fazer?

Compartilhar este post


Link para o post
vyctor17    35
vyctor17

@Seth Forsaken o debug que eu tirei era que quando vc clikava pra mduar a aoutfit o client fexava com debug so isso

 

@VittinhoO da pra fazer isso sim so nao lenbro como o.o

Compartilhar este post


Link para o post
AlfereS    0
AlfereS

Tem como colocar uma mensagem quando o player põe o outfit com os addons?

EX: o player coloca poe o outfit de citizen full addon, e aparece uma msg na tela dele (ou em laranja para todos os players):

"Esta outfit dá mais 100 de vida ao seu total de pontos de vida."

 

não sei se consegui ser claro com o meu pedido, mas tem como fazer isso?

 

obrigado

Compartilhar este post


Link para o post
Biozard    0
Biozard

Gostei CARA,VLWS

Compartilhar este post


Link para o post
Darkmaap    0
Darkmaap

tentei colocar mas na hra de executar o ot deu q nao conseguiu executar os outfits.xml como faço?

Compartilhar este post


Link para o post
Dargosh    0
Dargosh

Nossa eu nao sabia que dava para colocar essas funções na oufit,

obrigado esta implantado e funcionando 100% no meu server.

 

@VittinhoO <-- Gostei da ideia dele, mais nao sei fazer tambem.

Compartilhar este post


Link para o post
Rajas    0
Rajas

muito bom cara..

Compartilhar este post


Link para o post
iuniX    4
iuniX

Isso não seria um tutorial?

Compartilhar este post


Link para o post
Vittu    5
Vittu

Iunix, para mim não é um tutorial, parece, mais nao deixa de ser um script pronto.

 

@topic

nossa eu nao sabia que dava pra fazer isso, vlws manim ta add no meu futuro server.

Compartilhar este post


Link para o post
Visitante
Este tópico está impedido de receber novos posts.
Entre para seguir isso  
  • Quem Está Navegando   0 membros estão online

    Nenhum usuário registrado visualizando esta página.

×