Jvidia said:
90mins between bumps. Really? I know it seems like some of us just sit here all day and hit the refresh button, but we don't do that. Honestly. <pulls the finger back from creeping towards F5 yet again>. Yes, Honestly.
Now on to the problem...
Jvidia said:
how do i go about creating the profile for different classes? i started the profile working with a warlock but soon realised that other classes get quests from there own trainers.
To get started writing questing profiles, here are three good resources...
To answer your specific question, you use a
Condition attribute in an
<If> statement. The exact concrete example you ask about is shown on the documentation for the
<If> element...
[wiki]Honorbuddy Profile Tag: If[/wiki]
HTML:
<!-- Mages, go pick up your class-specific quest -->
<If Condition="Me.Class == WoWClass.Mage">
<PickUp QuestName="Mastering the Arcane" QuestId="27354"
GiverName="Maginor Dumas" GiverId="331" />
<!-- ...do quest objectives... -->
<TurnIn QuestName="Mastering the Arcane" QuestId="27354"
TurnInName="Lucan Cordell" TurnInId="1317" />
<!-- Warlocks, go pick up your class-specific quest -->
<ElseIf Condition="Me.Class == WoWClass.Warlock">
<PickUp QuestName="A Boon for the Powerful" QuestId="27355"
GiverName="Demisette Cloyce" GiverId="461" />
<!-- ...do quest objectives... -->
<TurnIn QuestName="A Boon for the Powerful" QuestId="27355"
TurnInName="Lucan Cordell" TurnInId="1317" />
</ElseIf>
</If>
A full list of
Conditions used by most profile writers is available here...
[wiki]Honorbuddy Profile Tag Attribute: Condition[/wiki]
If you've never written a Quest profile before, you're in for a fair bit of reading. Most people are happy to help, but they also expect that you've done your due diligence of reading, before asking.
Good luck with it, and welcome to the world of Quest profile writing.
cheers,
chinajade