Open Tibia Server

Forum Zostalo Stworzone By Pomagać Ludzią W Grze Tibia Ots

  • Nie jesteś zalogowany.
  • Polecamy: Gry

#1 2008-12-25 08:08:30

Michal

Administrator

Zarejestrowany: 2008-12-24
Posty: 51
Punktów :   

Manarune

Wchodzimy w data/actions/scripts

Tworzymy notatnik
Wpisujemy w nim:

function onUse(cid, item, frompos, item2, topos)
local mlvl = getPlayerMagLevel(cid)
local lvl = getPlayerLevel(cid)
local addmana = math.random(8, lvl) * 30 + 185 - 8*30
if mlvl >= 4 then
if lvl >= 10 then
doPlayerSay(cid,'Uaa Daje Kopa Zawsze'.. addmana ..' Many.',16)
doPlayerAddMana(cid, addmana)
if item.type > 1 then
doChangeTypeItem(item.uid,item.type-1)
else
doRemoveItem(item.uid,1)
end
else
doSendMagicEffect(frompos,2)
doPlayerSendCancel(cid,'Ty Gnojku Masz Za Maly MLev!!!')
end
else
doSendMagicEffect(frompos,3)
doPlayerSendCancel(cid,'Manarune Nie Sa Dla Ciebie Za Maly Lev...')
end
return 1
end

Przechodzimy w data/actions/actions.xml

Dopisujemy pod:  -- Bread making buy me--

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

Czerwony = Id Manaruny

Offline

 

Stopka forum

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


Darmowe Forum | Ciekawe Fora | Darmowe Fora
usuwanie adblue Authentic Cabin - Unique location - In nature -... noclegi ciechocinek Specialiste boite de vitesses manuelle drewno kominkowe Kalwaria Zebrzydowska