XenoBot Forums - Powered by vBulletin

User Tag List

Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 32

Thread: Anoyn's Scripts

  1. #11

    Join Date
    Sep 2015
    Posts
    47
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by anoyn View Post
    I may add an area spell shooter later, but its not a high priority right now.


    The script works by casting when you use a arrow/bolt. For spears and knights it does not work since you cant count if you lost your weapon.

    You could have it cast after a battle proxy message, but then it wouldnt cast if you missed the creature, so therefore on paladin/knight but perfect for mages.

    I'm not sure if there is enough interest for a mage version which uses a battle proxy message to time wands and spells together.
    I would use it

  2. #12
    Moderator shadowart's Avatar
    Join Date
    Dec 2014
    Location
    Sweden
    Posts
    1,985
    Mentioned
    225 Post(s)
    Tagged
    3 Thread(s)
    That Paladin shooter is really sweet. Too bad you don't get a battle message from missing with a throwing weapon.

  3. #13

    Join Date
    May 2014
    Location
    Canada
    Posts
    320
    Mentioned
    28 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by shadowart View Post
    That Paladin shooter is really sweet. Too bad you don't get a battle message from missing with a throwing weapon.
    ༼ つ ◕_◕ ༽つ Give sprite effect proxy ༼ つ ◕_◕ ༽つ

  4. #14
    Senior Member
    Join Date
    Jul 2014
    Posts
    788
    Mentioned
    62 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by anoyn View Post
    ༼ つ ◕_◕ ༽つ Give sprite effect proxy ༼ つ ◕_◕ ༽つ
    You can get around this. (。◕‿‿◕。)

  5. #15
    Senior Member Bollo's Avatar
    Join Date
    Aug 2012
    Location
    Sweden
    Posts
    1,865
    Mentioned
    174 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by anoyn View Post
    Paladin Bow/X-Bow Spell Caster
    This script replaces the built in magic shooter.
    It casts spells after a Bow/Crossbow hit to avoid exhaust.
    It only works with bow and XBow.
    It does not support area spells.
    It supports range limited spells.

    lua code:

    -- Paladin single target spell shooter
    -- THIS ONLY WORKS WITH ARROWS AND BOLTS
    --Version 1.1
    --[[ Made by
    ___ .__ __. ______ ____ ____ .__ __.
    / \ | \ | | / __ \ \ \ / / | \ | |
    / ^ \ | \| | | | | | \ \/ / | \| |
    / /_\ \ | . ` | | | | | \_ _/ | . ` |
    / _____ \ | |\ | | `--' | | | | |\ |
    /__/ \__\ |__| \__| \______/ |__| |__| \__|

    ]]

    --------------------------------------------
    --[[ ------------ CONFIG -------------- ]]--
    --------------------------------------------
    --if the spell does not have a range, dont give the spell a range
    --spells you want to cast first should be at the top
    spells = {
    --{ words = "exori san", range = 4 },
    { words = "exori gran con" },
    { words = "exori con" }
    }

    --How long do you want to wait between your arrow and casting spell? (If OT, set to 0)
    delayToCastMin = 30 -- 30ms
    delayToCastMax = 300 -- 300ms


    --------------------------------------------
    --[[ ----- Script -- No need to edit ---- ]]
    --------------------------------------------
    lastAmmoCount = Self.Ammo().count
    function checkIfCanCastSpell(targetID)
    --Check if spell has limited range
    for i = 1, #spells do
    if spells[i]['range'] ~= nil then
    local creature = Creature.New(targetID)
    if( creature ~= nil and Self.DistanceFromPosition(creature:Position().x, creature:Position().y, creature:Position().z) <= spells[i]['range'] ) then
    if Self.CanCastSpell(spells[i]['words']) then
    castSpell(spells[i]['words'])
    break
    end
    end
    else
    if Self.CanCastSpell(spells[i].words) then
    castSpell(spells[i]['words'])
    break
    end
    end
    end
    end

    function castSpell(words)
    lastAmmoCount = ammo.count
    wait(delayToCastMin,delayToCastMax)
    Self.Cast(words)
    end

    Module.New('boltChecker', function(boltChecker)
    ammo = Self.Ammo()
    local targetID = Self.TargetID()
    if ammo.count > lastAmmoCount then
    lastAmmoCount = ammo.count
    elseif targetID ~= 0 and ammo.id ~= 0 and ammo.count < lastAmmoCount then
    checkIfCanCastSpell(targetID)
    end
    end)
    Cheers man, will check this out, looks promising!

    Great work, keep it up! =)

  6. #16
    Senior Member Bollo's Avatar
    Join Date
    Aug 2012
    Location
    Sweden
    Posts
    1,865
    Mentioned
    174 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by anoyn View Post
    I may add an area spell shooter later, but its not a high priority right now.


    The script works by casting when you use a arrow/bolt. For spears and knights it does not work since you cant count if you lost your weapon.

    You could have it cast after a battle proxy message, but then it wouldnt cast if you missed the creature, so therefore on paladin/knight but perfect for mages.

    I'm not sure if there is enough interest for a mage version which uses a battle proxy message to time wands and spells together.
    Would be highly apreciated man if you could add mas san aswell! Also, if there would be a possibility to add that it shoots the spells on specific creatures.
    Like for example if you want to shoot only exori san on some and exori con on others if they are immune or so on.

  7. #17

    Join Date
    Dec 2015
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I would like to see mage version with runes and wave spells

  8. #18

    Join Date
    May 2014
    Location
    Canada
    Posts
    320
    Mentioned
    28 Post(s)
    Tagged
    0 Thread(s)
    Updated Paladin/Mage Bow/X-Bow/Wand Spell Caster (v2.0)

    Now supports
    • Mages using wand
    • Spells for specific creatures
    • Attacking with runes

  9. #19

    Join Date
    Jan 2014
    Posts
    32
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Can u make script for unrust items?:>

  10. #20

    Join Date
    Jan 2016
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    hi bro
    please i wanna simple function
    i wanna function that use pick on (x,y,z) till it get 3 corlas (boxes) then leave i will make wp and use this boxes on (x,y,z) thx
    if u wanna see the vido for function here
    http://www.youtube.com/watch?v=EOar1W7O9mk

Posting Permissions

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