Tibia i OTS

Forum nie tylko o Tibi...


#1 2010-07-05 04:46:11

szyszak98

Administrator

Zarejestrowany: 2010-07-04
Posty: 2389
Punktów :   

[7.6] Skrypt runa na dwarfa.

Runa na dwarfa:

w ..spells/runes robimy plik dwarfaddon.lua

do niego wklejamy to:

Spoiler:

--**By Jassion**--

attackType = ATTACK_POISON
animationEffect = NM_ME_LOOSE_ENERGY

hitEffect = NM_ME_LOOSE_ENERGY
damageEffect = NM_ME_LOOSE_ENERGY
animationColor = RED
offensive = false

drawblood = false

UltimateHealingObject = MagicDamageObject(attackType, animationEffect, hitEffect, damageEffect, animationColor, offensive, drawblood, 0, 0)

function onCast(cid, creaturePos, level, maglv, var)
centerpos = {x=creaturePos.x, y=creaturePos.y, z=creaturePos.z}

timec = 3000
changeOutfit(cid, timec, 160)
end

Jezeli ustawimy na 0 czas bedzie nieskonczony
Nastepnie w spells.xml dodajemy

Spoiler:

<rune name="dwarfaddon"         id="2284" charges="8"         maglv="5" mana="0" enabled="1"></rune>

Offline

 

Stopka forum

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

[ Generated in 0.060 seconds, 10 queries executed ]


Darmowe Forum | Ciekawe Fora | Darmowe Fora
www.seafights.pun.pl www.kuroshitsujicentrum.pun.pl www.di.pun.pl www.narloch.pun.pl www.aifam.pun.pl