Ci-dessous, les différences entre deux révisions de la page.
| Prochaine révision | Révision précédente | ||
| talents:desarmement [2023/10/03 22:17] – créée pintou10_live.fr | talents:desarmement [2024/05/14 12:32] (Version actuelle) – pintou10_live.fr | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| - | [FUNCTION f_desarmement] | + | {{ : |
| - | if (<i.tag0.desarmement>> | + | |
| - | IF !(<src.npc>) | + | **Chaque attaque du guerrier avec son arme de spécialisation a des chances de désarmer son adversaire. La personne désarmée ne peut plus équiper la sorte d'arme qui a été désarmée pendant X secondes. Ainsi, si la personne se fait désarmer |
| - | if !(<src.findid.i_desarmement_memory> | + | |
| - | IF (rand(100) <= (< | + | |
| - | + | ||
| - | if !(< | + | |
| - | + | ||
| - | if (< | + | |
| - | src.tag.desarmementweapontype=5 | + | |
| - | endif | + | |
| - | + | ||
| - | if (< | + | |
| - | src.tag.desarmementweapontype=6 | + | |
| - | endif | + | |
| - | + | ||
| - | if (< | + | |
| - | src.tag.desarmementweapontype=7 | + | |
| - | endif | + | |
| - | + | ||
| - | if (< | + | |
| - | src.tag.desarmementweapontype=8 | + | |
| - | endif | + | |
| - | + | ||
| - | TRY src.findlayer(2).unequip | + | |
| - | endif | + | |
| - | + | ||
| - | if (< | + | |
| - | src.tag.desarmementweapontype=1 | + | |
| - | endif | + | |
| - | + | ||
| - | if (< | + | |
| - | src.tag.desarmementweapontype=2 | + | |
| - | endif | + | |
| - | + | ||
| - | if (< | + | |
| - | src.tag.desarmementweapontype=3 | + | |
| - | endif | + | |
| - | + | ||
| - | if (< | + | |
| - | src.tag.desarmementweapontype=4 | + | |
| - | endif | + | |
| - | + | ||
| - | TRY src.findlayer(1).unequip | + | |
| - | src.sfx=0235 | + | |
| - | src.effect=3,i_fx_sparkle_2, | + | |
| - | SRC.MESSAGEROUGE Vous vous faites | + | |
| - | SERV.NEWITEM i_desarmement_memory | + | |
| - | SRC.EQUIP < | + | |
| - | NEW.TIMER=(2+(< | + | |
| - | ENDIF | + | |
| - | endif | + | |
| - | ENDIF | + | |
| - | + | ||
| - | IF (< | + | |
| - | src.events +e_desarmement_npc | + | |
| - | src.emote Se fait désarmer | + | |
| - | src.timerf 2+(< | + | |
| - | src.tag.GlobalCooldownDesarmementNPC=1 | + | |
| - | src.timerf 100-(< | + | |
| - | endif | + | |
| - | + | ||
| - | ////// | + | |
| - | if (< | + | |
| - | IF !(< | + | |
| - | if !(< | + | |
| - | IF (rand(100) <= (< | + | |
| - | if !(< | + | |
| - | if (< | + | |
| - | src.findid.i_mem_Vaudou.link.tag.desarmementweapontype=5 | + | |
| - | endif | + | |
| - | + | ||
| - | if (< | + | |
| - | src.findid.i_mem_Vaudou.link.tag.desarmementweapontype=6 | + | |
| - | endif | + | |
| - | + | ||
| - | if (< | + | |
| - | src.findid.i_mem_Vaudou.link.tag.desarmementweapontype=7 | + | |
| - | endif | + | |
| - | + | ||
| - | if (< | + | |
| - | src.findid.i_mem_Vaudou.link.tag.desarmementweapontype=8 | + | |
| - | endif | + | |
| - | + | ||
| - | TRY src.findid.i_mem_Vaudou.link.findlayer(2).unequip | + | |
| - | endif | + | |
| - | + | ||
| - | if (< | + | |
| - | src.findid.i_mem_Vaudou.link.tag.desarmementweapontype=1 | + | |
| - | endif | + | |
| - | + | ||
| - | if (< | + | |
| - | src.findid.i_mem_Vaudou.link.tag.desarmementweapontype=2 | + | |
| - | endif | + | |
| - | + | ||
| - | if (< | + | |
| - | src.findid.i_mem_Vaudou.link.tag.desarmementweapontype=3 | + | |
| - | endif | + | |
| - | + | ||
| - | if (< | + | |
| - | src.findid.i_mem_Vaudou.link.tag.desarmementweapontype=4 | + | |
| - | endif | + | |
| - | + | ||
| - | TRY src.findid.i_mem_Vaudou.link.findlayer(1).unequip | + | |
| - | SRC.findid.i_mem_Vaudou.link.MESSAGEROUGE Vous vous faites désarmer votre arme. | + | |
| - | SERV.NEWITEM i_desarmement_memory | + | |
| - | SRC.findid.i_mem_Vaudou.link.EQUIP < | + | |
| - | NEW.TIMER=(2+(< | + | |
| - | ENDIF | + | |
| - | endif | + | |
| - | ENDIF | + | |
| - | + | ||
| - | IF (< | + | |
| - | src.findid.i_mem_Vaudou.link.events +e_desarmement_npc | + | |
| - | src.findid.i_mem_Vaudou.link.emote Se fait désarmer | + | |
| - | src.findid.i_mem_Vaudou.link.timerf 2+(< | + | |
| - | src.findid.i_mem_Vaudou.link.tag.GlobalCooldownDesarmementNPC=1 | + | |
| - | src.findid.i_mem_Vaudou.link.timerf 100-(< | + | |
| - | endif | + | |
| - | endif | + | |
| - | endif | + | |
| + | * **Note : Le guerrier polyvalent, ayant des spécialisations dans tous les types d' | ||
| + | * **Chances de désarmer : X chances sur 100. X augmente de 2 à chaque 10% dans la compétence, | ||
| + | * **Durée du désarmement : 2 + ((% de désarmement)*10)/ | ||
| + | * **Cooldown : Pour l' | ||