Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $${
- do;
- //=================================== POT
- &eff=;
- foreach(effects);
- &effname=%EFFECTNAME%:;
- #time=%EFFECTTIME%;
- #id=%EFFECTID%;
- if(%#time%>=60);
- #prim=%#time%/60;
- #seg=%#time%-(%#prim%*60);
- if(%#seg%<10);
- &seg=0%#seg%;
- else;
- &seg=%#seg%;
- endif;
- &efftime=%#prim%:%&seg%;
- else;
- if(%#time%<10);
- &efftime=0:0%#time%;
- else;
- &efftime=0:%#time%;
- endif;
- endif;
- if(%#time%<11);
- &efftime=&c&l%&efftime%;
- else;
- &efftime=&2%&efftime%;
- endif;
- &eff=%&eff%\n&f%&effname% %&efftime%;
- next;
- setlabel(POT,"%&eff%",POT);
- //=================================== FPS
- setlabel(FPS,&fFPS&8: &2%FPS%,FPS)
- //=================================== SET
- if(%HELMNAME%="None");
- &cap="&4Sem Helmo";
- else;
- &cap="&fCAPA&8: &2 %HELMDURABILITY%";
- if(%HELMDURABILITY% < 40);
- &cap="&fCAPA&8: &c&l%HELMDURABILITY%";
- endif;
- endif;
- if(%CHESTPLATENAME%="None");
- &pet="&4Sem Peitoral";
- else;
- &pet="&fPEITO&8: &2%CHESTPLATEDURABILITY%";
- if(%CHESTPLATEDURABILITY% < 80);
- &pet="&fPEITO&8: &c&l%CHESTPLATEDURABILITY%";
- endif;
- endif;
- if(%LEGGINGSNAME%="None");
- &cal="&4Sem Calça";
- else;
- &cal="&fCALÇA&8: &2%LEGGINGSDURABILITY%";
- if(%LEGGINGSDURABILITY% < 80);
- &cal="&6CALÇA&8: &c&l%LEGGINGSDURABILITY%";
- endif;
- endif;
- if(%BOOTSNAME%="None");
- &bot="&4Sem Bota";
- else;
- &bot="&fBOTA&8: &2%BOOTSDURABILITY%";
- if(%BOOTSDURABILITY% < 60);
- &bot="&fBOTA&8: &c&l%BOOTSDURABILITY%";
- endif;
- endif;
- setlabel(SET,"%&cap%\n\n%&pet%\n\n%&cal%\n\n%&bot%",SET);
- //=================================== SETRED
- if(%HELMDURABILITY% < 50);
- &cap=&4TROCA CAPA;
- ELSE;
- &cap= ;
- endif;
- if(%CHESTPLATEDURABILITY% < 50);
- &pet=&4TROCA PEITO;
- ELSE;
- &pet= ;
- endif;
- if(%LEGGINGSDURABILITY% < 50);
- &cal=&4TROCA CALÇA;
- ELSE;
- &cal= ;
- endif;
- if(%BOOTSDURABILITY% < 50);
- &bot=&4TROCA BOTA;
- ELSE;
- &bot= ;
- endif;
- SETLABEL(SETRED,"%&cap%\n\n%&pet%\n\n%&cal%\n\n%&bot%",SETRED)
- loop;
- }$$
Advertisement
Add Comment
Please, Sign In to add comment