rendered paste body member TakeFlightMaster()
{
call oForce:CheckFM
if ${This.NeedFlight} && !${Me.Location}= Orgrimmar
{
call oForce:CheckFM
This.POIFM:Set[${oForce.FM}]
if ${This.DestinationFM.NotEqual[NULL]} && ${This.POIFM.NotEqual[NULL]} && ${This.DestinationFM.NotEqual[${This.POIFM}]}
{
return TRUE
}
}
if ${This.NeedFlight} && ${Me.Location}= Orgrimmar
{
This.POIFM:Set["OrgrimmarFM"]
if ${This.DestinationFM.NotEqual[NULL]} && ${This.POIFM.NotEqual[NULL]} && ${This.DestinationFM.NotEqual[${This.POIFM}]}
{
return TRUE
}
}
return FALSE
}
---------------------------------------------------------
if ${Me.Level}>=16 && ${Me.Level}=<20
{
if !${This.FM} = FlightmasterMrFM
{
This.FM:Set["FlightmasterMrFM"]
POI.NeedTrainer:Set[TRUE]
}
}