Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| talents:desarmement [2023/10/03 22:28] – 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 !(< | + | **Chaque attaque du guerrier avec son arme de spécialisation a des chances |
| - | if !(< | + | |
| - | 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, | + | |
| - | SRC.MESSAGEROUGE Vous vous faites désarmer votre arme. | + | |
| - | 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 | + | |
| - | + | ||
| - | ///////////////// | + | |
| - | + | ||
| - | if (< | + | |
| - | + | ||
| - | if !(< | + | |
| - | TRY src.findlayer(2).unequip | + | |
| - | src.events +e_desarconnement | + | |
| - | src.timerf 10+(< | + | |
| - | src.timerf 10+(< | + | |
| - | SRC.MESSAGEROUGE Vous vous faites désarçonner | + | |
| - | endif | + | |
| - | + | ||
| - | if (< | + | |
| - | local.DebuffAR=< | + | |
| - | + | ||
| - | if (< | + | |
| - | LOCAL.DebuffAR = < | + | |
| - | endif | + | |
| - | + | ||
| - | src.emote Se fait désarçonner | + | |
| - | src.modar -= < | + | |
| - | src.timerf 10+(< | + | |
| - | src.tag.GlobalCooldownDesarconnement=1 | + | |
| - | src.timerf 20+(< | + | |
| - | + | ||
| - | endif | + | |
| - | + | ||
| - | + | ||
| - | /////////////// | + | |
| - | + | ||
| - | if (< | + | |
| - | if !(< | + | |
| - | TRY src.findid.i_mem_Vaudou.link.findlayer(2).unequip | + | |
| - | src.findid.i_mem_Vaudou.link.events +e_desarconnement | + | |
| - | src.findid.i_mem_Vaudou.link.timerf 10+(< | + | |
| - | src.findid.i_mem_Vaudou.link.timerf 10+(< | + | |
| - | SRC.findid.i_mem_Vaudou.link.MESSAGEROUGE Vous vous faites désarçonner | + | |
| - | endif | + | |
| - | + | ||
| - | if (< | + | |
| - | local.DebuffAR=< | + | |
| - | + | ||
| - | if (< | + | |
| - | LOCAL.DebuffAR = < | + | |
| - | endif | + | |
| - | + | ||
| - | src.findid.i_mem_Vaudou.link.emote Se fait désarçonner | + | |
| - | src.findid.i_mem_Vaudou.link.modar -= < | + | |
| - | src.findid.i_mem_Vaudou.link.timerf 10+(< | + | |
| - | src.findid.i_mem_Vaudou.link.tag.GlobalCooldownDesarconnement=1 | + | |
| - | src.findid.i_mem_Vaudou.link.timerf 20+(< | + | |
| - | + | ||
| - | endif | + | |
| - | endif | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | endif | + | |
| - | + | ||
| - | + | ||
| - | [events e_desarmement_npc] | + | |
| - | on=@hittry | + | |
| - | return 1 | + | |
| - | + | ||
| - | /////////////////////////////////////////////////////////// | + | |
| - | //////////////// | + | |
| - | /////////////////////////////////////////////////////////// | + | |
| - | [EVENTS e_predilection_lames] | + | |
| - | on=@hit | + | |
| - | i.DMG_BONUS=(< | + | |
| - | src.tag.GlobalCooldownBalayage=1 | + | |
| - | src.timerf 2, tag.GlobalCooldownBalayage= | + | |
| - | + | ||
| - | /////////////////////////// | + | |
| - | if (< | + | |
| - | if (< | + | |
| - | src.hitpoints=0 | + | |
| - | src.SOUND=507 | + | |
| - | i.messagerouge Vous exécutez < | + | |
| - | endif | + | |
| - | ENDIF | + | |
| - | + | ||
| - | if (< | + | |
| - | if (< | + | |
| - | local.Moyen=((< | + | |
| - | i.DMG_BONUS=< | + | |
| - | endif | + | |
| - | endif | + | |
| - | + | ||
| - | + | ||
| - | //call f_hemorragie ////////////////////////////// | + | |
| - | call f_CoupAssourdissant /////////////////// | + | |
| - | call f_voldevie /////////////////////// | + | |
| - | call f_perforation//////////////////////// | + | |
| - | call f_desarmement ///////////////// | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | [EVENTS e_predilection_haches] | + | |
| - | on=@hit | + | |
| - | i.DMG_BONUS=(< | + | |
| - | src.tag0.GlobalCooldownBalayage=1 | + | |
| - | src.timerf 2, tag.GlobalCooldownBalayage= | + | |
| - | /////////////////////////// | + | |
| - | if (< | + | |
| - | if (< | + | |
| - | src.hitpoints=0 | + | |
| - | src.SOUND=507 | + | |
| - | i.messagerouge Vous exécutez < | + | |
| - | endif | + | |
| - | ENDIF | + | |
| - | + | ||
| - | if (< | + | |
| - | if (< | + | |
| - | local.Moyen=((< | + | |
| - | i.DMG_BONUS=< | + | |
| - | endif | + | |
| - | endif | + | |
| - | + | ||
| - | //call f_hemorragie ////////////////////////////// | + | |
| - | call f_CoupAssourdissant /////////////////// | + | |
| - | call f_voldevie /////////////////////// | + | |
| - | call f_perforation//////////////////////// | + | |
| - | call f_desarmement ///////////////// | + | |
| - | + | ||
| - | + | ||
| - | /////////////// | + | |
| - | + | ||
| - | [EVENTS e_predilection_armes_hast] | + | |
| - | on=@hit | + | |
| - | i.DMG_BONUS=(< | + | |
| - | src.tag0.GlobalCooldownBalayage=1 | + | |
| - | src.timerf 2, tag.GlobalCooldownBalayage= | + | |
| - | /////////////////////////// | + | |
| - | if (< | + | |
| - | if (< | + | |
| - | src.hitpoints=0 | + | |
| - | src.SOUND=507 | + | |
| - | i.messagerouge Vous exécutez < | + | |
| - | endif | + | |
| - | ENDIF | + | |
| - | + | ||
| - | if (< | + | |
| - | if (< | + | |
| - | local.Moyen=((< | + | |
| - | i.DMG_BONUS=< | + | |
| - | endif | + | |
| - | endif | + | |
| - | + | ||
| - | //call f_hemorragie ////////////////////////////// | + | |
| - | call f_CoupAssourdissant /////////////////// | + | |
| - | call f_voldevie /////////////////////// | + | |
| - | call f_perforation//////////////////////// | + | |
| - | call f_desarmement ///////////////// | + | |
| - | + | ||
| - | [EVENTS e_predilection_masses] | + | |
| - | on=@hit | + | |
| - | i.DMG_BONUS=(< | + | |
| - | src.tag0.GlobalCooldownBalayage=1 | + | |
| - | src.timerf 2, tag.GlobalCooldownBalayage= | + | |
| - | /////////////////////////// | + | |
| - | if (< | + | |
| - | if (< | + | |
| - | src.hitpoints=0 | + | |
| - | src.SOUND=507 | + | |
| - | i.messagerouge Vous exécutez < | + | |
| - | endif | + | |
| - | ENDIF | + | |
| - | + | ||
| - | if (< | + | |
| - | if (< | + | |
| - | local.Moyen=((< | + | |
| - | i.DMG_BONUS=< | + | |
| - | endif | + | |
| - | endif | + | |
| - | + | ||
| - | //call f_hemorragie ////////////////////////////// | + | |
| - | call f_CoupAssourdissant /////////////////// | + | |
| - | call f_voldevie /////////////////////// | + | |
| - | call f_perforation//////////////////////// | + | |
| - | call f_desarmement ///////////////// | + | |
| - | + | ||
| - | [EVENTS e_predilection_armes_2h] | + | |
| - | on=@hit | + | |
| - | i.DMG_BONUS=(< | + | |
| - | src.tag0.GlobalCooldownBalayage=1 | + | |
| - | src.timerf 2, tag.GlobalCooldownBalayage= | + | |
| - | /////////////////////////// | + | |
| - | + | ||
| - | if (< | + | |
| - | if (< | + | |
| - | src.hitpoints=0 | + | |
| - | src.SOUND=507 | + | |
| - | i.messagerouge Vous exécutez < | + | |
| - | endif | + | |
| - | ENDIF | + | |
| - | + | ||
| - | if (< | + | |
| - | if (< | + | |
| - | local.Moyen=((< | + | |
| - | i.DMG_BONUS=< | + | |
| - | endif | + | |
| - | endif | + | |
| - | + | ||
| - | //call f_hemorragie ////////////////////////////// | + | |
| - | call f_CoupAssourdissant /////////////////// | + | |
| - | call f_voldevie /////////////////////// | + | |
| - | call f_perforation//////////////////////// | + | |
| - | call f_desarmement ///////////////// | + | |
| - | + | ||
| - | /////////////////////////////// | + | |
| - | [EVENTS e_polyvalent] | + | |
| - | + | ||
| - | on=@hit | + | |
| - | i.DMG_BONUS=(< | + | |
| - | src.tag0.GlobalCooldownBalayage=1 | + | |
| - | src.timerf 2, tag.GlobalCooldownBalayage= | + | |
| - | /////////////////////////// | + | |
| - | if (< | + | |
| - | if (< | + | |
| - | src.hitpoints=0 | + | |
| - | src.SOUND=507 | + | |
| - | i.messagerouge Vous exécutez < | + | |
| - | endif | + | |
| - | ENDIF | + | |
| - | + | ||
| - | if (< | + | |
| - | if (< | + | |
| - | local.Moyen=((< | + | |
| - | i.DMG_BONUS=< | + | |
| - | endif | + | |
| - | endif | + | |
| - | + | ||
| - | + | ||
| - | //call f_hemorragie ////////////////////////////// | + | |
| - | call f_CoupAssourdissant /////////////////// | + | |
| - | call f_voldevie /////////////////////// | + | |
| - | call f_perforation//////////////////////// | + | |
| - | call f_desarmement ///////////////// | + | |
| - | + | ||
| - | //////////////////////////////////////////////////////////////////////////// | + | |
| - | ///////////////////////// | + | |
| - | /////////////////////////////////////////////////////////////////////////// | + | |
| - | + | ||
| - | [itemdef i_desarmement_memory] | + | |
| - | id=i_memory | + | |
| - | name=Desarmement | + | |
| - | TYPE=T_eq_script | + | |
| - | + | ||
| - | + | ||
| - | ON=@CREATE | + | |
| - | ATTR=attr_invis | + | |
| - | + | ||
| - | on=@equip | + | |
| - | src.events +e_desarmement | + | |
| - | + | ||
| - | on=@timer | + | |
| - | cont.events -e_desarmement | + | |
| - | cont.tag.desarmementweapontype= | + | |
| - | REMOVE | + | |
| - | RETURN 1 | + | |
| - | + | ||
| - | + | ||
| - | [events e_desarmement] | + | |
| - | + | ||
| - | on=@itemequiptest /////////////// | + | |
| - | + | ||
| - | if (< | + | |
| - | i.messagerouge Vous ne pouvez pas équiper | + | |
| - | return 1 | + | |
| - | endif | + | |
| - | + | ||
| - | if (< | + | |
| - | i.messagerouge Vous ne pouvez pas équiper ce type d'arme pour l' | + | |
| - | return 1 | + | |
| - | endif | + | |
| - | + | ||
| - | if ((< | + | |
| - | i.messagerouge Vous ne pouvez pas équiper | + | |
| - | return 1 | + | |
| - | endif | + | |
| - | + | ||
| - | if (< | + | |
| - | i.messagerouge Vous ne pouvez pas équiper ce type d' | + | |
| - | return 1 | + | |
| - | endif | + | |
| - | + | ||
| - | if (< | + | |
| - | i.messagerouge Vous ne pouvez pas équiper ce type d'arme pour l' | + | |
| - | return 1 | + | |
| - | endif | + | |
| - | + | ||
| - | if (< | + | |
| - | i.messagerouge Vous ne pouvez pas équiper ce type d'arme pour l' | + | |
| - | return 1 | + | |
| - | endif | + | |
| - | + | ||
| - | if ((< | + | |
| - | i.messagerouge Vous ne pouvez pas équiper ce type d'arme pour l' | + | |
| - | return 1 | + | |
| - | endif | + | |
| - | + | ||
| - | if (< | + | |
| - | i.messagerouge Vous ne pouvez pas équiper ce type d'arme pour l' | + | |
| - | return 1 | + | |
| - | 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' | ||