Postado Dezembro 12, 2012 12 anos Para nossa Alegria o Tony é sobrehumano Ele faz qualquer tipo de script O.O Independente de qual É isso mesmo...Ele faz qualquer coisa kk Só da o REP+.
Postado Dezembro 12, 2012 12 anos bom consegui fazer um mas não e igual se vai clicar nele ele vai dar fast atack ao player mas e bem utiu . primeiro vai ate data/actions/scripts faça um arquivo lua com este nome "pally" Coloque isto dentro . local condition = createConditionObject(CONDITION_HASTE) setConditionParam(condition, CONDITION_PARAM_TICKS, -1) setConditionFormula(condition, 0.7, -56, 0.7, -56) function onUse(cid, item, fromPosition, itemEx, toPosition) local config = { storage = 1987, pos = getCreaturePos(cid), } if exhaustion.check(cid,1988) == true then time = math.ceil(exhaustion.get(cid,1988)) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You can use this again in "..time.." seconds(s).") return true end function addBuff(cid) weapon = getPlayerWeapon(cid) if weapon ~= nil and weapon.uid > 0 then setItemAttackSpeed(weapon.uid, 400) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Weapon Speed: Increased") addEvent(removeBuff, 15000, cid) setPlayerStorageValue(cid, config.storage, 1) doChangeTypeItem(item.uid, item.type - 1) doSendAnimatedText(config.pos, "+Buffed", 192) doAddCondition(cid, condition) exhaustion.set(cid,1988, 15) else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "You must be wielding a weapon first.") end end function removeBuff(cid) if isPlayer(cid) then weapontwo = getPlayerWeapon(cid) setPlayerStorageValue(cid, config.storage, 0) if weapontwo ~= nil and weapontwo.uid > 0 then setItemAttackSpeed(weapontwo.uid, 0) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Weapon Speed: Normal") doRemoveCondition(cid, CONDITION_HASTE) end end end if getPlayerStorageValue(cid, config.storage) < 1 then addBuff(cid) else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "You have already buffed your weapon.") return true end return true end Depois Em data/actions/actions.xml cole isto . <action itemid="5953" event="script" value="buffs/pally.lua" allowfaruse="0"/> Depois va em data/itens/itens.xml axe este id "5953" E Coloque Isto . <item id="5953" article="a" name="herb of speed boost"> <attribute key="description" value="Increases weapon and player speed."/> <attribute key="weight" value="850"/> Se Vc Quiser Que Os Players Conjure Ela Faça Assim va em data/spells/scripts e Cole isto no final antes do </spells> <conjure name="Conjure Herb of Speed Boost" words="exevo con pal" lvl="5000" manapercent="100" soul="250" conjureId="5953" conjureCount="1" exhaustion="1000" needlearn="0" event="function" value="conjureItem"> Se Der Certo No Server Boa Sorte :] . Pra Quem Curte Um " Hard Rock , Metal , Industrial , Classicos " Curtão Minha Radio Online Pessoal .
Postado Dezembro 12, 2012 12 anos cara a respeito de dar mais fast attack eu creio que de agora fazer upgrade e ficar mais fast atack ainda não sei.. Ajudei? REP +
Postado Dezembro 12, 2012 12 anos Autor bom consegui fazer um mas não e igual se vai clicar nele ele vai dar fast atack ao player mas e bem utiu . primeiro vai ate data/actions/scripts faça um arquivo lua com este nome "pally" Coloque isto dentro . Depois Em data/actions/actions.xml cole isto . <action itemid="5953" event="script" value="buffs/pally.lua" allowfaruse="0"/> Depois va em data/itens/itens.xml axe este id "5953" E Coloque Isto . Se Vc Quiser Que Os Players Conjure Ela Faça Assim va em data/spells/scripts e Cole isto no final antes do </spells> <conjure name="Conjure Herb of Speed Boost" words="exevo con pal" lvl="5000" manapercent="100" soul="250" conjureId="5953" conjureCount="1" exhaustion="1000" needlearn="0" event="function" value="conjureItem"> Se Der Certo No Server Boa Sorte :] . É cara sinto muito mais esse treco seu nao deu serto ;/
Participe da conversa
Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.