ID:2252694
 
(See the best response by Marekssj3.)
Code:


Problem description:
Good evening, my friends, I need help in a code of the jashin ritual, I can not do a ritual that is correct, someone can help me, ritual purpose and after consuming the blood of the adversary he has to stay still inside the circle and If he suffers damage, who takes this damage and the person who is on the effect of the ritual. Thank you very much in advance .


Your English is bad and I have no idea what you're asking. Post what code you have already so we can help you fix it -- no one is going to write code for you from scratch, especially with that awful description.
desculpa pelo ingles horrivel , e que sou brasileiro ,aqui esta o codigo
mob/var/tmp/HidanRitual = null
//mob/verb/PegarHitual()
// var/mob/M in get_step(src,dir)//pega o cara que tiver na frente dele
// if(M)
// HidanRitual = M// define o marcador pra ele


//Poe isso na proc de andar HidanRitual = null

//if(M.HidanRitual) M = M.HidanRitual
aqui esta o jutsu que deveria marcar o M
mob/hidan
verb
TirarSangue(var/mob/M in get_step(src,dir))
set category = "Jutsus"
set name = "Tirar Sangue"
if(usr.froze)
usr<<"Você está paralisado"
return
if(usr.libering)
usr<<"Não enquanto libera chakra"
return
if(usr.concing)
usr<<"Não enquanto se concentra"
return
if(usr.resting)
usr<<"Não enquanto descansa"
return
if(usr.meditating)
usr<<"Não enquanto medita"
return
if(usr.Frozen)
usr<<"Você está paralisado"
return
if(usr.caught)
usr<<"Você foi capturado"
return
if(usr.captured)
usr<<"Você foi capturado"
return
if(usr.cast)
return
if(M.Kaiten||M.sphere||M.counter)
usr << ""
return
if(usr.PK==0)
usr<<"Zona NON-PK!!!"
return
if(M.PK==0)
usr<<"Zona NON-PK!!!"
return
else
usr.RandomChakra01()
if(usr.chakra<=0)
usr<<"Vc não possuia chakra suficiente para esse jutsu. Por isso o jutsu falhou e seu chakra foi drenado a ZERO"
usr.health=0
usr.chakra=0
usr.Death(usr)
return
if(M)
HidanRitual = M
usr.Blood=1
M.haveBlood=1
usr<<"Você esta lambendo o sangue a vida de [M]!"
usr<<"Voce tem 15 segundo para efetuar o ritual"
sleep(150)
M.haveBlood= 0
HidanRitual = null
aqui esta a var que deveria retorna o dano ao M
mob/Bump(mob/M)
if(istype(src,/turf))//if it's turf...
return//return...
if(istype(src,/obj))//if it's obj...
return
if(src.PK==0)
return
if(usr.froze)
usr<<"Você está paralisado"
return
if(usr.Treinando)
usr<<"Não enquanto Treina"
return
if(ismob(M.HidanRitual)) M = M.HidanRitual
if(usr.Rasenganativado==1)
var/damage = round(usr.nin)- M.Resistencia
if(damage<=0)damage=0
if(damage >= 1)
M.atirar(3,M.dir)
M.health -= damage
F_damage(M, damage, "#ff0000")
//var/mob/B=usr.Gowner
view(M) << "[M] foi acertado pelo Rasengan tirando [damage] de dano!!"
usr.Rasenganativado=0
usr.overlays -='rasengan.dmi'
M.Death(usr)
Best response

So easy.... bitten person set as player target, and in damege proc check, if player is in "yashimode" take damage from player target...
and this is why we need a separate Brazilian sector of byond
In response to Xavion_Zenovka
Not a bad idea honestly. There's a pretty big population of Portuguese speakers around here -- maybe even just a sub forum specifically for your language.
That would be a nightmare to manage.
In response to Nadrew
We could let Andrey moderate it. :p