XenoBot Forums - Powered by vBulletin

User Tag List

Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15

Thread: Is Exori/Ue Spells Safe?

  1. #11
    Dagon's Avatar
    Join Date
    Oct 2013
    Location
    United States, Illinois
    Posts
    30
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank me later, Credits to original creator.

    Also, now that I'm posting this. Would anyone like to tell me how to make this like the comment from above. "Lua Code:" Etc...

    local safeStrike = true

    registerEventListener(TIMER_TICK, "onTick")
    function onTick()
    if safeStrike then
    local pos = Self.LookPos()
    for i = CREATURES_LOW, CREATURES_HIGH do
    local c = Creature.GetFromIndex(i)
    if c:isAlive() and c:isPlayer() and (c:Position().x == pos.x and c:Position().y == pos.y and c:Position().z == pos.z) then
    Self.Turn(math.abs(Self.LookDirection() + 1))
    end
    end
    end
    end
    Last edited by Dagon; 12-24-2014 at 05:59 AM.

  2. #12

    Join Date
    Dec 2012
    Posts
    8
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    So nowadays i can i use the Gfb shooter in the magicshooter without getting skulled if its says Pvp Safe Enabled?

  3. #13

    Join Date
    Nov 2014
    Posts
    18
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Iko View Post
    I need this as well and can't find anything on the forums.

    Anyone I can try to convince to make one?


    EDIT: I'm using jxscripts' Water Elementals script and it just casts exori vis without it being safe (can't disable shooter and create my own in magic shooter, got skulled 1x while trying the script) - Is there any script that just turns my character when someone is in front of me or anything so that I can make it safer?
    i search for it too. is there a scrpt for turn another side?

  4. #14

    Join Date
    Nov 2012
    Posts
    332
    Mentioned
    10 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Furpan View Post
    I'll just leave this here (ps. it'll use the spell after you've dealt wand damage, wand+spell comboer)
    It doesn't turn anywhere, it just checks the distance from self, using it on Calva atm

    lua code:
    local Spells = {
    {words = 'exori gran vis', hppc = 20, range = 3, mana = 70, list = {'crystal spider'}},
    {words = 'exori gran vis', hppc = 50, range = 3, mana = 70, list = {'water elemental'}},
    {words = 'exori gran vis', hppc = 60, range = 3, mana = 70, list = {'ice golem'}},
    {words = 'exori vis', hppc = 0, range = 3, mana = 20, list = {'crystal spider', 'ice golem', 'water elemental', 'quara mantassin scout'}}
    }

    local PvPRadiusSafety = 3

    function SafeRadius(radius)
    for n, c in Creature.iPlayers() do
    if c:DistanceFromSelf() < radius then
    return true
    end
    end
    end

    BattleMessageProxy.OnReceive('shooter', function(proxy, message)
    local givendmg = string.match(message, "(.+) due to your attack.")
    if (givendmg) then
    local id = Self.TargetID()
    if (id ~= 0) then
    local mp = Self.Mana()
    local c = Creature.New(id)
    for i = 1, #Spells do
    if table.contains(Spells[i].list, c:Name():lower()) then
    if Self.CanCastSpell(Spells[i].words) and mp > Spells[i].mana and c:HealthPercent() >= Spells[i].hppc then
    local isUnsafe = SafeRadius(PvPRadiusSafety)
    if not (isUnsafe) and c:DistanceFromSelf() <= Spells[i].range then
    if c:isTarget() then
    Self.Cast(Spells[i].words, Spells[i].mana)
    end
    end
    break
    end
    end
    end
    end
    end
    end)
    hello, nice script i use it everyday! it is possible to add a count like amount of mosnters to use the spell? thanks in advance,

  5. #15

    Join Date
    Nov 2012
    Posts
    332
    Mentioned
    10 Post(s)
    Tagged
    0 Thread(s)
    it is possible to add a count like amount of mosnters to use the spell? thanks in advance,

Tags for this Thread

Posting Permissions

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