PDA

View Full Version : HOUSETRAINER [Magic level] with Ultimate mana potions! I WILL PAY!!!



cpt.pepper
07-06-2016, 11:01 AM
Hi,

I need a housetrainer that can use ultimate mana potions! I will pay for it!

I have a backpack with 1900 ultimate manas and a backpack inside with 1900 more. (30 bps).

The script needs to do Exura vita + Utana vid.

I have tested some scripts here on forum and they work great with great mana potions but not with ultimates :/ and yes, I have tried to change the potion id.

callumbagshaw
07-06-2016, 12:45 PM
Try setting the potion name explicitly instead of the ID.
"Ultimate Mana potion"

Oscagi
07-06-2016, 04:57 PM
Hi,

I need a housetrainer that can use ultimate mana potions! I will pay for it!

I have a backpack with 1900 ultimate manas and a backpack inside with 1900 more. (30 bps).

The script needs to do Exura vita + Utana vid.

I have tested some scripts here on forum and they work great with great mana potions but not with ultimates :/ and yes, I have tried to change the potion id.

Try this:


function ManaPercent( ... )
return math.ceil((Self.Mana()/Self.MaxMana()*100))
end

Module.New('Pot', function()
if ManaPercent() < 70 then
Self.UseItemWithMe(PotionID)
end
end)

Zingron
07-06-2016, 05:34 PM
It's a lot cheaper and safer to have 4 level 8 characters pot you with normal manas, whilst you spam (Exura Vita(2x), Utana Vid)

I use this script on the level 8 characters



local backpackIdAtHouse = 9602 -- POTION CONTAINER ID
local pos = {x=1245, y=12345, z=6} -- POSITION OF POTION CONTAINER
local drinkTarget = 'name-of-character-magic-training'
local manaPot = 'Mana Potion'

Module.New('mana drink helper', function(module)
local container = Container.GetByName(Item.GetName(backpackIdAtHouse ))
if not(container:isOpen()) then
Self.UseItemFromGround(pos.x, pos.y, pos.z)
wait(1000, 2000)
end

local drinkID = Creature.New(drinkTarget):ID()
local cont = Container.GetFirst()
local count = 0
if cont:ItemCount() >= 1 then
count = cont:ItemCount() - 1
end

if(cont:GetItemData(count).id == Item.GetItemIDFromDualInput(manaPot)) and drinkID ~= 0 then
cont:UseItemWithCreature(count, drinkID)
elseif (Item.isContainer(cont:GetItemData(count).id)) then
cont:UseItem(count, true)
end
module:Delay(1000)
end)


I use this script on the character spamming spells



local listspells =
{
"exura vita",
"utana vid",
}

Module("BurnMana", function(mod)
for _, spell in ipairs(listspells) do
Self.Cast(spell)
end
mod:Delay(200)
end)


Then I have about 200 cascading backpacks. Each backpack has a maximum of 1800 Mana Potions inside to stop the empty vials falling out of the backpack onto the ground.

I've trained magic level this way for the past 5 double skill weekends (for the full 3 days). Never been deleted :)