PDA

View Full Version : Making runes when refilling supplies



rbarral
02-18-2016, 02:23 PM
Hello,

Im looking for a script that everytime that leave hunt to refill supplies buy blank runes and spent all my soulpoints.

IE;

Exit hunt
if soulpoint = 200 then
make SD until soulpoint is enough
buy suppliers
back to hunt
(isnt a lua language before throw me stones, just a example that i made)

tks!

rbarral
02-19-2016, 03:48 PM
Im willing to pay if someone help me

rbarral
02-21-2016, 11:00 PM
bump plz!

Jontor
02-22-2016, 07:35 AM
It's not something you can do without working with the script code
Anyways, we don't know the city and where you leave the char after the hunt

rbarral
02-23-2016, 04:22 PM
It's not something you can do without working with the script code
Anyways, we don't know the city and where you leave the char after the hunt

The idea is every time that char leave huntcave to refill, it will spend soulpoints on runes.

Jontor
02-24-2016, 07:41 AM
The idea is every time that char leave huntcave to refill, it will spend soulpoints on runes.

How do we know where is the char going to buy blanks, what city do you refill at and when is it refilling?

Tirell
02-24-2016, 01:19 PM
local MakeRunes = true
local Spellforrune = "Adori Mas Vis"
local Manaforrune = 430
local Safesoul = 2
local Blank = "Blank Rune"


Module("Burnsouls", function(Module)
if (MakeRunes) and (Self.Mana() > Manaforrune) and (Self.ItemCount(Blank) > 0) and (Self.Soul() > Safesoul) and not Self.isInPz() then
Self.Cast(Spellforrune, Manaforrune)
end
Module:Delay(5000)
end)

Try this and ofc u must add label for buy blank runes, and start and stop module like this :


if (labelName == "Leave") then
if (MakeRunes) then
Module.Start("Burnsouls")
end


if (labelName == "BeginHunt") then
if (MakeRunes) then
Module.Stop("Burnsouls")
end

rbarral
02-24-2016, 03:21 PM
local MakeRunes = true
local Spellforrune = "Adori Mas Vis"
local Manaforrune = 430
local Safesoul = 2
local Blank = "Blank Rune"


Module("Burnsouls", function(Module)
if (MakeRunes) and (Self.Mana() > Manaforrune) and (Self.ItemCount(Blank) > 0) and (Self.Soul() > Safesoul) and not Self.isInPz() then
Self.Cast(Spellforrune, Manaforrune)
end
Module:Delay(5000)
end)

Try this and ofc u must add label for buy blank runes, and start and stop module like this :


if (labelName == "Leave") then
if (MakeRunes) then
Module.Start("Burnsouls")
end


if (labelName == "BeginHunt") then
if (MakeRunes) then
Module.Stop("Burnsouls")
end

Tks man! ill try this today!

woohaabot
03-19-2016, 08:41 AM
Tks man! ill try this today!

Did it work for you?