Jump to content

Recommended Posts

Posted

Aura Force Toggles - Awaken Classes

 

//*****Awakened Toggles*****//
DEFINE_GLOBAL THREAD THREADAURAEFFECT AURAEFFECT
DEFINE_GLOBAL SORTEDLIST AURAFORCES

THREADAURAEFFECT.START

DO
SLEEP 200000000000
LOOP ZERO == ZERO
END_SCRIPT
RETURN VOID

FUNCTION AURAEFFECT
DO
PRINT_TEXT "Check Toggles Initialized"
    GET_EFFECTS AURAFORCES "<&CHAR_ID&>"
CALL AURAFORCE
    SLEEP 1000
LOOP ZERO == ZERO
RETURN VOID


FUNCTION AURAFORCE
SWITCH CHAR_CLASS
    CASE 139
        IF ( ( "AURAFORCES.CONTAINS_KEY 1927" == FALSE ) && ( CHAR_CUR_HP != 0 ) )
            USE_SKILL_SMART 1927
        ENDIF
        BREAK 1
    CASE 140
        IF ( ( "AURAFORCES.CONTAINS_KEY 1929" == FALSE ) && ( CHAR_CUR_HP != 0 ) )
            USE_SKILL_SMART 1929
        ENDIF
        BREAK 1
    CASE 141
        IF ( ( "AURAFORCES.CONTAINS_KEY 1931" == FALSE ) && ( CHAR_CUR_HP != 0 ) )
            USE_SKILL_SMART 1931
        ENDIF
        BREAK 1    
    CASE 142
        IF ( ( "AURAFORCES.CONTAINS_KEY 1933" == FALSE ) && ( CHAR_CUR_HP != 0 ) )
            USE_SKILL_SMART 1933
        ENDIF
        BREAK 1
    CASE 143
        IF ( ( "AURAFORCES.CONTAINS_KEY 1935" == FALSE ) && ( CHAR_CUR_HP != 0 ) )
            USE_SKILL_SMART 1935
        ENDIF
        BREAK 1
    CASE 145
        IF ( ( "AURAFORCES.CONTAINS_KEY 1937" == FALSE ) && ( CHAR_CUR_HP != 0 ) )
            USE_SKILL_SMART 1937
        ENDIF
        BREAK 1
    CASE 146
        IF ( ( "AURAFORCES.CONTAINS_KEY 1939" == FALSE ) && ( CHAR_CUR_HP != 0 ) )
            USE_SKILL_SMART 1939
            GET_EFFECTS AURAFORCES "<&CHAR_ID&>"
        ENDIF
        BREAK 1
ENDSWITCH
RETURN VOID

 

Kill function with random skill rotation

 

The only thing you need to change its the ID of the skills.

 

FUNCTION Kill

DEFINE INT Num 1
DEFINE INT SKILL1 11513        //aoe
DEFINE INT SKILL2 11514        //aoe
DEFINE INT SKILL3 11509        //single
DEFINE INT SKILL4 11510        //single
DEFINE INT SKILL5 11511        //single
DEFINE INT TEMPSKILL 11513
DEFINE ARRAYLIST NPCLIST 0
DEFINE INT COUNT 0

WHILE 1 == 1
    COUNT = 0
    GET_NPCS NPCLIST
    FOREACH N NPC NPCLIST
        IF ( NPCLIST.N.ID IN_RANGE 800 ) && ( NPCLIST.N.ATTACKABLE == 1 ) && ( NPCLIST.N.LOOKS_DEAD == 0 )
        COUNT = COUNT + 1    
        ENDIF
    NEXTEACH
    SLEEP 200
    IF ( COUNT > 3 ) //if there are more than 3 mobs it will only use aoe skills to save MP
        WHILE TARGET_CUR_HP > 0
            GET_RAND Num 1 2
            TEMPSKILL = "SKILL<&Num&>"
            USE_SKILL_SMART "<&TEMPSKILL&>"
            SLEEP 1000
        WEND
    ENDIF

    IF ( COUNT <= 3 ) && ( COUNT > 0 ) //if there are 3 or less mobs it will use all defined skills
        WHILE TARGET_CUR_HP > 0
            GET_RAND Num 1 5
            TEMPSKILL = "SKILL<&Num&>"
            USE_SKILL_SMART "<&TEMPSKILL&>"
            SLEEP 400
        WEND
    ELSE
        PRINT_TEXT "No mobs... sleeping"
        SLEEP 1000
    ENDIF
WEND
RETURN VOID  

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Posts

    • NEW SEASON START 23.01.2026 Get ready for the ultimate High Five adventure on L2Exoplanet.net!   • The last two previous Seasons are now merged into the Core Server. • The Core Server remains our main long-term world. • All future Seasonal Servers will be merged into Core after they end. • No characters or items will be lost – everything stays safe!     GRAND OPENING:  23.01.2026 at 20:00 GMT+1 BETA TEST:    16.01.2026    Client: High Five Rates: x10   Website: https://l2exoplanet.net Facebook: https://www.facebook.com/L2-Exoplanet-106811564103836 Discord: https://discord.gg/4fzhW7ZSPc         Game Rates    Experience: x10  Skill Points: x10  Adena: x5  Drop: x8  Spoil: x8  Quest: x5  Raid Boss Drop: x5  Fame: x2  Epaulette: x8  Manor: x8      Safe Enchant: +3  Maximum Enchant: +16  Normal Scroll Chance: 60%  Blessed Scroll Chance: 63%  Attribute Stone Chance: 50%  Attribute Crystal Chance: 30%      Game Settings    Multibox - 3 game clients per HWID  Autoloot  Autolearn Skills Auto Farm  NPC Buffer   Buff Slots (24+4/12)  Buff Duration (2h)  Olympiad Period 7days (new heroes appear every monday)  Seven Signs Period  Class Transfer for Adena  Max Sub-Class 3  Sub-Class Max Level 85  Essence Interface  Champions System  Vote Reward System  Dayli Reward System  PC Points Reward (500PC = 1 Donate Coin)      Epic Bosses Respawn Times     Queen Ant:  24 Hours +/- 4 Hours   Beleth: 3 Days +/- 8 Hours   Baium: 3 Days +/- 8 Hours   Antharas: 4 Days +/- 8 Hours   Valakas:  5 Days +/- 8 Hours     Instance Info     Normal Freya = 6 Players   Hard Freya = 12 Players   Frintezza = 6 Players   Zaken 83 Day = 6 Players   Zaken 60 Day = 6 Players   Zaken Nightly = 9 Players   Tiat = 6 Players   Beleth = 12 Players
    • when did i say something about mobius files besides what i've said on this post? or you're "calling me out" for saying this when someone says mobius is a better interlude alternative than acis? lol  
    • Spreading FUD disguised as "experience," mocking the project publicly, then acting shocked when called out. That's the conduct.
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..

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