Ir para conteúdo
Entre para seguir isso  
xXx1

Vomit System

Recommended Posts

xXx1    0
xXx1

Ola,Esta action é simples mas realisticaVoce podi comer até ficar full mas se vc ficar tentandu comer mesmu full vc podi vumitar, perdendu simplesmente 1 de hpporque só 1??porque se uma pessoa ta comendo é pra aumentar a life ou mana, intaum axo ke ficaria xato se ele perdesse mt HPÉ facil o player vomitar?Como na vida real não é mt facil, mas se vc ficar sempre tentando comer podi ter a certeza ke uma hora vc vomita, as probabilidades é 1 em 50, para mim axo ke dexa o jogo mais realista.passemos ao code:vai na pasta data/actions/scripts e procura por food.lua (deve estar la) abre ele e substitui tudo que esta dentro pelo seguinte:

--Food System 7.6 by Danielo with GM Eating System by Frerety and Vomit System by Colex--MAX_FOOD = 1200function onUse(cid, item, frompos, item2, topos)if item.itemid == 2328 thenfood = 96elseif item.itemid == 2362 thenfood = 96elseif item.itemid == 2363 thenfood = 72elseif item.itemid == 2666 thenfood = 180elseif item.itemid == 2667 thenfood = 144elseif item.itemid == 2668 thenfood = 120elseif item.itemid == 2669 thenfood = 254elseif item.itemid == 2670 thenfood = 196elseif item.itemid == 2671 thenfood = 360elseif item.itemid == 2672 thenfood = 720elseif item.itemid == 2673 thenfood = 56elseif item.itemid == 2674 thenfood = 72elseif item.itemid == 2675 thenfood = 156elseif item.itemid == 2676 thenfood = 96elseif item.itemid == 2677 thenfood = 12elseif item.itemid == 2678 thenfood = 160elseif item.itemid == 2679 thenfood = 12elseif item.itemid == 2680 thenfood = 24elseif item.itemid == 2681 thenfood = 108elseif item.itemid == 2682 thenfood = 240elseif item.itemid == 2683 thenfood = 240 --MODIFICelseif item.itemid == 2684 thenfood = 96elseif item.itemid == 2685 thenfood = 46elseif item.itemid == 2686 thenfood = 108elseif item.itemid == 2687 thenfood = 24elseif item.itemid == 2688 thenfood = 126  --MODIFICelseif item.itemid == 2689 thenfood = 120elseif item.itemid == 2690 thenfood = 72elseif item.itemid == 2691 thenfood = 96-------------------------------elseif item.itemid == 2695 thenfood = 96elseif item.itemid == 2696 thenfood = 108elseif item.itemid == 2787 thenfood = 72  --102elseif item.itemid == 2788 thenfood = 48elseif item.itemid == 2789 thenfood = 264elseif item.itemid == 2790 thenfood = 84elseif item.itemid == 2791 thenfood = 84elseif item.itemid == 2792 thenfood = 140elseif item.itemid == 2793 thenfood = 126elseif item.itemid == 2794 thenfood = 111elseif item.itemid == 2795 thenfood = 136elseif item.itemid == 2796 thenfood = 60elsereturn 0endvomit = math.random(1,50)if (getPlayerFood(cid) + food > MAX_FOOD) thenif getPlayerAccess(cid) > 2 thendoPlayerFeed(cid,food)doRemoveItem(item.uid,1)return 1elseif vomit == 1 thendoPlayerSendCancel(cid,"You are full, You have vomited.")doSendMagicEffect(getPlayerPosition(cid),8)doPlayerAddHealth(cid,-vomit)vom = doCreateItem(2025,4,getPlayerPosition(cid))doRemoveItem(item.uid,1)doSetItemSpecialDescription(vom,"Vomit")doDecayItem(vom)elsedoPlayerSendCancel(cid,"You are full.")endreturn 1endenddoPlayerFeed(cid,food)doRemoveItem(item.uid,1)return 1end
e é só issoespero que gostemnota: não testem com GM porque esse script ta com o sistema de GM comer sem ficar full por Frerety

Compartilhar este post


Link para o post
Kepow    0
Kepow

Bizarro, mas funciona xDEu coloquei para o cara perder 999999 de life quando vomita, assim ele pensa duas vezes antes de sair comendo(sim, vomito mortal)

Compartilhar este post


Link para o post
xXx1    0
xXx1

boto fe kra xD

Compartilhar este post


Link para o post
Dragonheart    0
Dragonheart

Otima a actionmas axu q você postou no lugar errado xD

Compartilhar este post


Link para o post
xXx1    0
xXx1

mlaz tinha q postar aonde??

Compartilhar este post


Link para o post
Malwee™    0
Malwee™

Concordo,Bizarro mais útil.Abraços,Malwee™

Compartilhar este post


Link para o post
Convidado Tarof   
Convidado Tarof

Manerin...+ pena q n tem mta gente q pense em deixar um ot realista nem msm em criar um ot com dificuldade so pensam em coisa easy e tosca

Compartilhar este post


Link para o post
Kentaro    0
Kentaro

OEUAOEuAEOUaheoAHEhOAHEAOehouAEPuts eu vo te q bota isso no mew ot

Compartilhar este post


Link para o post
Online    0
Online

e sempre bom tornar o seu ot mais realhista. parabens mano. muito foda esse action

Compartilhar este post


Link para o post
Black Felipe    0
Black Felipe

Eu ja vi isso e e muito bom ja testei e funfo, eu vomitei, vlws por tarse aki, fuis!

Compartilhar este post


Link para o post
Ayolian    0
Ayolian

bizarro, mas realmente, é na realidade, se eu comer 13 carnes, com certeza eu vo vumitar UIAHEAEIUHAE

Compartilhar este post


Link para o post
TeiXeiRa    0
TeiXeiRa

Rox...dexa o ot mais "real"mais ponha os creditos...;D

Compartilhar este post


Link para o post
Convidado RoDDz   
Convidado RoDDz

tem forum pra action

Compartilhar este post


Link para o post
donald    0
donald

vlw mto rox

Compartilhar este post


Link para o post
Kevox    0
Kevox

Muito criativo, só acho que a possibilidade poderia ser maior, assim como a quantidade de life em questão para a perda, já que você está traçando um paralelo entre o OTServ e a Vida Real. Se você estiver realmente cheio na RL e tentar pôr algo pra dentro, sua reação será vomitar, então poderia pôr 1 em 10.

Quando você vomita na Vida Real, tu passa mal, sente um mal gosto na boca e tal, poderia colocar pra perder 30 de life mais ou menos.

Compartilhar este post


Link para o post
Mandinha    0
Mandinha

muito legal a action... fika bem realistah u ot! Parabéns!!

...Mandinha...

Compartilhar este post


Link para o post
xXx1    0
xXx1

@karpe VuKra aumentar a vida q eh perde eh facil + dexar + realista eh um pouco foda xD

Compartilhar este post


Link para o post
Visitante
Este tópico está impedido de receber novos posts.
Entre para seguir isso  
  • Quem Está Navegando   0 membros estão online

    Nenhum usuário registrado visualizando esta página.

×