What's new

Peleryna Niewidka( Blue Robe )

Status
Not open for further replies.

Hakeq

Banned
Joined
Mar 23, 2013
Messages
103
Reaction score
6
Autor: knightfire

A wi?c do dzie?a

Code:
If you want blue robe to make people invisible whenever they wear it, it never runs out of time, I've tried it on The Forgotten Server, I don't know if it will work on other servers. Thanks to Umby for little help with this.

Je?eli chcesz aby blue robe powodowa?o niewidzialno?c kiedykolwiek jest noszona, nigdy sie nie ko?czy?a.Pr?bowa?em na The Forgotten Server, Niewiem czy to dzia?a na innych serverach. Podziekowania dla Umby za ma?? pomoc z kodem.

W movements.xml dodaj:

Code:
<movevent event="Equip" itemid="2656" slot="armor" function="onEquipItem" />
<movevent event="DeEquip" itemid="2656" slot="armor" function="onDeEquipItem" />[/b]

Znajdz to w items.xml:

Code:
<item id="2656" name="blue robe">
<attribute key="description" value="Made with invisibility material."/>
<attribute key="weight" value="2200"/>
<attribute key="armor" value="11"/>
<attribute key="slotType" value="body"/>

I zamie? na:

Code:
<item id="2656" name="blue robe">
<attribute key="description" value="Made with invisibility material."/>
<attribute key="weight" value="2200"/>
<attribute key="armor" value="11"/>
<attribute key="slotType" value="body"/>
<attribute key="invisible" value="1"/>

Code:
And tada! you now have invisibility cloak!

I tada! Jestes nie widzialny !

Code:
There are different items to use rather than using blue robe, just change the slot type of this:

Mo?na r?zne itemki u?ywac z tymi w?asciwo?ciami nie tylko Blue Robe, poprostu zmien slot type lub id itemka!

A tutaj macie liste slot?w:
Code:
slot="armor"
slot="ring"
slot="feet"
slot="necklace"
slot="head"
slot="right-hand"
slot="left-hand"
slot="ammo"

No i to tyle..

Bye!
 
Status
Not open for further replies.
Top