knights 7 Posted June 12, 2016 Share Posted June 12, 2016 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 Quote Link to post Share on other sites
dida1990 48 Posted June 12, 2016 Share Posted June 12, 2016 There are many ways, so please tell me first, what you want to do? Do you want to cast a spell on an enemy or an NPC or just want to buff yourself? Quote Link to post Share on other sites
knights 7 Posted June 12, 2016 Author Share Posted June 12, 2016 casting on self. Perhaps like casting garrison on mob, or cast a HoT before combat Quote Link to post Share on other sites
Solution dida1990 48 Posted June 13, 2016 Solution Share Posted June 13, 2016 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. Runaro and BetterSister 2 Quote Link to post Share on other sites
knights 7 Posted June 13, 2016 Author Share Posted June 13, 2016 Thanks, got it to work! Had some trouble due to the quotes.. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.