Histórico de Curtidas
-
Faeelzinho deu reputação a Bruxo Ots em (Resolvido)Amuletvá até data\creaturescripts\scripts e crie um arquivo.lua e renomeie para aolinfinity.lua
dentro coloque:
Aonde esta 2173 coloca o ide do seu amuleto.
function onPrepareDeath(cid, lastHitKiller, mostDamageKiller) if isPlayer(cid) == true then if (getPlayerSlotItem(cid, 2).itemid == 2173) then doCreatureSetDropLoot(cid, false) doSendMagicEffect(getCreaturePosition(cid), CONST_ME_HOLYAREA) return TRUE end end return TRUE end
em data\creaturescripts\scripts\login.lua adiciona a linha:
registerCreatureEvent(cid, "onPrepareDeathinifi")
creaturescripts.xml adicione:
<event type="preparedeath" name="onPrepareDeathinifi" event="script" value="aolinfinity.lua"/> Creditos Vodkart.
-
Faeelzinho recebeu reputação de Bruxo Ots em Help-meentendi mano , vlw , te dando + REP , obrigado mesmo cara
-
Faeelzinho deu reputação a Xagah em Help-meVc deve ter colocado dentro do 'items.xml'.
Não adianta coloca só ali. Vc precisa ir no arquivo:
Data > Movements> movements.xml
E insere lá também. Aí funciona.
Se não souber como configurar volta aí....
-
Faeelzinho deu reputação a Bruxo Ots em Help-meCara seguinte nesses 4 x tu tem colocar o id do item .
E em todos os value 25 e aonde tu edita as skill ,testa pra ver funciona.
<item id="XXXX" article="a" name="Master Helmet">
<attribute key="weight" value="4000" />
<attribute key="armor" value="9" />
<attribute key="slotType" value="head" />
<attribute key="skillSword" value="25"/>
<attribute key="skillAxe" value="25"/>
<attribute key="skillClub" value="25"/>
<attribute key="skillShield" value="25"/>
<attribute key="skillSword" value="25"/>
<attribute key="skillDist" value="25"/>
<attribute key="magiclevelpoints" value="25" />
<attribute key="absorbPercentAll" value="25"/>
</item>
-
Faeelzinho deu reputação a Sekk em WandPelo o que eu vi aqui num script que tenho de wand, é o type "wand".
Se o nosso amigo @Heyron souber de scripts, eu encontrei uma linha no meu script aqui
[5] = {ef = 47, sh = 35, dmg = COMBAT_ENERGYDAMAGE}, Ela faz soltar exatamente esse effect ai...
Se quiserem o script: http://www.tibiaking.com/forum/topic/50960-talkaction-mudar-elemento-da-wand/
-
Faeelzinho deu reputação a Heyron em WandChequei toda minha lib mas não achei esse effect, acho que meu sv não tem esse.
-
Faeelzinho deu reputação a Heyron em Help-meVá em data/npc e copie algum arquivo.xml e renomeie para Army, dentro do arquivo você cola isso:
<?xml version="1.0" encoding="UTF-8"?> <npc name="Army" script="promotion.lua" walkinterval="1500" speed="100" walkradius="3" floorchange="0"> <health max="100" now="100"/> <look type="139" head="116" body="118" legs="61" feet="118" addons="3" mount="0"/> <parameters> <!--MESSAGES--> <parameter key="message_greet" value="Greetings |PLAYERNAME|, you want to be {promoted}?"/> <parameter key="message_farewell" value="Good bye |PLAYERNAME|."/> <parameter key="message_missingmoney" value="You don't have enough money."/> <parameter key="message_idletimeout" value="Good bye."/> <parameter key="message_decline" value="Then not."/> <parameter key="message_alreadyfocused" value="|PLAYERNAME|, I am already talking to you."/> <parameter key="message_walkaway_male" value="Good bye."/> <parameter key="message_walkaway_female" value="Good bye."/> </parameters> </npc> Agora vá em data/npc/scripts e copie algum arquivo.lua e renomeie ele para promotion, dentro dele você cola isso:
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({'promot'}, 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 = 20, promotion = 1, 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()) Feito!
-
Faeelzinho deu reputação a Sekk em (Resolvido)Atk de wand por SCRIPT@Faeelzinho Pra isso, vc deve saber o id da sua wand. Agora vá em weapons.xml e procure pelo id. Na tag da wand localize a palavra "type", e dentro desse type, coloque "cake".
-
Faeelzinho deu reputação a Heyron em WandVá em data/items/items.xml.
Procure a wand que você quer editar, vou usar a wand of decay como exemplo:
<item id="2188" article="a" name="wand of decay"> <attribute key="description" value="It is half-rotten itself and reeks terribly." /> <attribute key="weight" value="2300" /> <attribute key="weaponType" value="wand" /> <attribute key="shootType" value="death" /> <attribute key="range" value="3" /> </item>
Ali onde tá:
<attribute key="shootType" value="death" />
Você deixa:
<attribute key="shootType" value="cake" />