Outils pour utilisateurs

Outils du site


talents:intimidation

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

talents:intimidation [2023/10/03 22:37] – créée pintou10_live.frtalents:intimidation [2024/05/14 13:13] (Version actuelle) pintou10_live.fr
Ligne 1: Ligne 1:
-/////////////////////////////////////////////////////////////////////////////////// +{{ :playground:21.png  |Intimidation }}
-////////////////////////////INTIMIDATION////////////////////////////////////////// +
-//////////////////////////////////////////////////////////////////////////////////+
  
 +**Le guerrier cible un adversaire et le paralyse.**
  
-[FUNCTION INTIMIDATION] +  * **Commande : .Intimidation** 
- +  * **Distance : Le guerrier ne peut intimider qu'à une distance maximale de 4 tiles.** 
-if (<SRC.tag0.Assourdissement>==1) +  * **Cooldown : Cooldown minimal de 30 secondes et maximal de 380 secondesFormule : (380/(Intelligence/500))-(((% d'intimidation)*10)/6). Si la cible est un NPCle cooldown est divisé par 2. Le cooldown est appliqué sur la cible, la cible ne peut pas être intimidée de nouveau avant la fin de ce cooldown. (Même s'il s'agit d'un guerrier différent).** 
- SRC.MESSAGErouge Vous ne pouvez utiliser d'habiletés pour l'instant. +  * **Durée de la paralysie :  (d'Intimidation)/50**
- 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 ((rand(1000)-(<argo.tag0.evasion>))<=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 +
talents/intimidation.1696372671.txt.gz · Dernière modification : de pintou10_live.fr