Ci-dessous, les différences entre deux révisions de la page.
| talents:frenesie [2023/10/03 22:38] – créée pintou10_live.fr | talents:frenesie [2024/05/14 13:40] (Version actuelle) – pintou10_live.fr | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| - | ////////////////////////////////////////////////////////////////////////////// | + | {{ : |
| - | /////////////////////////////////// | + | |
| - | ////////////////////////////////////////////////////////////////////////////// | + | |
| - | [events e_frenesie_inactif] | + | **Au moment où le guerrier meurt, il tombe en mode frénésie pendant X secondes, ce qui le maintient en vie temporairement et augmente le dommage qu'il fait en mêlée et avec ses habiletés. Si le guerrier tue un joueur avant la fin de la frénésie, il échappera à la mort et ses points de vie remonteront à 50% de ses points de vie maximaux. S'il ne tue pas de joueur avant la fin de la frénésie, il meurt. Si il frappe un NPC, il ajoute un " |
| - | on=@death | + | |
| - | if !(<i.restest i_frenesie_cooldown> | + | |
| - | I.EMOTE= !!!!!!!!!!!! | + | |
| - | I.EMOTE= !!!ENRAGE!!! | + | |
| - | I.EMOTE= !!!!!!!!!!!! | + | |
| - | i.f_decrinque | + | |
| - | SERV.NEWITEM=i_rage_frenesie | + | |
| - | new.tag.StacksFrenesie=3 | + | |
| - | NEW.TIMER=10 | + | |
| - | I.EQUIP < | + | |
| - | serv.newitem i_frenesie_cooldown | + | |
| - | i.equip <new.uid> | + | |
| - | i.hits = 0 | + | |
| - | endif | + | |
| - | return 1 | + | |
| - | [EVENTS e_frenesie_actif] | + | * **Durée de la Frénésie : La frénésie débute avec 3 " |
| - | on=@kill | + | * **Cooldown : Cooldown minimal |
| - | if (<src.isplayer> | + | |
| - | i.hits=<i.maxhits>/ | + | ** __Bonus |
| - | i.findid.i_rage_frenesie.remove | + | |
| - | i.sfx=0214 | + | |
| - | i.effect=3,i_fx_bless_effect, | + | |
| - | endif | + | |
| - | + | ||
| - | on=@hit | + | |
| - | i.hits=0 | + | |
| - | + | ||
| - | if (<src.npc>) && !(< | + | |
| - | i.FINDID.i_rage_frenesie.tag.StacksFrenesie += 1 // | + | |
| - | + | ||
| - | if (<i.findid.i_rage_frenesie.StacksFrenesie> | + | |
| - | i.hits=< | + | |
| - | i.findid.i_rage_frenesie.remove | + | |
| - | i.sfx=0214 | + | |
| - | i.effect=3, | + | |
| - | endif | + | |
| - | + | ||
| - | src.tag.HitFrenesie=1 | + | |
| - | src.timerf 20, src.tag.HitFrenesie= | + | |
| - | endif | + | |
| - | + | ||
| - | ON=@DEATH | + | |
| - | IF (< | + | |
| - | RETURN 1 //rend le frenesique intuable | + | |
| - | ENDIF | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | [ITEMDEF i_rage_frenesie] | + | |
| - | ID=i_memory | + | |
| - | TYPE=t_eq_script | + | |
| - | name=Effet frenesie | + | |
| - | + | ||
| - | on=@create | + | |
| - | timer=5 | + | |
| - | ATTR=attr_invis | + | |
| - | + | ||
| - | ON=@EQUIP | + | |
| - | src.events -e_frenesie_inactif | + | |
| - | src.events +e_frenesie_actif | + | |
| - | src.events +e_frenesie_gethit | + | |
| - | src.tag.frenesiegethit=1 | + | |
| - | src.timerf | + | |
| - | src.tag.BonusDmgFrenesie=< | + | |
| - | + | ||
| - | + | ||
| - | ON=@UNEQUIP | + | |
| - | src.events -e_frenesie_actif | + | |
| - | src.tag.BonusDmgFrenesie= | + | |
| - | + | ||
| - | + | ||
| - | ON=@TIMER | + | |
| - | if !(< | + | |
| - | cont.effect=3, | + | |
| - | tag.StacksFrenesie | + | |
| - | timer=5 | + | |
| - | return 1 | + | |
| - | endif | + | |
| - | + | ||
| - | if (<tag.StacksFrenesie> | + | |
| - | CONT.EVENTS=-e_frenesie_actif | + | |
| - | cont.tag.BonusDmgFrenesie= | + | |
| - | CONT.hits=0 | + | |
| - | remove | + | |
| - | return 1 | + | |
| - | endif | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | on=@destroy | + | |
| - | CONT.EVENTS=-e_frenesie_actif | + | |
| - | cont.tag.BonusDmgFrenesie= | + | |
| - | + | ||
| - | + | ||
| - | [ITEMDEF i_frenesie_cooldown] /////////// | + | |
| - | ID=i_memory | + | |
| - | TYPE=t_eq_script | + | |
| - | name=Cooldown frenesie | + | |
| - | WEIGHT=0 | + | |
| - | + | ||
| - | on=@create | + | |
| - | ATTR=attr_invis | + | |
| - | + | ||
| - | on=@equip | + | |
| - | timer= 750 - (< | + | |
| - | + | ||
| - | on=@timer | + | |
| - | cont.messagevert Votre Frénésie est prête. | + | |
| - | cont.events +e_frenesie_inactif | + | |
| - | remove | + | |
| - | return 1 | + | |