Ci-dessous, les différences entre deux révisions de la page.
| talents:regeneration_de_vie [2023/10/03 22:26] – créée pintou10_live.fr | talents:regeneration_de_vie [2024/05/14 13:34] (Version actuelle) – pintou10_live.fr | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| - | /////////////////////////////////////////////////////////// | + | {{ : |
| - | //////////////// | + | |
| - | /////////////////////////////////////////////////////////// | + | |
| + | **Le guerrier a une régénération passive X points de vie aux X secondes. Le guerrier peut utiliser la commande pour désactiver ou réactiver l' | ||
| - | [FUNCTION | + | * **Commande : .RegenerationGuerrier** |
| - | + | * **Points de vie régénérés : Quantité minimale = ((Points | |
| - | if !(< | + | * **Délai entre chaque régénération : 10-(((% de Régénération)*10)/125)** |
| - | src.messagerouge Vous ne possédez pas cette habileté. | + | |
| - | return 1 | + | |
| - | endif | + | |
| - | + | ||
| - | if (< | + | |
| - | src.messagevert Vous désactivez votre habileté | + | |
| - | src.findid.i_regen_guerrier_memory.remove | + | |
| - | return 1 | + | |
| - | endif | + | |
| - | + | ||
| - | if !(< | + | |
| - | src.messagevert Vous activez votre habileté de régénération | + | |
| - | serv.newitem i_regen_guerrier_memory | + | |
| - | src.equip < | + | |
| - | endif | + | |
| - | + | ||
| - | [itemdef i_regen_guerrier_memory] | + | |
| - | Name=Regen Guerrier Memory | + | |
| - | ID=i_memory | + | |
| - | TYPE=t_eq_script | + | |
| - | LAYER=layer_special | + | |
| - | + | ||
| - | ON=@CREATE | + | |
| - | ATTR=attr_invis | + | |
| - | TIMER=1 | + | |
| - | + | ||
| - | ON=@TIMER | + | |
| - | LOCAL.Moyen=(< | + | |
| - | cont.hits += < | + | |
| - | + | ||
| - | if (< | + | |
| - | | + | |
| - | endif | + | |
| - | + | ||
| - | timer=(10-(< | + | |
| - | return 1 | + | |