TH

Script De Wand Com O Id 8304

Por Thony402, 22 de set. de 2009 em Archived

script
3
753
Thony402T
22 de setembro de 2009 às 20:51

Eae pessoal

Eu tentei fazer uma wand chamada

Flame Staff

pra funfar nas vocaçaoes sorc e druid

q tire de 700 a 1500

q atire Bolas de fogo

e de paralyse no cara

mais n consegui fazer entom gostaria q me ajudassem por favor

IvomecI
23 de setembro de 2009 às 19:48

Acho que fiz , olhe.

 

vá em data/items/items.xml -- > ctrl+f 8304 e substitua oque ta lá por isso :

 

</item>

<item id="8304" name="Flame Staff">

<attribute key="weight" value="250"/>

<attribute key="description" value="Fire Wand."/>

<attribute key="weaponType" value="wand"/>

<attribute key="shootType" value="fire"/>

<attribute key="range" value="8"/>

 

depois vai em weapons/scripts copie qualquer arquivo,renomeio para flamewand.lua e cole isto:

 

local combat = createCombatObject()

setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE)

 

local condition = createConditionObject(CONDITION_PARALYZE)

setConditionParam(condition, CONDITION_PARAM_TICKS, 20000)

--setConditionParam(condition, CONDITION_PARAM_SPEED, -200)

setConditionFormula(condition, -0.9, 0, -0.9, 0)

setCombatCondition(combat, condition)

 

end

 

end

 

return

end

 

E em weapons.xml cole isto :

 

</wand>

<wand id="8304" level="8" mana="10" min="700" max="1500" type="fire" function="default"> <!-- flamewand -->

<vocation name="Sorcerer"/>

satan666S
23 de setembro de 2009 às 23:42

essa tag não vai inciar o script dessa forma.

<wand id="8304" level="8" mana="10" min="700" max="1500" type="fire" function="default">