View Full Version : mana train
melimao
07-21-2016, 05:06 PM
hi, i wanna know if its possible.
how to use a mana potion on other player?
i know how to use on myself but not on other player.
tryed many options but none works.
Zingron
07-21-2016, 10:22 PM
Are you looking for something like this?
local drinkTarget = 'Kharsek' -- Name of player to use potion on
local manaPot = 'Mana Potion' -- Name of potion to use
while (true) do
local ManaID = Item.GetID(manaPot)
local items = {ManaID}
local container = Container.GetFirst()
local drinkID = Creature.New(drinkTarget):ID()
bp1 = Container(0)
for spot, item in bp1:iItems() do
if (table.contains(items, item.id)) then
bp1:UseItemWithCreature(spot, drinkID)
end
end
end
Also take a look at this thread http://forums.xenobot.net/showthread.php?43206-HOUSETRAINER-Magic-level-with-Ultimate-mana-potions!-I-WILL-PAY!!!&p=489330&viewfull=1#post489330
melimao
07-22-2016, 07:11 PM
thx. it worked perfectly.
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.