sonkis 6 Postado Julho 8, 2010 Share Postado Julho 8, 2010 (editado) -- Algumas Informações Do Server ! Versão: 8.57 Team Forggent Server 1º Script Gostaria de 1 Script De 1 Npc Que Vende Promotion Vip ! O Nome Da Promotion Eu Gostaria Que Fosse: Revolution Knight, Revolution Paladin, Revolution Sorcerer, Revolution, Druid. Obs: Eu Gostaria Do Script Do Npc e Do Script Da Promotion. 2º Script Gostaria Que Alguem Crie Algumas Magias Para A Promotion Vip Info Das Magia: Utani Vis Hur = Todos Vip Com Promotion Vip , Info: Dure 1 Minuto E Corra = Utani Tempo Hur (: Exori Gran Mas = Knight, Info: 1 Exori Igual o Exori Gran Só Que Ele Aumentasse 2 SQM Por Segundo Durante 5 Segundos (:. Exevo Gran Pox = Druid, Info: 1 Magia De Poison Que Fosse 2x Menor Que o Exevo Gran Mas Frigo E De Vez De Gelo Fosse Veneno Exevo Gran Death = Sorcerer, Info: 1 Magia De Vis Que Fosse 2x Menor Que o Exevo Gran Mas Vis e De Vez De Raio Fosse Death (: Exevo Gran San = Paladin, Info: 1 Magia Do Tamanho Do Exevo Gran Death Só Que De Veêz de Hitar Death Hitasse San Exori Paralyze = Druid. Sorcerer, Info: Deixa o Inimigo Lerdo ! O Tamanho Da Magia = 2x o Tamanho Do Exori Gran Se Alguem Consegui-se Fazer Esses Scripts Para Min Eu Ficaria Grato ! Obg ! @Edit Os Id Da Promotion Serão: Sorcerer = 9 Druid = 10 Paladin = 11 Knight = 12 E Quando A Vip Dele Acaba-se Ele Volta-se A Ser Elite , Master , Elder , Royal ! Editado Julho 9, 2010 por sonkis Link para o comentário https://xtibia.com/forum/topic/136728-2-scripts/ Compartilhar em outros sites More sharing options...
tyuahoi 80 Postado Julho 8, 2010 Share Postado Julho 8, 2010 (editado) Axo que é +- isso q vc gostaria. faça um novo npc em data\npc e cole isso Dentro e salve no formato .xml <?xml version="1.0" encoding="UTF-8"?> <npc name="Promotion" script="data/npc/scripts/Sell/Vip.lua" walkinterval="2000" floorchange="0"> <health now="100" max="100"/> <look type="138" head="96" body="94" legs="79" feet="115" addons="0"/> <parameters> <parameter key="message_greet" value="Fale 'vip' Para Ser Promotion Vip."/> <parameter key="message_farewell" value="Farewell, |PLAYERNAME|!"/> <parameter key="module_keywords" value="1" /> <parameter key="keywords" value="hail queen;job;" /> <parameter key="keyword_reply1" value="I greet thee, my loyal subject." /> <parameter key="keyword_reply2" value="I am Queen Eloise. It is my duty to reign over this marvellous city and the lands of the north." /> <parameter key="module_shop" value="1"/> <parameter key="shop_sellable" value="" /> <parameter key="shop_buyable" value="" /> </parameters> </npc> Agora va em data\npc\scripts\Sell faça um novo bloca de notas com o nome Vip.lua e cole isso Dentro. local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end function onCreatureSay(cid, type, msg) npcHandler:onCreatureSay(cid, type, msg) end function onThink() npcHandler:onThink() end local node1 = keywordHandler:addKeyword({'vip'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'I can promote you for 20000 gold coins. Do you want me to promote you?'}) node1:addChildKeyword({'yes'}, StdModule.promotePlayer, {npcHandler = npcHandler, cost = 20000, level = 8, promotion = 2, text = 'Congratulations! You are now promoted.'}) node1:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Alright then, come back when you are ready.', reset = true}) npcHandler:addModule(FocusModule:new()) o npc ta ae. as spells n posso fazer hj talvez amanha eu consiga se ninguem conseguir para vc amanha ou dps eu posto aki. Editado Julho 8, 2010 por 1tyi Link para o comentário https://xtibia.com/forum/topic/136728-2-scripts/#findComment-903339 Compartilhar em outros sites More sharing options...
sonkis 6 Postado Julho 8, 2010 Autor Share Postado Julho 8, 2010 (editado) Valeu Uma Duvida Sobre o Npc Eu Sou Elite Knight = ID 8 Chego Laá No Npc E Falo Hi, Promotion, Yes, Bye. Ele Vai Me Deixar Como Revolution Knight? @Edit Para Não Fazer Double Post :B Teria Como Você Criar O Script Das Vocation.Xml ? Os ID Delas: 9 Revolution Sorcerer, 10 Revolution Druid, 11 Revolution Paladin, 12 Revolution Knight (: valeu :B Editado Julho 8, 2010 por sonkis Link para o comentário https://xtibia.com/forum/topic/136728-2-scripts/#findComment-903376 Compartilhar em outros sites More sharing options...
Zim 0 Postado Julho 8, 2010 Share Postado Julho 8, 2010 puts cara que preguiçade faze as coisas em Oo procura aqui no forum tutorial de spells e etc. vou ver se da tempo de fazer hoje, se der eu posto pra vc. Link para o comentário https://xtibia.com/forum/topic/136728-2-scripts/#findComment-903399 Compartilhar em outros sites More sharing options...
tyuahoi 80 Postado Julho 8, 2010 Share Postado Julho 8, 2010 script das vocations. <?xml version="1.0" encoding="UTF-8"?> <vocations> <vocation id="0" name="None" description="none" needpremium="0" gaincap="5" gainhp="5" gainmana="5" gainhpticks="6" gainhpamount="1" gainmanaticks="6" gainmanaamount="1" manamultiplier="4.0" attackspeed="2100" soulmax="100" gainsoulticks="120" fromvoc="0" attackable="no"> <formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/> <skill fist="1.5" club="2.0" sword="2.0" axe="2.0" distance="2.0" shielding="1.5" fishing="1.1" experience="1.0"/> </vocation> <vocation id="1" name="Sorcerer" description="a sorcerer" needpremium="0" gaincap="10" gainhp="5" gainmana="30" gainhpticks="6" gainhpamount="15" gainmanaticks="3" gainmanaamount="50" manamultiplier="1.1" attackspeed="2000" soulmax="100" gainsoulticks="120" fromvoc="1"> <formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/> <skill fist="1.5" club="2.0" sword="2.0" axe="2.0" distance="2.0" shielding="1.5" fishing="1.1" experience="1.0"/> </vocation> <vocation id="2" name="Druid" description="a druid" needpremium="0" gaincap="10" gainhp="5" gainmana="30" gainhpticks="6" gainhpamount="15" gainmanaticks="3" gainmanaamount="50" manamultiplier="1.1" attackspeed="2000" soulmax="100" gainsoulticks="120" fromvoc="2"> <formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/> <skill fist="1.5" club="1.8" sword="1.8" axe="1.8" distance="1.8" shielding="1.5" fishing="1.1" experience="1.0"/> </vocation> <vocation id="3" name="Paladin" description="a paladin" needpremium="0" gaincap="20" gainhp="10" gainmana="15" gainhpticks="4" gainhpamount="10" gainmanaticks="4" gainmanaamount="35" manamultiplier="1.4" attackspeed="1900" soulmax="100" gainsoulticks="120" fromvoc="3"> <formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/> <skill fist="1.2" club="1.2" sword="1.2" axe="1.2" distance="1.1" shielding="1.1" fishing="1.1" experience="1.0"/> </vocation> <vocation id="4" name="Knight" description="a knight" needpremium="0" gaincap="25" gainhp="15" gainmana="5" gainhpticks="3" gainhpamount="15" gainmanaticks="4" gainmanaamount="25" manamultiplier="3.0" attackspeed="1800" soulmax="100" gainsoulticks="120" fromvoc="4"> <formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/> <skill fist="1.1" club="1.1" sword="1.1" axe="1.1" distance="1.4" shielding="1.1" fishing="1.1" experience="1.0"/> </vocation> <vocation id="5" name="Master Sorcerer" description="a master sorcerer" needpremium="0" gaincap="10" gainhp="5" gainmana="30" gainhpticks="4" gainhpamount="20" gainmanaticks="2" gainmanaamount="120" manamultiplier="1.1" attackspeed="1600" soulmax="200" gainsoulticks="15" fromvoc="1" lessloss="30"> <formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/> <skill fist="1.5" club="2.0" sword="2.0" axe="2.0" distance="2.0" shielding="1.5" fishing="1.1" experience="1.0"/> </vocation> <vocation id="6" name="Elder Druid" description="an elder druid" needpremium="0" gaincap="10" gainhp="5" gainmana="30" gainhpticks="4" gainhpamount="20" gainmanaticks="2" gainmanaamount="120" manamultiplier="1.1" attackspeed="1600" soulmax="200" gainsoulticks="15" fromvoc="2" lessloss="30"> <formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/> <skill fist="1.5" club="1.8" sword="1.8" axe="1.8" distance="1.8" shielding="1.5" fishing="1.1" experience="1.0"/> </vocation> <vocation id="7" name="Royal Paladin" description="a royal paladin" needpremium="0" gaincap="20" gainhp="10" gainmana="15" gainhpticks="3" gainhpamount="20" gainmanaticks="3" gainmanaamount="65" manamultiplier="1.4" attackspeed="1400" soulmax="200" gainsoulticks="15" fromvoc="3" lessloss="30"> <formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/> <skill fist="1.2" club="1.2" sword="1.2" axe="1.2" distance="1.1" shielding="1.1" fishing="1.1" experience="1.0"/> </vocation> <vocation id="8" name="Elite Knight" description="an elite knight" needpremium="0" gaincap="25" gainhp="15" gainmana="5" gainhpticks="2" gainhpamount="25" gainmanaticks="3" gainmanaamount="40" manamultiplier="3.0" attackspeed="1300" soulmax="200" gainsoulticks="15" fromvoc="4" lessloss="30"> <formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/> <skill fist="1.1" club="1.1" sword="1.1" axe="1.1" distance="1.4" shielding="1.1" fishing="1.1" experience="1.0"/> </vocation> <vocation id="9" name="Revolution Sorcerer" description="an Revolution sorcerer" needpremium="1" gaincap="10" gainhp="5" gainmana="30" gainhpticks="4" gainhpamount="15" gainmanaticks="2" gainmanaamount="100" manamultiplier="1.1" attackspeed="1500" soulmax="200" gainsoulticks="15" fromvoc="5" lessloss="50"> <formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/> <skill fist="1.5" club="2.0" sword="2.0" axe="2.0" distance="2.0" shielding="1.5" fishing="1.1" experience="1.0"/> </vocation> <vocation id="10" name="Revolution Druid" description="an Revolution druid" needpremium="1" gaincap="10" gainhp="5" gainmana="30" gainhpticks="4" gainhpamount="15" gainmanaticks="2" gainmanaamount="100" manamultiplier="1.1" attackspeed="1500" soulmax="200" gainsoulticks="15" fromvoc="6" lessloss="50"> <formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/> <skill fist="1.5" club="1.8" sword="1.8" axe="1.8" distance="1.8" shielding="1.5" fishing="1.1" experience="1.0"/> </vocation> <vocation id="11" name="Revolution Paladin" description="an Revolution paladin" needpremium="1" gaincap="20" gainhp="10" gainmana="15" gainhpticks="3" gainhpamount="25" gainmanaticks="2" gainmanaamount="60" manamultiplier="1.4" attackspeed="1300" soulmax="200" gainsoulticks="15" fromvoc="7" lessloss="50"> <formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/> <skill fist="1.2" club="1.2" sword="1.2" axe="1.2" distance="1.1" shielding="1.1" fishing="1.1" experience="1.0"/> </vocation> <vocation id="12" name="Revolution Knight" description="an Revolution knight" needpremium="1" gaincap="25" gainhp="15" gainmana="5" gainhpticks="8" gainhpamount="30" gainmanaticks="3" gainmanaamount="50" manamultiplier="3.0" attackspeed="13000" soulmax="200" gainsoulticks="15" fromvoc="8" lessloss="50"> <formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/> <skill fist="1.1" club="1.1" sword="1.1" axe="1.1" distance="1.4" shielding="1.1" fishing="1.1" experience="1.0"/> </vocation> </vocations> sobre o script do npc tava lvl 100+ para conseguir a promotion vou editar para lvl 8. c vc chegar com um elder druid e falar hi vip yes ele tornara a ser revolution druid. axo q hj a nnoite consigo faze as spells para vc. Link para o comentário https://xtibia.com/forum/topic/136728-2-scripts/#findComment-903440 Compartilhar em outros sites More sharing options...
sonkis 6 Postado Julho 8, 2010 Autor Share Postado Julho 8, 2010 (editado) Blz Mano vo atualiza o script do npc agora e por o vocation.xml vlw. Agora só falta as magia *-*' Editado Julho 9, 2010 por sonkis Link para o comentário https://xtibia.com/forum/topic/136728-2-scripts/#findComment-903456 Compartilhar em outros sites More sharing options...
Posts Recomendados