Results 1 to 7 of 7

Thread: MAS SAN if 5 or more monsters

  1. #1
    iBot User
    Join Date
    Jul 2012
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5

    MAS SAN if 5 or more monsters

    Like in Title, can someone paste here any action code for that?

  2. #2
    Banned
    Join Date
    May 2012
    Location
    Rio de Janero - RJ / Canada
    Posts
    870
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    30
    Rep Power
    0
    MonstersToHit = 3
    if maround(5,'Monster1','Monster2','Monster3') >= MonstersToHit and paround(10,true) == 0 and cancast('exevo mas san')
    then
    cast('exevo mas san') wait(500) end
    if u play non pvp remove the 'paround(10,true) == 0'

  3. #3
    iBot User Vigilante Alert's Avatar
    Join Date
    Jun 2012
    Posts
    218
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    12
    Rep Power
    5
    usa that if want. u can change to exori mas,...
    local firstspell = "exori mas san"
    local firstspellcount = 4
    local monsters = {"1", "2", "3"}

    if paround(7,true) == 0 and maround(3, unpack(monsters)) >= firstspellcount and mp > 150 then
    cast(firstspell)
    wait(8000)
    end
    The action work, I helped you, so thank doing:
    Rep +
    A action funcionou, eu ajudei vc, então agradeça fazendo:
    Rep +
    Its to increase my reputation as helper.

  4. #4
    iBot User
    Join Date
    Mar 2012
    Posts
    187
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    2 Post(s)
    Reputation
    24
    Rep Power
    5
    Quote Originally Posted by Ropiderz View Post
    Guys, try to shorten code, also you use a lot of things not needed.

    Code:
    if (maround(4, false) >= 5 and cancast("exevo mas san") and paround(5, true) == 0) then
        cast("exevo mas san")
    end
    Use cancast("spell"), instead of wait(8000) and mp > x, it checks if you are cooled down and if have mp/soul/hp to cast spell.

    Tip: Short code improves a lot CPU usage.
    yuo dont need to put "(" or ")"...
    just do like that:
    Code:
    if maround(4, false) >= 5 and cancast("exevo mas san") and paround(5, true) == 0 then
        cast("exevo mas san")
    end
    Usefull Links:
    • Nothing at the moment


    Did i help? Rep plz. /~/ Ajudei? Rep plz.
    Give me a Rep

    Contact: rafaneo399@hotmail.com
    Twitter: @Rafa399_Scripts

  5. #5
    iBot User Vigilante Alert's Avatar
    Join Date
    Jun 2012
    Posts
    218
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    12
    Rep Power
    5
    Quote Originally Posted by Ropiderz View Post
    Guys, try to shorten code, also you use a lot of things not needed.

    Code:
    if (maround(4, false) >= 5 and cancast("exevo mas san") and paround(5, true) == 0) then
        cast("exevo mas san")
    end
    Use cancast("spell"), instead of wait(8000) and mp > x, it checks if you are cooled down and if have mp/soul/hp to cast spell.

    Tip: Short code improves a lot CPU usage.
    yes but it will use magic to any creature.
    The action work, I helped you, so thank doing:
    Rep +
    A action funcionou, eu ajudei vc, então agradeça fazendo:
    Rep +
    Its to increase my reputation as helper.

  6. #6
    Banned
    Join Date
    May 2012
    Posts
    1,364
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    127
    Rep Power
    0
    So change what monsters you want to consider.


    PHP Code:
    maround(4"BUg""Lady BUg""Rat"

  7. #7
    Normal User
    Join Date
    Apr 2013
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    12
    Rep Power
    4
    nice job guys

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •