Jump to content

script AutobuffBD warrior for l2net


ruben32

Recommended Posts

It's my script ^^

 

//danzasBD

//////////////////////////// SBUFFS  ///////////////////////////////////////////////////////////



DEFINE_GLOBAL INT USE_DANCE_Dance_of_Fire 1



DEFINE_GLOBAL INT USE_DANCE_Dance_of_the_Warrior 1



DEFINE_GLOBAL INT USE_DANCE_Dance_of_the_Vampire 1



DEFINE_GLOBAL INT USE_DANCE_Dance_ofof_Fury 1



//////////////////////////// TIME SETTINGS ////////////////////////////////////////////////////////////////////////////////







DEFINE_GLOBAL INT TIME_REBUFF_DELAY 120000 // 120 [s]



DEFINE_GLOBAL INT TIME_SKILL_CAST_DELAY 5000 // 5[s] ( how long U cast a skill?



///////////////////////////////////////////////////////////////////////



DEFINE_GLOBAL INT DANCE_1 274   //   Dance of Fire



DEFINE_GLOBAL INT DANCE_2 271   //   Dance of the Warrior



DEFINE_GLOBAL INT DANCE_3 310   //   Dance of the Vampire



DEFINE_GLOBAL INT DANCE_4 275   //   Dance of Fury



DEFINE_GLOBAL INT TIME_LEFT_1_TMP 0

//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

////////////////////////////////////////////////////////////////////////////



THREAD FULL_BUFF_LOOP



/////////////////////////////////////////////////////////////////////////////////

//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////



CALL BUFF



DELAY "<&TIME_SKILL_CAST_DELAY&>"



DELAY "<&TIME_SKILL_CAST_DELAY&>"



RETURN VOID



/////////////////////////////////////////////////////////////////////////////////////////


/////////////////////////////////////////////////////////////////////////////////////////

FUNCTION FULL_BUFF_LOOP

DO

SLEEP 60000

TIME_LEFT_1_TMP = TIME_LEFT_1_TMP + #i60000

IF TIME_LEFT_1_TMP >= TIME_REBUFF_DELAY

CALL BUFF

TIME_LEFT_1_TMP = TIME_SKILL_CAST_DELAY * #i6

ENDIF

LOOP TRUE == TRUE

RETURN VOID
/////////////////////////////////////////////////////////////////////////////////////////



FUNCTION BUFF



USE_SKILL "<&DANCE_1&>" 0 0



DELAY "<&TIME_SKILL_CAST_DELAY&>"



USE_SKILL "<&DANCE_2&>" 0 0



DELAY "<&TIME_SKILL_CAST_DELAY&>"



USE_SKILL "<&DANCE_3&>" 0 0



DELAY "<&TIME_SKILL_CAST_DELAY&>"



USE_SKILL "<&DANCE_4&>" 0 0



PRINT_TEXT "#I'm finish!"



RETURN VOID

Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock