Jump to content

Cast Spell in Quester


knights

Recommended Posts

is there a way to cast spell in a quester profile?

Tried the code below but it does not seems to work

 

<EasyQuest>
      <Name>CastReju</Name>
      <QuestId />
      <QuestType>InteractWithNpc</QuestType>
      <QuestClass xsi:type="InteractWithNpcEasyQuestClass">
        <HotSpots />
        <GossipOptionNpcInteractWith />
        <Macro>CastSpell(774, "spell");</Macro>
        <IgnoreIfDead>false</IgnoreIfDead>
        <EntryIdTarget />
        <Range />
      </QuestClass>
      <ObjectiveCount1>0</ObjectiveCount1>
      <ObjectiveCount2>0</ObjectiveCount2>
      <ObjectiveCount3>0</ObjectiveCount3>
      <ObjectiveCount4>0</ObjectiveCount4>
      <ObjectiveCount5>0</ObjectiveCount5>
      <AutoDetectObjectiveCount1>false</AutoDetectObjectiveCount1>
      <AutoDetectObjectiveCount2>false</AutoDetectObjectiveCount2>
      <AutoDetectObjectiveCount3>false</AutoDetectObjectiveCount3>
      <AutoDetectObjectiveCount4>false</AutoDetectObjectiveCount4>
      <AutoDetectObjectiveCount5>false</AutoDetectObjectiveCount5>
      <CanCondition />
      <IsCompleteCondition />
      <RepeatableQuest>false</RepeatableQuest>
      <NotRequiredInQuestLog>true</NotRequiredInQuestLog>
      <PickUpQuestOnItem>false</PickUpQuestOnItem>
      <PickUpQuestOnItemID>0</PickUpQuestOnItemID>
      <Comment />
      <GossipOptionRewardItem>1</GossipOptionRewardItem>
      <RequiredQuest>0</RequiredQuest>
      <MaxLevel>100</MaxLevel>
      <MinLevel>0</MinLevel>
      <WoWClass>None</WoWClass>
    </EasyQuest>

Thank you

Link to comment
Share on other sites

On 12.6.2016 at 5:44 PM, knights said:

casting on self. Perhaps like casting garrison on mob, or cast a HoT before combat

just create a new step in your quest order "RunLuaCode" and write into the empty field 

CastSpellByName("NameOfSpell", onSelf);

 

But if you want to use a HoT before combat it would be a lot easier to integrate itinto your fight class.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...