Nie tylko o Tibii i OTS...
Zbanowany
Witaj bardzo wasz prosze poczebuje zajefajny ots pod 8.0 tibie z nowymi potworkami boltami itp z góry bardzo bardzo dziekuje moje gg 588627
Offline
Najlepszy moim zdaniem ots pod tibie 8.0 to your ots masz go w tym temacie
http://www.tibia11.pun.pl/viewtopic.php?id=549
Offline
Sułtan łechtaczek
Robotnik
Zaraz znajde i dam edit
@edit
W data/actions/scripts tworzymy plik mana_rune.lua i wpisujemy w niego:
-- Mana Rune - by Killavus. -- -- Feel free to edit! -- function onUse(cid, item, frompos, item2, topos) local level = getPlayerLevel(cid) local mlevel = getPlayerMagLevel(cid) -- Exhausted Settings -- local exhausted_seconds = 1 -- How many seconds manarune will be unavailible to use. -- local exhausted_storagevalue = 750 -- Storage Value to store exhaust. It MUST be unused! -- -- Exhausted Settings END -- -- Mana Formula Settings -- -- You can use "level" and "mlevel" -- local mana_minimum = (level * 4) + (mlevel * 2) - 50 local mana_maximum = (level * 6) + (mlevel * 3) -- Mana Formula Settings END -- local mana_add = math.random(mana_minimum, mana_maximum) -- We check the charges. -- if(item.type > 1) then -- Exhausted check. -- if(os.time() > getPlayerStorageValue(cid, exhausted_storagevalue)) then -- Entity is player? -- if(isPlayer(item2.uid) == 1) then doSendMagicEffect(frompos, CONST_ME_MAGIC_RED) doSendMagicEffect(topos, CONST_ME_MAGIC_GREEN) doSendAnimatedText(topos, mana_add, TEXTCOLOR_LIGHTBLUE) doPlayerAddMana(item2.uid, mana_add) setPlayerStorageValue(cid, exhausted_storagevalue, os.time() + exhausted_seconds) doChangeTypeItem(item.uid, item.type - 1) else doSendMagicEffect(frompos, CONST_ME_POFF) doPlayerSendCancel(cid, "You can use this rune only on players.") end else doSendMagicEffect(frompos, CONST_ME_POFF) doPlayerSendCancel(cid, "You are exhausted.") end else if(os.time() < getPlayerStorageValue(cid, exhausted_storagevalue)) then doSendMagicEffect(frompos, CONST_ME_POFF) doPlayerSendCancel(cid, "You are exhausted.") else if(isPlayer(item2.uid) == 1) then doSendMagicEffect(frompos, CONST_ME_MAGIC_RED) doSendMagicEffect(topos, CONST_ME_MAGIC_GREEN) doSendAnimatedText(topos, mana_add, TEXTCOLOR_LIGHTBLUE) doPlayerAddMana(item2.uid, mana_add) setPlayerStorageValue(cid, exhausted_storagevalue, os.time() + exhausted_seconds) -- doRemoveItem(item.uid, 1) else doSendMagicEffect(frompos, CONST_ME_POFF) doPlayerSendCancel(cid, "You can use this rune only on players.") end end end return 1 end
A w actions.xml dodajesz
<action itemid="2281" script="mana_rune.lua" allowfaruse="1"/>
Ostatnio edytowany przez rici (2007-07-26 09:23:53)
Offline
hehe mi tam nie potrzebne sa manarunki
Ja wiem ze to nie tu pisze ale skad wziasc otsa pod tibie 8.0??
Offline
Zbanowany
Rici, ci co napisali double post, to karaj (upominaj) za to, a nie nawet nie zwracasz na nich uwagi - to są tylko takie moja uwagi, żebyś się poduczył co to znaczy być moderatorem na tym forum .
@down
Oni nic do ciebie nie będą mieli. Zasady to zasady, nic nie ma za darmo
Ostatnio edytowany przez Sir Chiracle (2007-07-27 16:56:05)
Offline
Sułtan łechtaczek
@Sir~Ale ja jeszcze wtedy nie miałem moda a jak ich troche przycisne to bedziecie się czepiac
@topic
Np
Offline
Zbanowany
@up
Chyba mnie pomyliłeś z Ricim xD
Offline
Ostrzezenie dla ciebie z głupie posty-Rici
Offline
Patrykator dalnem jestes???
O co ci chodzi???
Patrykator
Zaglądający
10702373
Skąd: Zgadnij...
Zarejestrowany: 2007-07-26
Posty: 14
Nick: Pan swiata demonow
Gildia: Brak
Świat: Harmonia
Level: 16
E-mail PW
Re: Manarune jak zrobic
Ostrzezenie dla ciebie z głupie posty-Rici
Ostrzezenie dla ciebie z głupie posty-Rici
Offline