What's new

Wand+Rod

Status
Not open for further replies.

Skrypter

Advanced User
Joined
May 17, 2008
Messages
243
Reaction score
23
Witam !
Mam taki problem, chcia?bym zrobi? Staff tak aby m?g? z niego korzysta? Druid I Sorcere.Pr?buje robi? jednak wyskakuj? mi b??dy..
ID STAFF : 7958
Oraz chcia?bym aby uderza?a z Energi, od 100 levela, 75 many za strza?, hity od 150 do 600.

Dzi?ki, Skrypter
 

RafalGra

Advanced User
Joined
Dec 3, 2009
Messages
184
Reaction score
6
Odp: Wand+Rod

ok zaczynamy
wchodzisz w swojego ots'a>data>weapons
otwierasz ten plik weapons.xml notatnikiem
Nast?pnie pod
Code:
<?xml version="1.0" encoding="UTF-8"?>
<weapons>
wklejasz to:
Code:
	<wand id="7958" level="100" mana="75" min="150" max="600" type="energy" event="function" value="default">
		<vocation id="2"/><vocation id="1"/>
Nast?pnie wchodzisz w data>items
otwierasz plik items.xml w notatniku
bierzesz ctrl+f i w wyszukiwarce wpisujesz id itemu (czyli 7958)
i podmieniasz
Code:
<item id="7958" article="a" name="jester staff">
		<attribute key="weight" value="725" />
		<attribute key="weaponType" value="club" />
na to:
Code:
<item id="7958" article="a" name="NAZWA ROZGI">
		<attribute key="weight" value="2100" />
		<attribute key="weaponType" value="wand" />
		<attribute key="shootType" value="smallice" />
		<attribute key="range" value="9" />
I gotowe :) Je?eli co? Ci nie b?dzie dzia?a? pisz.
 

Skrypter

Advanced User
Joined
May 17, 2008
Messages
243
Reaction score
23
Odp: Wand+Rod

<?xml version="1.0" encoding="UTF-8"?>
<weapons>

<!-- Rods -->

<wand id="7958" level="100" mana="75" min="150" max="600" type="energy" event="function" value="default">
<vocation id="2"/><vocation id="1"/>


<wand id="2182" level="7" mana="2" min="8" max="18" type="earth" event="function" value="default"> <!-- Snakebite Rod -->
<vocation id="2"/>



[05/04/2010 20:21:58] [Warning - BaseEvents::loadFromXml] Cannot open weapons.xml file.
[05/04/2010 20:21:58] Line: 409, Info: Extra content at the end of the document
Wyskakuje b??d ...
 

RafalGra

Advanced User
Joined
Dec 3, 2009
Messages
184
Reaction score
6
Odp: Wand+Rod

<?xml version="1.0" encoding="UTF-8"?>
<weapons>
<!-- Rods -->
<wand id="7958" level="100" mana="75" min="150" max="600" type="energy" event="function" value="default">
<vocation id="2"/><vocation id="1"/>
TUTAJ DODAJ </wand>
<wand id="2182" level="7" mana="2" min="8" max="18" type="earth" event="function" value="default"> <!-- Snakebite Rod -->
<vocation id="2"/>
Jak to zrobisz b?dzie dzia?a?.
 

Skrypter

Advanced User
Joined
May 17, 2008
Messages
243
Reaction score
23
Odp: Wand+Rod

<?xml version="1.0" encoding="UTF-8"?>
<weapons>

<!-- Rods -->

<wand id="7958" level="100" mana="75" min="150" max="600" type="energy" event="function" value="default">
<vocation id="2"/><vocation id="1"/>

Teraz tak mam i dupa :p
 

RafalGra

Advanced User
Joined
Dec 3, 2009
Messages
184
Reaction score
6
Odp: Wand+Rod

<?xml version="1.0" encoding="UTF-8"?>
<weapons>
<!-- Rods -->
<wand id="7958" level="100" mana="75" min="150" max="600" type="energy" event="function" value="default">
<vocation id="2"/><vocation id="1"/>
Jak masz tak to dajesz jeszcze
Code:
</wand>
pomi?dzy
Code:
<wand id="7958" level="100" mana="75" min="150" max="600" type="energy" event="function" value="default">
<vocation id="2"/><vocation id="1"/>
a tym:
Code:
<wand id="2182" level="7" mana="2" min="8" max="18" type="earth" event="function" value="default"> <!-- Snakebite Rod -->
<vocation id="2"/>
Wtedy b?dzie ok. A w konsoli wyskakuj? Ci jaki? b??d?
 

Skrypter

Advanced User
Joined
May 17, 2008
Messages
243
Reaction score
23
Odp: Wand+Rod

Cz?owieku zanim ja zakapowa?em to HoHo
na pocz?tku zrobi?em tak
<vocation id="2"/></wand>
<vocation id="1"/>
Ale pu?niej si? skap?em i all dzia?a :).
Dzi?ki za pomoc !

Pozdro, Skrypter
 
Status
Not open for further replies.
Top