EU XP Event - Autouse dropped XP Serums
Posted: Thu Feb 02, 2017 7:04 am
Hi Guys,
if you play on EU.
Add this to your class script Pause function to auto use the dropped XP serums on EU.
if you play on EU.
Add this to your class script Pause function to auto use the dropped XP serums on EU.
Code: Select all
function Pause( )
for Inventory in ListIterator( InventoryList:GetList()) do
-- Check if this is an xp serum.
if string.find( Inventory:GetName(), "Growth Serum" ) ~= nil and Inventory:GetCooldown() == 0 then
PlayerInput:Inventory( Inventory:GetName());
return false;
end
end
return true;
end