World Of Tibia

Zapraszamy do rejestracji !


#1 2008-12-30 13:56:23

Punish

http://img142.imageshack.us/img142/4186/uytkownikyk1.png

13606522
Zarejestrowany: 2008-12-28
Posty: 15

[8.1] Combat Knife

Skrypcik nie mój z :tibi.net.pl

Skrypcik fajny mo¿liwo¶æ rzucania

wchodzimy w data/items/items.xml kilkamy ctrl+f i wpisujemy combat knife
i zamieniamy na :

Kod:

<item id="2403" article="a" name="combat knife" plural="combasts kife">
		<attribute key="weight" value="2000"/>
		<attribute key="attack" value="30"/>
		<attribute key="weaponType" value="distance"/>
		<attribute key="shootType" value="spear"/>
		<attribute key="range" value="6"/>
		<attribute key="breakChance" value="50"/> <!-- ? -->
	</item>

potem wchodzimy w data/weapons/weapons.xml i dodajemy:

Kod:

<distance id="2403" range="6" enabled="1" exhaustion="0" ammo="hand" script="c knife.lua"></distance>

i w data/weapons/scripst robimy plik "c knife" i dajemy

Kod:

local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_BLOCKARMOR, 1)
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, 23)
setCombatFormula(combat, COMBAT_FORMULA_SKILL, 0, 0, 0, 0)
function onUseWeapon(cid, var)
	return doCombat(cid, combat, var)
end

animacja jest piercing bolta

Offline

 

#2 2009-02-23 14:37:35

Shavan

http://img142.imageshack.us/img142/4186/uytkownikyk1.png

10832368
SkÄ…d: Rybnik
Zarejestrowany: 2008-12-28
Posty: 26
WWW

Re: [8.1] Combat Knife

Heh rozwala mnie ten skrypt, ale jest super


http://images12.fotosik.pl/86/fec1ea9f410c6503.png
http://public2.tektek.org/img/av/0812/d21/0426/35e4921.png

Offline

 

Stopka forum

RSS
Powered by PunBB 1.2.23
© Copyright 2002–2008 PunBB
Polityka cookies - Wersja Lo-Fi

[ Generated in 0.022 seconds, 10 queries executed ]


Darmowe Forum | Ciekawe Fora | Darmowe Fora
www.pgis2010.pun.pl www.mikimenager2012.pun.pl www.nld.pun.pl www.ts3mods.pun.pl www.trollekomiksowe.pun.pl