All4Tibia

Forum poświęcone Tibii i Ots...

Ogłoszenie

Witaj na stronie All4Tibia...

#1 2009-04-02 15:44:18

Trojash

Administrator

Zarejestrowany: 2009-03-31
Posty: 10
Punktów :   

[7.6] Manarune

Skrypt Nie Jest Mój.

Najpierw Wchodzimy W Plik Z Ots Później data/actions/scripts/ I Robimy Plik O Nazwie manarune.lua

I Wklejamy To:

Spoiler:

function onUse(cid, item, frompos, item2, topos) mag = getPlayerMagLevel(cid) if mag >= 0 then doPlayerSay(cid,"Ahhh.. Mana Rune",16) doPlayerAddMana(cid1400,) if item.type > 1 then doChangeTypeItem(item.uid,item.type-1) else doRemoveItem(item.uid,1) end else doSendMagicEffect(frompos,2) doPlayerSendCancel(cid,"You are yet to have the Magic Level to use this rune...") end return 1 end

cid1400=ile ma dawac many


teraz wchodzimy w plik data/actions/actions.xml

I wklejamy to:

Spoiler:

<action itemid="2274" script="manarune.lua" />

Mam nadzieję że się przyda!
Powodzenia!!!

Offline

 

Stopka forum

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


Darmowe Forum | Ciekawe Fora | Darmowe Fora
www.hiphop-pl.pun.pl www.kupsztyl.pun.pl www.sp3a.pun.pl www.lareallife.pun.pl www.is2010.pun.pl