Outils pour utilisateurs

Outils du site


talents:intimidation

Ceci est une ancienne révision du document !


/////////////////////////////////////////////////////////////////////////////////// //////////////////////////INTIMIDATION//////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////

[FUNCTION INTIMIDATION]

if (<SRC.tag0.Assourdissement>==1)

SRC.MESSAGErouge Vous ne pouvez utiliser d'habiletés pour l'instant.
RETURN 1

endif

if !(<src.tag.intimidation»0)

src.messagerouge Vous ne possédez pas cette habileté.
return 1

endif

IF (<SRC.flags>&statf_freeze) || (<src.flags>&statf_stone) || (<SRC.FLAGS>&statf_dead)

src.messagerouge Vous ne pouvez utiliser cette habileté dans votre état.
return 1

endif

src.message Qui voulez vous intimider ? targetf f_INTIMIDATION

[FUNCTION f_INTIMIDATION] IF !(<ARGO.ISVALID> && <ARGO.ISCHAR>)

messagerouge Vous devez choisir un être vivant.
return 1

ENDIF

IF (<ARGO.UID>==<UID>)

MESSAGEROUGE Vous ne pouvez pas utiliser cette habileté sur vous-même.
RETURN 1

ENDIF

IF (<ARGO.TAG0.PVPCHOICE>==2)

MESSAGErouge Ce joueur est en mode anti-pvp!
RETURN 1

ENDIF

if (<argo.tag0.CooldownIntimidation>==1)

messagerouge Cette cible ne peut pas être intimidée pour l'instant
return 1

endif

IF !(<ARGO.CANSEELOS>)

SRC.MESSAGEROUGE Votre cible n'est pas visible
RETURN 1

ENDIF

IF (<ARGO.DISTANCE»4)

SRC.MESSAGEROUGE Vous êtes trop loin de votre cible
RETURN 1

ENDIF

argo.tag.CooldownIntimidation=1 if (<argo.NPC>) argo.timerf 380-(<src.tag0.INTIMIDATION>/6)-(<src.int>/10), argo.tag.CooldownIntimidation= else argo.timerf 400-(<src.tag0.INTIMIDATION>/6)-(<src.int>/10), argo.tag.CooldownIntimidation= endif src.f_decrinque

if 1)⇐1) argo.SAYua 020 0 0 eng Résiste à l'habileté…

argo.sfx 03bd
argo.effect=3,i_fx_heal,6,10,5,011
return 1

else

serv.newitem i_mem_effet_intimidation
new.timer=(<src.tag0.Intimidation>/500)
argo.equip <new.uid>
argo.SAYua 020 0 0 eng Se sent intimidé...

endif

if (<argo.defname>==c_Vaudou)

if ((rand(1000)-(<argo.findid.i_mem_Vaudou.link.tag0.evasion>))<=1) 
 	argo.findid.i_mem_Vaudou.link.SAYua 020 0 0 eng Résiste à l'habileté...
	argo.findid.i_mem_Vaudou.link.sfx 03bd
	argo.findid.i_mem_Vaudou.link.effect=3,i_fx_heal,6,10,5,011
	return 1
else
	serv.newitem i_mem_effet_intimidation
	if (rand(1000)<=<src.tag0.INTIMIDATION>)
	new.timer=2
		else
	new.timer 1
	endif
	argo.findid.i_mem_Vaudou.link.equip <new.uid>
	argo.findid.i_mem_Vaudou.link.SAYua 020 0 0 eng Se sent intimidé...
endif

endif

[ITEMDEF i_mem_effet_intimidation] id=i_memory TYPE=t_eq_script Name=Effet Intimidation

on=@equip IF (!(<src.flags>&statf_freeze))

SRC.FLAGS |= statf_freeze

ENDIF src.sfx=0657 src.effect 3,i_fx_curse,6,10,5,020

on=@timer IF (<cont.flags>&statf_freeze)

cont.flags &=~ statf_freeze

ENDIF remove return 1

[ITEMDEF i_mem_INTIMIDATION] id=i_memory TYPE=t_eq_script Name=cool down INTIMIDATION

ON=@TIMER cont.messagevert Vous pouvvez réutiliser votre habileté d'intimidation remove return 1

[ITEMDEF i_mem_INTIMIDATION_2] id=i_memory TYPE=t_eq_script Name=unfreeze INTIMIDATION

on=@equip src.equip

ON=@TIMER IF (<cont.FLAGS>&statf_freeze)

cont.FLAGS &=~statf_freeze

ENDIF remove return 1

1)
rand(1000)-(<argo.tag0.evasion>
talents/intimidation.1696372671.txt.gz · Dernière modification : de pintou10_live.fr