knights 8 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 Link to comment https://wrobot.eu/forums/topic/3202-cast-spell-in-quester/ Share on other sites More sharing options...
dida1990 51 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? Link to comment https://wrobot.eu/forums/topic/3202-cast-spell-in-quester/#findComment-14686 Share on other sites More sharing options...
knights 8 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 Link to comment https://wrobot.eu/forums/topic/3202-cast-spell-in-quester/#findComment-14687 Share on other sites More sharing options...
dida1990 51 Posted June 13, 2016 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. BetterSister and Runaro 2 Link to comment https://wrobot.eu/forums/topic/3202-cast-spell-in-quester/#findComment-14720 Share on other sites More sharing options...
knights 8 Posted June 13, 2016 Author Share Posted June 13, 2016 Thanks, got it to work! Had some trouble due to the quotes.. Link to comment https://wrobot.eu/forums/topic/3202-cast-spell-in-quester/#findComment-14725 Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now