#1 2008-12-01 16:25:16

GoD Trojca

Moderator

9772290
Skąd: Belgia
Zarejestrowany: 2008-11-27
Posty: 43
Login :: God Trojca
Świat :: TibiaTower
Level :: 666

[8.11]burning heart

Zapisz to jako burningheal.lua w folderze actions
Kod:

Spoiler:

function onUse(cid, item, frompos, item2, topos)
local mlvl = getPlayerMagLevel(cid)
local lvl = getPlayerLevel(cid)
local addhealth = 100
if mlvl >= 4 then
if lvl >= 8 then
doPlayerSay(cid,'Zycie',16)
doPlayerAddHealth(cid, addhealth)
if item.type > 1 then
doChangeTypeItem(item.uid,item.type-1)
end
else
doSendMagicEffect(frompos,2)
doPlayerSendCancel(cid,'Musisz miec co najmniej 4 Magic level, zeby tego uzyc.')
end
else
doSendMagicEffect(frompos,3)
doPlayerSendCancel(cid,'Musisz miec co najmniej 8 lvl by, moc uzywac leczacego serca.')
end
return 1
end

teraz otwórz actions.xml i dopisz tam
Kod:

Spoiler:


<action itemid="2353" script="burningheal.lua" />

skrypt nie jest mój ale działa na tibie 8.11. jest to "palące się serce" dodające hp.

Ostatnio edytowany przez GoD Trojca (2008-12-01 16:54:01)

Offline

 

#2 2008-12-01 16:32:07

Spaaw

Zbanowany

**********
Call me!
Skąd: Monachium
Zarejestrowany: 2008-11-29
Posty: 34
Punktów :   
Login :: Spaaw
Świat :: TibiaTower
Level :: 312

Re: [8.11]burning heart

A cóż to jest ?


_________________________________

Jest nas wielu.

Offline

 

Stopka forum

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


Darmowe Forum | Ciekawe Fora | Darmowe Fora
GotLink.plpps clan imprezuj.info.pl ikaraoke.info.pl