b.c.d
04-03-2016, 01:51 PM
Hey guys I wanna train my magic level up a few levels pretty quickly. People say to get some level 8's to stand beside using mana potions on my character but I don't know how to do that.
Any help would be great.
yompa93
04-07-2016, 08:22 AM
I've got a script that uses mana on follow for you, dont remember where i got it from though!
Just stand beside a magic shop with the trade open and it will buy pots and also use pots on the person you're following.
local ratio = 2.7 -- how much does 1 mana potion weigh?
local PotionID = Item.GetID("mana potion") -- mana potion to buy and use on follow
local PotionPrice = 50 -- price of 1 potion
local PotionName = "mana potion" -- mana potion to buy and use on follow
while(true) do
if (Self.ItemCount(PotionName) > 0) then
Self.UseItemWithFollow(PotionID)
elseif (Self.Flasks() >= 0) then
while (Self.Flasks() > 0) do
if (Self.ItemCount(283) > 0) then
Self.ShopSellAllItems(283)
end
if (Self.ItemCount(284) > 0) then
Self.ShopSellAllItems(284)
end
if (Self.ItemCount(285) > 0) then
Self.ShopSellAllItems(285)
end
end
-- lets buy potions
if (Self.Money() > 0) then -- just to reduce amount of gold coins (wasting cap)
while (Self.ItemCount(3031) > PotionPrice) do
Self.ShopBuyItem(PotionID, 1)
sleep(math.random(300,900))
end
while ((Self.Cap() > (ratio * 100 + 10)) and (Self.Money() > PotionPrice * 100)) do
Self.ShopBuyItem(PotionID, 100)
sleep(math.random(300,900))
end
while ((Self.Cap() > (ratio * 10 + 10)) and (Self.Money() > PotionPrice * 10)) do
Self.ShopBuyItem(PotionID, 10)
sleep(math.random(300,900))
end
end
end
sleep(math.random(600,1400))
end
This is the script i use on the character getting ML, It's made to fit my MS though but just change the spells to whatever you need it to be.
local ratio = 2.7 -- 100 mana potions = 270.00oz
local PotionID = Item.GetID("mana potion")
local PotionPrice = 50
local PotionName = "mana potion"
while(true) do
if (Self.ItemCount(PotionName) > 0) then --using all of the mana potions
while (Self.ItemCount(PotionName) > 0) do
if Self.CanCastSpell("exevo gran mas flam") then
Self.Cast("exevo gran mas flam")
elseif (not Self.CanCastSpell("exevo gran mas flam")) then
if Self.CanCastSpell("utana vid") then
Self.Cast("utana vid")
elseif (not Self.CanCastSpell("utana vid")) then
if Self.CanCastSpell("exura vita") then
Self.Cast("exura vita")
if (Self.Mana() < 2000) then -- amount of mana to use potions
Self.UseItemWithMe(PotionID)
sleep(math.random(200,500))
end
end
end
end
end
else -- we must buy more potions
--firstly, sell flasks..
if (Self.Flasks() > 0) then
while (Self.Flasks() > 0) do
if (Self.ItemCount(283) > 0) then
Self.ShopSellAllItems(283)
end
if (Self.ItemCount(284) > 0) then
Self.ShopSellAllItems(284)
end
if (Self.ItemCount(285) > 0) then
Self.ShopSellAllItems(285)
end
end
end
-- lets buy potions
if (Self.Money() > 0) then -- just to reduce amount of gold coins (wasting cap)
while (Self.ItemCount(3031) > PotionPrice) do
Self.ShopBuyItem(PotionID, 1)
sleep(math.random(300,900))
end
while ((Self.Cap() > (ratio * 100 + 10)) and (Self.Money() > PotionPrice * 100)) do
Self.ShopBuyItem(PotionID, 100)
sleep(math.random(300,900))
end
while ((Self.Cap() > (ratio * 10 + 10)) and (Self.Money() > PotionPrice * 10)) do
Self.ShopBuyItem(PotionID, 10)
sleep(math.random(300,900))
end
end
end
sleep(math.random(600,1400))
end
Abuse
12-15-2016, 09:14 AM
Been looking for something like this thanks
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.