Conectarse

Recuperar mi contraseña

Últimos temas
» Ola buscamos...
Dom Jun 12, 2011 1:20 am por God naro

» temaaaimportante
Jue Jun 02, 2011 8:56 pm por God naro

» me retiro del foro
Jue Jun 02, 2011 2:22 am por Arni

» [Script]Spells por scroll (:
Mar Mayo 31, 2011 10:30 pm por Arni

» [Creaturescript] Prevenir la perdida de items sin aol
Mar Mayo 31, 2011 10:28 pm por Arni

»  [Talkation] Backpack Random Command !bp
Mar Mayo 31, 2011 10:27 pm por Arni

» Busco Un Scripter
Mar Mayo 31, 2011 9:36 pm por god troll

» Svargrond Map
Mar Mayo 31, 2011 4:00 pm por Arni

» 3 Sprites de Pokemon
Mar Mayo 31, 2011 3:20 am por Arni


[Script]Spells por scroll (:

Ver el tema anterior Ver el tema siguiente Ir abajo

[Script]Spells por scroll (:

Mensaje  god troll el Mar Mayo 31, 2011 7:57 pm

Mira te consegui esto, Este script es como el tibia de antes, los spells se aprenden con scroll y no con npc, ahi te va!
| Eso va en actions
|
|
v

Spoiler:
<action itemid="1949" script="spell_scroll.lua" />


y eso en scripts:

Spoiler:
function onUse(cid, item, frompos, item2, topos)
if item.actionid == 12000 then
doSendMagicEffect(frompos,14)
doPlayerLearnSpell(cid, 'exura')
doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE,'You have learned Light Healing spell.')
doRemoveItem(item.uid,1)
elseif item.actionid == 12001 then
doSendMagicEffect(frompos,14)
doPlayerLearnSpell(cid, 'exura gran')
doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE,'You have learned Intense Healing spell.')
doRemoveItem(item.uid,1)
elseif item.actionid == 12002 then
doSendMagicEffect(frompos,14)
doPlayerLearnSpell(cid, 'exevo flam hur')
doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE,'You have learned Fire Wave spell.')
doRemoveItem(item.uid,1)
elseif item.actionid == 12003 then
doSendMagicEffect(frompos,14)
doPlayerLearnSpell(cid, 'utevo res ina')
doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE,'You have learned Creature Illusion spell.')
doRemoveItem(item.uid,1)
elseif item.actionid == 12004 then
doSendMagicEffect(frompos,14)
doPlayerLearnSpell(cid, 'exiva')
doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE,'You have learned Find Person spell.')
doRemoveItem(item.uid,1)
elseif item.actionid == 12005 then
doSendMagicEffect(frompos,14)
doPlayerLearnSpell(cid, 'utevo lux')
doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE,'You have learned Light spell.')
doRemoveItem(item.uid,1)
elseif item.actionid == 12006 then
doSendMagicEffect(frompos,14)
doPlayerLearnSpell(cid, 'exani tera')
doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE,'You have learned Magic Rope spell.')
doRemoveItem(item.uid,1)
elseif item.actionid == 12007 then
doSendMagicEffect(frompos,14)
doPlayerLearnSpell(cid, 'exana pox')
doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE,'You have learned Antidote spell.')
doRemoveItem(item.uid,1)
elseif item.actionid == 12008 then
doSendMagicEffect(frompos,14)
doPlayerLearnSpell(cid, 'exori mort')
doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE,'You have learned Force Strike spell.')
doRemoveItem(item.uid,1)
elseif item.actionid == 12009 then
doSendMagicEffect(frompos,14)
doPlayerLearnSpell(cid, 'exani hur')
doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE,'You have learned Levitate spell.')
doRemoveItem(item.uid,1)
elseif item.actionid == 12010 then
doSendMagicEffect(frompos,14)
doPlayerLearnSpell(cid, 'exori flam')
doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE,'You have learned Fire Strike spell.')
doRemoveItem(item.uid,1)
elseif item.actionid == 12011 then
doSendMagicEffect(frompos,14)
doPlayerLearnSpell(cid, 'exori vis')
doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE,'You have learned Energy Strike spell.')
doRemoveItem(item.uid,1)
elseif item.actionid == 12012 then
doSendMagicEffect(frompos,14)
doPlayerLearnSpell(cid, 'utevo gran lux')
doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE,'You have learned Great Light spell.')
doRemoveItem(item.uid,1)
elseif item.actionid == 12013 then
doSendMagicEffect(frompos,14)
doPlayerLearnSpell(cid, 'utamo vita')
doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE,'You have learned Magic Shield spell.')
doRemoveItem(item.uid,1)
elseif item.actionid == 12014 then
doSendMagicEffect(frompos,14)
doPlayerLearnSpell(cid, 'utani hur')
doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE,'You have learned Haste spell.')
doRemoveItem(item.uid,1)
elseif item.actionid == 12015 then
doSendMagicEffect(frompos,14)
doPlayerLearnSpell(cid, 'exura sio')
doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE,'You have learned Heal friend spell.')
doRemoveItem(item.uid,1)
elseif item.actionid == 12016 then
doSendMagicEffect(frompos,14)
doPlayerLearnSpell(cid, 'exeta res')
doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE,'You have learned Challenge spell.')
doRemoveItem(item.uid,1)
elseif item.actionid == 12017 then
doSendMagicEffect(frompos,14)
doPlayerLearnSpell(cid, 'exura vita')
doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE,'You have learned Ultimate Healing spell.')
doRemoveItem(item.uid,1)
elseif item.actionid == 12018 then
doSendMagicEffect(frompos,14)
doPlayerLearnSpell(cid, 'utani gran hur')
doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE,'You have learned Strong Haste spell.')
doRemoveItem(item.uid,1)
elseif item.actionid == 12019 then
doSendMagicEffect(frompos,14)
doPlayerLearnSpell(cid, 'exana ina')
doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE,'You have learned Cancel Invisiblity spell.')
doRemoveItem(item.uid,1)
elseif item.actionid == 12020 then
doSendMagicEffect(frompos,14)
doPlayerLearnSpell(cid, 'utevo vis lux')
doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE,'You have learned Ultimate Light spell.')
doRemoveItem(item.uid,1)
elseif item.actionid == 12021 then
doSendMagicEffect(frompos,14)
doPlayerLearnSpell(cid, 'exevo grav vita')
doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE,'You have learned Wild Growth spell.')
doRemoveItem(item.uid,1)
elseif item.actionid == 12022 then
doSendMagicEffect(frompos,14)
doPlayerLearnSpell(cid, 'exevo gran vis lux')
doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE,'You have learned Great Energy Beam spell.')
doRemoveItem(item.uid,1)
elseif item.actionid == 12023 then
doSendMagicEffect(frompos,14)
doPlayerLearnSpell(cid, 'exevo vis lux')
doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE,'You have learned Energy Beam spell.')
doRemoveItem(item.uid,1)
elseif item.actionid == 12024 then
doSendMagicEffect(frompos,14)
doPlayerLearnSpell(cid, 'utana vid')
doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE,'You have learned Invisible spell.')
doRemoveItem(item.uid,1)
elseif item.actionid == 12025 then
doSendMagicEffect(frompos,14)
doPlayerLearnSpell(cid, 'exori')
doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE,'You have learned Berserk spell.')
doRemoveItem(item.uid,1)
elseif item.actionid == 12026 then
doSendMagicEffect(frompos,14)
doPlayerLearnSpell(cid, 'exura gran mas res')
doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE,'You have learned Mass Healing spell.')
doRemoveItem(item.uid,1)
elseif item.actionid == 12027 then
doSendMagicEffect(frompos,14)
doPlayerLearnSpell(cid, 'exevo mort hur')
doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE,'You have learned Energy Wave spell.')
doRemoveItem(item.uid,1)
elseif item.actionid == 12028 then
doSendMagicEffect(frompos,14)
doPlayerLearnSpell(cid, 'exevo gran mas pox')
doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE,'You have learned Poison Storm spell.')
doRemoveItem(item.uid,1)
elseif item.actionid == 12029 then
doSendMagicEffect(frompos,14)
doPlayerLearnSpell(cid, 'exevo gran mas vis')
doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE,'You have learned Ultimate Explosion spell.')
doRemoveItem(item.uid,1)
elseif item.actionid == 12030 then
doSendMagicEffect(frompos,14)
doPlayerLearnSpell(cid, 'exeta vis')
doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE,'You have learned Enchant Staff spell.')
doRemoveItem(item.uid,1)
elseif item.actionid == 12031 then
doSendMagicEffect(frompos,14)
doPlayerLearnSpell(cid, 'exevo pan')
doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE,'You have learned Create Food spell.')
doRemoveItem(item.uid,1)
elseif item.actionid == 12032 then
doSendMagicEffect(frompos,14)
doPlayerLearnSpell(cid, 'exevon con')
doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE,'You have learned Conjure Arrow spell.')
doRemoveItem(item.uid,1)
elseif item.actionid == 12033 then
doSendMagicEffect(frompos,14)
doPlayerLearnSpell(cid, 'exevo con pox')
doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE,'You have learned Poison Arrow spell.')
doRemoveItem(item.uid,1)
elseif item.actionid == 12034 then
doSendMagicEffect(frompos,14)
doPlayerLearnSpell(cid, 'exevo con mort')
doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE,'You have learned Conjure Bolt spell.')
doRemoveItem(item.uid,1)
elseif item.actionid == 12035 then
doSendMagicEffect(frompos,14)
doPlayerLearnSpell(cid, 'exevo con flam')
doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE,'You have learned Explosive Arrow spell.')
doRemoveItem(item.uid,1)
elseif item.actionid == 12036 then
doSendMagicEffect(frompos,14)
doPlayerLearnSpell(cid, 'exevo con vis')
doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE,'You have learned Power Bolt spell.')
doRemoveItem(item.uid,1)

end
return 1
end

god troll
Admin
Admin

Mensajes : 13
Puntos : 2134
Reputación : 2
Fecha de inscripción : 29/05/2011

Hoja de personaje
Rep: 1

Ver perfil de usuario

Volver arriba Ir abajo

Re: [Script]Spells por scroll (:

Mensaje  Arni el Mar Mayo 31, 2011 10:30 pm

exelente!! bro me sirvio arto!!
10/10 MAS REP+

Arni
Mod
Mod

Mensajes : 18
Puntos : 2124
Reputación : 0
Fecha de inscripción : 30/05/2011

Hoja de personaje
Rep: 1

Ver perfil de usuario

Volver arriba Ir abajo

Ver el tema anterior Ver el tema siguiente Volver arriba

- Temas similares

 
Permisos de este foro:
No puedes responder a temas en este foro.