johnlol

Draco Buff

May 10th, 2019
212
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /*    ________________________________________________________
  2.      /                                                        \
  3.      |      | |__  _ __ / \ | |_| |__   ___ _ __   __ _       |
  4.      |      | '_ \| '__/ _ \| __| '_ \ / _ \ '_ \ / _` |      |
  5.      |      | |_) | | / ___ \ |_| | | |  __/ | | | (_| |      |
  6.      |      |_.__/|_|/_/   \_\__|_| |_|\___|_| |_|\__,_|      |
  7.      |                                                        |
  8.      |--------------------------------------------------------|
  9.      | Nome do Script: Draco Buff                             |
  10.      |--------------------------------------------------------|
  11.      | Criado por: Sephir4                                    |
  12.      |--------------------------------------------------------|
  13.      | Funcionalidade:                                        |
  14.      | - Draco buff é um sistema buff com anunciador          |
  15.      | enquanto se movimenta pelo mapa.                       |
  16.      |--------------------------------------------------------|
  17.      \________________________________________________________/*/
  18. prontera,156,183,5  script  Draco Buff  2013,7,7,{
  19. OnTouch:
  20.     if(.uu != getcharid(0)){
  21.         if(@dl < gettimetick(2)){
  22.             for(set .z, 0; .z < getarraysize(.id); set .z,.z+1){ sc_start .id[.z],  500000, 10; skilleffect .id[.z],10; }
  23.             set .uu, getcharid(0);
  24.             set @dl, gettimetick(2) + 30000; // 30000 Significa a quantidade em segundos para o Delay
  25.         }
  26.     }
  27. end;
  28. OnInit:
  29.     setarray .id[0], 115,118,123,23,32,29,30,35,41;
  30.     setarray .x[0], 162,166,169,173,174,173,169,165,160,152,146,141,139,138,139,145,149,156;
  31.     setarray .y[0], 185,188,191,196,202,208,213,218,222,222,219,214,209,203,196,189,185,183;
  32.     setarray .an$[0], "Bem vindo ao AdobeRO.","Sistema de buff";
  33.     npcspeed 300;
  34.     OnTimer1000:
  35.         for(set .c, 0; .c < getarraysize(.x); set .c,.c+1){
  36.             npctalk .an$[Rand(getarraysize(.an$))];
  37.             npcwalkto .x[.c],.y[.c];
  38.             set .c,.c+1;
  39.             sleep 7000;
  40.         }
  41.     initnpctimer;
  42. end;
  43. }
Add Comment
Please, Sign In to add comment