mRefaat
Marketing and Coding
Hello
I am thinking to find a way to make any wearing outfit gives bonus of a specific outfit.
I am using outfits.xml to add bonuses.
Any idea?
For example: if someone got Dwarf outfit and want to wear any other outfit can get the bonus of the Dwarf outfit.
This is my outfits.xml
Using tfs 0.3.7
I am thinking to find a way to make any wearing outfit gives bonus of a specific outfit.
I am using outfits.xml to add bonuses.
Any idea?
For example: if someone got Dwarf outfit and want to wear any other outfit can get the bonus of the Dwarf outfit.
This is my outfits.xml
XML:
<?xml version="1.0"?>
<outfits>
<outfit id="1">
<list gender="0" lookType="136" name="Citizen" speed="30">
<stats maxHealth="200"/>
</list>
<list gender="1" lookType="128" name="Citizen" speed="30">
<stats maxHealth="200"/>
</list>
</outfit>
<outfit id="2">
<list gender="0" lookType="137" name="Hunter">
<skills dist="5"/>
</list>
<list gender="1" lookType="129" name="Hunter">
<skills dist="5"/>
</list>
</outfit>
<outfit id="3">
<list gender="0" lookType="138" name="Mage">
<stats magLevel="5"/>
<stats maxMana="500"/>
</list>
<list gender="1" lookType="130" name="Mage">
<stats magLevel="5"/>
<stats maxMana="500"/>
</list>
</outfit>
<outfit id="4">
<list gender="0" lookType="139" name="Knight">
<skills sword="5"/>
</list>
<list gender="1" lookType="131" name="Knight">
<skills sword="5"/>
</list>
</outfit>
<outfit id="5" premium="yes">
<list gender="0" lookType="140" name="Noblewoman">
<skills club="5"/>
</list>
<list gender="1" lookType="132" name="Nobleman">
<skills club="5"/>
</list>
</outfit>
<outfit id="6" premium="yes">
<list gender="0" lookType="141" name="Summoner">
<stats magLevel="3"/>
<stats maxMana="300"/>
</list>
<list gender="1" lookType="133" name="Summoner">
<stats magLevel="3"/>
<stats maxMana="300"/>
</list>
</outfit>
<outfit id="7" premium="yes">
<list gender="0" lookType="142" name="Warrior">
<skills melee="5"/>
</list>
<list gender="1" lookType="134" name="Warrior">
<skills melee="5"/>
</list>
</outfit>
<outfit id="8" premium="yes">
<list gender="0" lookType="147" name="Barbarian">
<skills axe="7"/>
<skills sword="3"/>
<skills club="3"/>
<stats maxHealth="300"/>
</list>
<list gender="1" lookType="143" name="Barbarian">
<skills axe="7"/>
<skills sword="3"/>
<skills club="3"/>
<stats maxHealth="300"/>
</list>
</outfit>
<outfit id="9" premium="yes">
<list gender="0" lookType="148" name="Druid">
<stats magLevel="3"/>
<absorb percentPoison="7"/>
</list>
<list gender="1" lookType="144" name="Druid">
<stats magLevel="3"/>
<absorb percentPoison="7"/>
</list>
</outfit>
<outfit id="10" premium="yes">
<list gender="0" lookType="149" name="Wizard">
<stats magLevel="1"/>
<stats maxHealth="100"/>
<stats maxMana="100"/>
<absorb percentDeath="5"/>
</list>
<list gender="1" lookType="145" name="Wizard">
<stats magLevel="1"/>
<stats maxHealth="100"/>
<stats maxMana="100"/>
<absorb percentDeath="5"/>
</list>
</outfit>
<outfit id="11" premium="yes">
<list gender="0" lookType="150" name="Oriental" speed="50">
<stats maxHealth="300"/>
<stats maxMana="300"/>
</list>
<list gender="1" lookType="146" name="Oriental" speed="50">
<stats maxHealth="300"/>
<stats maxMana="300"/>
</list>
</outfit>
<outfit id="12" premium="yes">
<list gender="0" lookType="155" name="Pirate">
<stats maxHealth="100"/>
<skills club="5"/>
</list>
<list gender="1" lookType="151" name="Pirate">
<stats maxHealth="100"/>
<skills club="5"/>
</list>
</outfit>
<outfit id="13" premium="yes">
<list gender="0" lookType="156" name="Assassin" speed="80">
<skills dist="5"/>
<stats magLevel="3"/>
</list>
<list gender="1" lookType="152" name="Assassin" speed="80">
<skills dist="5"/>
<stats magLevel="3"/>
</list>
</outfit>
<outfit id="14" premium="yes">
<list gender="0" lookType="157" name="Beggar">
<absorb percentAll="3"/>
</list>
<list gender="1" lookType="153" name="Beggar">
<absorb percentAll="3"/>
</list>
</outfit>
<outfit id="15" premium="yes">
<list gender="0" lookType="158" name="Shaman">
<stats magLevel="2"/>
<absorb percentEnergy="7"/>
</list>
<list gender="1" lookType="154" name="Shaman">
<stats magLevel="2"/>
<absorb percentEnergy="7"/>
</list>
</outfit>
<outfit id="16" premium="yes">
<list gender="0" lookType="252" name="Norsewoman">
<skills shielding="5"/>
<absorb percentIce="10"/>
<stats maxHealth="200"/>
<skills club="3"/>
<stats magLevel="2"/>
</list>
<list gender="1" lookType="251" name="Norseman">
<skills shielding="5"/>
<absorb percentIce="10"/>
<stats maxHealth="200"/>
<skills club="3"/>
<stats magLevel="2"/>
</list>
</outfit>
<outfit id="17" premium="yes">
<list gender="0" lookType="269" name="Nightmare">
<skills shielding="5"/>
<absorb percentPhysical="8"/>
</list>
<list gender="1" lookType="268" name="Nightmare">
<skills shielding="5"/>
<absorb percentPhysical="8"/>
</list>
</outfit>
<outfit id="18" premium="yes">
<list gender="0" lookType="270" name="Jester" speed="50">
<stats maxMana="200"/>
<stats maxHealth="200"/>
</list>
<list gender="1" lookType="273" name="Jester" speed="50">
<stats maxMana="200"/>
<stats maxHealth="200"/>
</list>
</outfit>
<outfit id="19" premium="yes">
<list gender="0" lookType="279" name="Brotherhood">
<stats magLevel="3"/>
<absorb percentDeath="7"/>
<stats maxHealth="200"/>
</list>
<list gender="1" lookType="278" name="Brotherhood">
<stats magLevel="3"/>
<absorb percentDeath="7"/>
<stats maxHealth="200"/>
</list>
</outfit>
<outfit id="20" premium="yes">
<list gender="0" lookType="288" name="Demonhunter" speed="30">
<stats maxHealth="300"/>
<absorb percentFire="7"/>
</list>
<list gender="1" lookType="289" name="Demonhunter" speed="30">
<stats maxHealth="300"/>
<absorb percentFire="7"/>
</list>
</outfit>
<outfit id="21" premium="yes">
<list gender="0" lookType="324" name="Yalaharian" speed="50">
<stats magLevel="3"/>
<stats maxHealth="300"/>
<stats maxMana="300"/>
</list>
<list gender="1" lookType="325" name="Yalaharian" speed="50">
<stats magLevel="3"/>
<stats maxHealth="300"/>
<stats maxMana="300"/>
</list>
</outfit>
<outfit id="22" premium="yes">
<list gender="0" lookType="336" name="Warmaster">
<stats maxMana="400"/>
<stats maxHealth="400"/>
<stats magLevel="4"/>
<absorb percentHoly="8"/>
</list>
<list gender="1" lookType="335" name="Warmaster">
<stats maxMana="400"/>
<stats maxHealth="400"/>
<stats magLevel="4"/>
<absorb percentHoly="8"/>
</list>
</outfit>
<outfit id="23" premium="yes">
<list gender="0" lookType="366" name="Wayfarer" speed="150">
<stats maxMana="1000"/>
<stats maxHealth="1000"/>
<stats magLevel="7"/>
</list>
<list gender="1" lookType="367" name="Wayfarer" speed="150">
<stats maxMana="1000"/>
<stats maxHealth="1000"/>
<stats magLevel="7"/>
</list>
</outfit>
<outfit id="24" premium="yes" quest="20500">
<list gender="0-3" lookType="159" name="Elf" speed="50" healthGain="50" healthTicks="1000" manaGain="50" manaTicks="1000" requirement="none">
<stats magLevel="3"/>
<skills weapons="3"/>
<skills shielding="3"/>
<stats maxHealthPercent="103"/>
<stats maxManaPercent="103"/>
</list>
</outfit>
<outfit id="25" premium="yes" quest="19529">
<list gender="0-3" lookType="160" name="Dwarf" speed="200" healthGain="200" healthTicks="1000" manaGain="200" manaTicks="1000" requirement="none">
<stats magLevel="8"/>
<skills weapons="8"/>
<skills shielding="8"/>
<stats maxHealthPercent="105"/>
<stats maxManaPercent="105"/>
<absorb percentAll="5"/>
</list>
</outfit>
</outfits>