Outils pour utilisateurs

Outils du site


talents:conviction

Ceci est une ancienne révision du document !


//////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////conviction////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////

[FUNCTION Conviction] IF (<SRC.TAG0.Assourdissement>==1) SRC.MESSAGEROUGE Vous ne pouvez utiliser d'habiletés pour l'instant. RETURN 1 ENDIF

if (!(<SRC.TAG0.conviction»0)) src.messagerouge Vous ne possédez pas cette habileté. RETURN 1 ENDIF

IF (<SRC.FLAGS>&statf_dead)

  src.messagerouge Vous ne pouvez utiliser cette habileté lorsque vous êtes mort.
 RETURN 1

ENDIF

IF (<SRC.RESTEST 1 i_mem_might>) SRC.messagerouge Vous devez encore attendre <eval <src.findid.i_mem_might.timer» secondes avant d'utiliser cette habileté. return 1 ENDIF

IF (<SRC.FLAGS>&statf_freeze) SRC.FLAGS=<SRC.FLAGS>-04 src.messagevert Vous vous libérez de l'effet d'immobilisation. ENDIF

serv.newitem=i_mem_might new.TIMER=100-(<i.tag0.conviction>/25)-(<src.int>/40) //Max 20 secs de cooldown new.EQUIP SRC.EFFECT=3,i_fx_tornade3,6,30,1 SRC.SFX=494

TRY SRC.FINDID.I_MEM_CONVICTION.REMOVE serv.newitem=i_mem_conviction new.TIMER=10 new.EQUIP <src.uid>

[ITEMDEF i_mem_conviction] id=i_memory TYPE=t_eq_script Name=Mem conviction

ON=@EQUIP SRC.MAGICRESISTANCE=(<SRC.MAGICRESISTANCE>+(500+(<SRC.TAG0.conviction>)))

ON=@TIMER CONT.MAGICRESISTANCE=(<CONT.MAGICRESISTANCE>-(500+(<CONT.TAG0.conviction>)))

REMOVE RETURN 1

[ITEMDEF i_mem_might] TYPE=t_eq_script Name=Cooldown conviction

ON=@TIMER remove return 0

talents/conviction.1696372156.txt.gz · Dernière modification : de pintou10_live.fr