All pastes #939531 Raw Edit

Jemand

public text v1 · immutable
·published 2008-03-12 11:18 UTC
rendered paste body
Par // Generic Stuff to do all the time
{
  $MinLevel = $MyLevel - 40;
  $MaxLevel = $MyLevel + 10;

  Rest // Eat/Drink when needed
  {
    $Prio = 0;
  }

  Defend // Attack back attackers
  {
    $Prio = 0;
  }

  Danger // Attack hostile mobs that are close
  {
    $Prio = 1;
    $Distance = 20;
  }

  Loot // Loot corpses
  {
    $Prio = 2;
  }

//	Train
//	{
//		$Prio = 4;
//		$NPC = "Rwag";
//	}

  Par
  {
    $Prio = 2;
    $MinDurability = 0.2;
    $MinFreeBagSlots = 2;
    $SellGrey  = true;
    $SellWhite = true;
    $SellGreen = false;
    $Protected = ["bandage", "hearth", "shot", "arrow", "potion", "ore", "mining pick", "ribs", "poison", "shell", "thieves", "injector", "flash powder", "mote", "primal", "text", "fertile", "grainbread", "water", "skinning", "sargeras", "conjured", "Dalaran Sharp", "Linen Cloth", "Chunk of Boar Meat", "Roasted Boar Meat", "Copper Ore", "Rough Stone", "Silverleaf", "Peacebloom", "Darnassian Bleu"]; 

	//different vendors for different subzones.
	If { $cond = $MySubZone == "Valley Of Trials"; Vendor { $RepairNPC = "Huklah"; $SellNPC = "Huklah"; } }
	If { $cond = $MySubZone == "Sen'jin Village"; Vendor { $RepairNPC = "Trayexir"; $SellNPC = "Trayexir"; } }
	
  }



  Seq
  {
    $Prio = 3;








////////////////////////////////////////////////////////////////////// VALLEY OF TRIALS
////////////////////////////////////////////////////////////////////// VALLEY OF TRIALS
////////////////////////////////////////////////////////////////////// VALLEY OF TRIALS

		Seq {
			$Name = "Your Place In The World";
			$ID = "4641";
			QuestPickup { $NPC = "Kaltunk"; $Location = [[ -609.3, -4248.8, 39.0]]; }
			QuestGoal { Par{} }
			QuestHandin { $NPC = "Gornek"; $Location = [[ -600.6, -4179.4, 41.0]]; }		
		}
			
			
			When {
			$cond = QuestStatus("4641") ==  "completed";
				Seq {
					$Name = "Cutting Teeth";
					$ID = "788";
					QuestPickup {  $NPC = "Gornek"; $Location = [[ -600.6, -4179.4, 41.0]];   } 
					QuestGoal { 
						Par { 
							Until { 
								$cond = $p.grinder.KillCount{"Mottled Boar"} >= 10;
								p:Par {
									grinder : Pull { $Prio = 2; $Names = "Mottled Boar"; }
									Hotspots { $Prio = 4; $Locations = [[ -473.3, -4245.2, 47.6], [ -467.4, -4187.5, 50.9]]; } 
								}			
							} 
						} 
					} 
					QuestHandin {  $NPC = "Gornek"; $Location = [[ -600.6, -4179.4, 41.0]];  } 
				}
			}
			
			
			When {
			$cond = QuestStatus("788") ==  "completed";
				
				Seq {
					$Name = "Sting of the Scorpid";
					$ID = "789";
					QuestPickup {  $NPC = "Gornek"; $Location = [[ -600.6, -4179.4, 41.0]];   }  
					QuestGoal { 
						Par { 
							Until { 
								$cond = $ItemCount{"Scorpid Worker Tail"} >= 10;
									Par {
										Pull { $Prio = 2; $Names = "Scorpid Worker"; }
										Hotspots { $Prio = 4; 
										$Locations = [[ -558.6, -4114.6, 69.6], [ -425.5, -4128.8, 50.7]]; 
										} 
									} 
							} 
						} 
					} 
					QuestHandin {  $NPC = "Gornek"; $Location = [[ -600.6, -4179.4, 41.0]];   } 
				}
					
			}
			
			
		Seq {
			$Name = "Encrypted Tablet";
			$ID = "9554";
			QuestPickup {  $NPC = "Gornek"; $Location = [[ -600.6, -4179.4, 41.0]];   }  
			QuestGoal { Par{} }
			QuestHandin { $NPC = "Rwag"; $Location = [[ -592.9, -4147.3, 42.1]]; }		
		}
				
				
		Seq {
			$Name = "Galgar's Cactus Apple Surprise";
			$ID = "4402";
			QuestPickup { $NPC = "Galgar"; $Location = [[ -569.1, -4227.5, 41.0]]; }
					QuestGoal { 
						Par { 
							Until { 
								$cond = $ItemCount{"Cactus Apple"} >= 10;
									Par {
										Harvest { $Names = ["Cactus Apple"];
										Hotspots {$Prio=4; $Locations=[[ -553.5, -4281.9, 37.5], [ -495.6, -4290.3, 42.2], [ -425.7, -4179.2, 48.8]];}
										} 
									} 
							} 
						} 
					}
			QuestHandin { $NPC = "Galgar"; $Location = [[ -569.1, -4227.5, 41.0]]; }
		}
		
		
		Seq {
			$Name = "Vile Familiars";
			$ID = "792";
			QuestPickup {  $NPC = "Zureetha Fargaze"; $Location = [[ -625.5, -4225.3, 38.1]];   } 
			QuestGoal { 
				Par { 
					Until { 
						$cond = $p.grinder.KillCount{"Vile Familiar"} >= 12;
						p:Par {
							grinder : Pull { $Prio = 2; $Names = "Vile Familiar"; }
							Hotspots { $Prio = 4; $Locations = [[ -213.4, -4332.0, 65.5], [ -217.6, -4375.8, 63.4], [ -235.9, -4387.2, 66.8], [ -234.8, -4431.3, 63.1]]; } 
						}			
					} 
				} 
			} 
			QuestHandin {  $NPC = "Zureetha Fargaze"; $Location = [[ -625.5, -4225.3, 38.1]];   } 
		}

		//do some grinding, since not all quests can be completed...
		If {
			$cond = $MyLevel < 6;
				Until { 
					$cond = $MyLevel == 6;
					p:Par {
						grinder : Pull { $Prio = 2; $Names = "Vile Familiar"; }
						Hotspots { $Prio = 4; $Locations = [[ -213.4, -4332.0, 65.5], [ -217.6, -4375.8, 63.4], [ -235.9, -4387.2, 66.8], [ -234.8, -4431.3, 63.1]]; } 
					}			
				} 
		}
		
			
////////////////////////////////////////////////////////////////////// VALLEY OF TRIALS
////////////////////////////////////////////////////////////////////// VALLEY OF TRIALS
////////////////////////////////////////////////////////////////////// VALLEY OF TRIALS

////////////////////////////////////////////////////////////////////// Senjin
////////////////////////////////////////////////////////////////////// Senjin
////////////////////////////////////////////////////////////////////// Senjin

		Seq {
        	$Name = "Zalazane";
        	$ID = "826";
        	QuestPickup { $NPC = "Master Gadrin"; $Location = [[ -823.8, -4919.5, 18.5]];  } 
        	QuestGoal { 
				Par { 
					Until { 
						$cond = $p.grinder.KillCount{"Hexed Troll"} >= 8;
						p:Par {
							grinder : Pull { $Prio = 2; $Names = "Hexed Troll"; }
							Hotspots { $Prio = 4; $Locations = [[ -1276.9, -5489.3, 4.6], [ -1252.9, -5526.0, 5.8], [ -1230.9, -5540.9, 4.7]]; } 
						}			
					} 
					Until { 
						$cond = $p.grinder.KillCount{"Voodoo Troll"} >= 8;
						p:Par {
							grinder : Pull { $Prio = 2; $Names = "Voodoo Troll"; }
							Hotspots { $Prio = 4; $Locations = [[ -1276.9, -5489.3, 4.6], [ -1252.9, -5526.0, 5.8], [ -1230.9, -5540.9, 4.7]]; } 
						}			
					}
					Until { 
						$cond = $ItemCount{"Zalazane's Head"} >= 1;
						p:Par {
							Pull { $Prio = 2; $Names = "Zalazane"; }
							Hotspots { $Prio = 4; $Locations = [[ -1276.9, -5489.3, 4.6], [ -1252.9, -5526.0, 5.8], [ -1230.9, -5540.9, 4.7]]; }
						}
					}
				} 
			} 
          QuestHandin { $NPC = "Master Gadrin"; $Location = [[ -823.8, -4919.5, 18.5]];  } 
        }

////////////////////////////////////////////////////////////////////// Senjin
////////////////////////////////////////////////////////////////////// Senjin
////////////////////////////////////////////////////////////////////// Senjin

////////////////////////////////////////////////////////////////////// Razor Hill
////////////////////////////////////////////////////////////////////// Razor Hill
////////////////////////////////////////////////////////////////////// Razor Hill

//		Seq {
//			$Name = "A Peon's Burden";
//			$ID = "2161";
//			QuestPickup {  $NPC = "Ukor"; $Location = [[ -598.3, -4711.7, 35.3]];   } 
//			QuestGoal { Par { } } 
//			QuestHandin {  $NPC = "Zureetha Fargaze"; $Location = [[ -625.5, -4225.3, 38.1]];   } 
//		}

////////////////////////////////////////////////////////////////////// Razor Hill
////////////////////////////////////////////////////////////////////// Razor Hill
////////////////////////////////////////////////////////////////////// Razor Hill
			
			
			
			
			
	}
}