Code:
// Leatherworkers Dream by TheUltimateParadox
// Release Notes:
// v0.4 - Valerka - Fixed pull task / vendoring to work with 1.0.3c and up.
// v0.3 - Valerka - Added macros for leatherworking, added 1 more hotspot, and created a solution to the bugged mobs.
// v0.2 - Added Mailcode by TheUltimatePadadox
// v0.1 - Released for pather 0.31
Par
{
$MinLevel = $MyLevel-10;
$MaxLevel = $MyLevel + 1;
Defend // Defend yourself :)
{
$Prio = 0;
}
Danger // Attack hostile mobs that are close
{
$Prio = 1;
$Distance = 30;
}
Loot
{
$Prio = 2;
$Distance = 60;
$Skin = true;
}
If
{
$Prio = 2;
$cond = $ItemCount{"Knothide Leather Scraps"} >= 20;
Until
{
$cond = $ItemCount{"Knothide Leather Scraps"} <= 20;
CastSpell
{
$Key = "LWK";
}
}
}
If
{
$Prio = 2;
$cond = $ItemCount{"Knothide Leather"} >= 20;
Until
{
$cond = $ItemCount{"Knothide Leather"} <= 20;
CastSpell
{
$Key = "LWHK";
}
}
}
Par
{
$Prio = 3;
Buy
{
$Items = [["Clefthoof Ribs", 5, 100]];
$NPC = "Matron Tikkit";
$Location = [ -1232.5, 7162.3, 57.3];
$BlacklistTime = 15 * 60;
$UseMount = true;
}
Vendor
{
$NPC = "Osrok the Immovable";
$MinDurability = 0.4;
$MinFreeBagSlots = 5;
$Protected = ["bandage", "hearth", "shot", "arrow", "ribs", "mote", "primal", "water", "skinning"];
$SellGray = true;
$SellWhite = false;
$SellGreen = false;
$Location = [-1332.878, 7197.079, 34.19107];
$BlacklistTime = 15 * 60;
$UseMount = true;
}
}
Par
{
Mail
{
$Prio = 2;
$Location = [ -1269.09, 7176.34, 57.26]; // A location within ~50 yards of a Mailbox. REQUIRED.
$To = "BANK/ALTS NAME HERE"; // Send items to BankAlt; MUST BE EXACT!
$Items = ["Leather", "Primal", "Mote"]; // Send anything the task picked up.
$Protected = ["hearth", "potion", "bandage", "arrows", "shot", "ribs"]; // Don't mail these items, no matter what
$MailGreens = True; // Mail all green items to alt
$MailBlues = True; // Mail all blue items to alt
$MailEpics = True; // Mail all epic items to alt
$MinFreeBagSlots = 5; // Make sure to go mail items when you only have 5 slots left
}
}
Pull {
$Prio = 4;
$Names= ["Talbuk Stag","Talbuk Thorngrazer","Clefthoof Bull", "Clefthoof","Wild Elekk"];
}
}
Hotspots
{
$Prio = 5;
$UseMount=True;
$Order = "Random";
$Locations = [[ -1544.7, 6767.5, 13.0],[ -1565.1, 7003.2, 0.5],[ -1671.4, 7243.6, 2.6],[ -1359.7, 7596.2, 4.4]];
}
}