Files
gamedir/Data/TableData/AlteringAttachments.xml
T
Wanne 71cb695318 ************************************************************
* Merged GameDir from Development Trunk: Revision 4063 *
************************************************************
- Merged from SVN: https://81.169.133.124/source/ja2/branches/Wanne/JA2%201.13%20MP

git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@1257 4f8fa57e-7814-0410-bad4-adc449f26b7c
2011-01-18 10:24:49 +00:00

38 lines
1.5 KiB
XML

<ALTERINGATTACHMENTLIST>
<!-- This is an example.
<ALTERINGATTACHMENT>
<usAttachmentIndex>902</usAttachmentIndex> This is the ID of the attachment we want to add slots.
<ALTERATION>
<ubWeaponClass>0</ubWeaponClass>
<usItemExclude>0</usItemExclude>
<usItemInclude>0</usItemInclude>
<addsSlot>0</addsSlot>
<removesSlot>0</removesSlot>
</ALTERATION>
<ALTERATION> This one adds slot 5, and removes slot 37,38 and 39 if the item this item is attached to has ID 332
<usItemInclude>332</usItemInclude>
<addsSlot>5</addsSlot>
<removesSlot>37</removesSlot>
<removesSlot>38</removesSlot>
<removesSlot>39</removesSlot>
</ALTERATION>
<ALTERATION> Adds slot 6 and removes slot 50, but only if this is a weapon and it's item class is
<ubWeaponClass>5</ubWeaponClass>
<addsSlot>6</addsSlot>
<removesSlot>50</removesSlot>
</ALTERATION>
<ALTERATION> This adds slot 7 and removes slot 50 from every item it's attached to, except item with ID 500.
<usItemExclude>500</usItemExclude>
<addsSlot>7</addsSlot>
<removesSlot>50</removesSlot>
</ALTERATION>
<ALTERATION> Adds slot 7 and removes slot 50 from all weapons with ubWeaponClass 2 or item ID 332, but it will not add one to slot 500. Even if it's the right ubWeaponClass.
<ubWeaponClass>2</ubWeaponClass>
<usItemExclude>500</usItemExclude>
<usItemInclude>332</usItemInclude>
<addsSlot>7</addsSlot>
<removesSlot>50</removesSlot>
</ALTERATION>
</ALTERINGATTACHMENT>
-->
</ALTERINGATTACHMENTLIST>