What's new

Atrybuty item?w.

Status
Not open for further replies.

laseczka1991

Advanced User
Joined
Jul 11, 2009
Messages
260
Reaction score
5
Age
32
Witam. Chcialbym sie dowiedziec jak edytowac item zeby dawal jakies atrybuty takie jak np:
-+500hp
-+500many
-regenerowa? hp o 200/s
-regenerowa? mane o 200/s
-regenerowa? soul
-dodawa? np +50 jakiegos skilla
-dodawa? szybko?ci chodzenia o 50%
-dodwa? jakis % expa z potwork?w
-i ostatni gdy zalozymy np. jakis armor to daje ona nam automatycznie atak utamo vita. A gdy go sciagniemy tracimy atak.

To chyba tyle:) Jak sobie cos przypomne to dopisze:)

Silnik TFS 0.3.6.

Dzieki. Za pomoc Repuciki.
 

Gervi

Active User
Joined
Apr 11, 2008
Messages
85
Reaction score
2
Odp: Atrybuty item?w.

Wchodzisz do twoj silnik/data/items/items.xml
I masz Np.
Code:
<item id="2640" article="a" name="pair of soft boots">
		<attribute key="weight" value="800" />
		<attribute key="slotType" value="feet" />
		<attribute key="decayTo" value="10021" />
		<attribute key="transformDeEquipTo" value="6132" />
		<attribute key="duration" value="14400" />
		<attribute key="healthGain" value="150" />
		<attribute key="healthTicks" value="2000" />
		<attribute key="manaGain" value="210" />
		<attribute key="manaTicks" value="1000" />
		<attribute key="showduration" value="1" />
		<attribute key="showattributes" value="1" />
                <attribute key="skillSword" value="30" />
                <attribute key="magiclevelpoints" value="15" />

Code:
<attribute key="healthGain" value="150" /> ([COLOR="Red"]value = ile hp[/COLOR])
<attribute key="manaGain" value="210" /> ([COLOR="Red"]value = [/COLOR][COLOR="Red"]ile many[/COLOR])
<attribute key="skillSword" value="30" /> ([COLOR="Red"]value = ile sword +[/COLOR]) skillDist,skillAxe,skillClub,skillShield
<attribute key="magiclevelpoints" value="15" /> ([COLOR="Red"]value =[/COLOR] [COLOR="Red"]ile magic +[/COLOR])
<attribute key="absorbPercentFire" value="90" /> ([COLOR="Red"]protection %[/COLOR])absorbPercentManaDrain,absorbPercentFire,absorbPercentIce,absorbPercentPhysical,absorbPercentHoly,absorbPercentEnergy,absorbPercentEarth,

Jak sobie przypomn? to dopisze,oczywi?cie da?em przyk?ad mo?esz doda? attribute key do innego itema.
 
Last edited:
Status
Not open for further replies.
Top