cuntismcgee 0 Share Posted April 2, 2016 Can someone show me how I'd go about casting a spell with dreambot? Link to comment Share on other sites More sharing options...
Hashtag 8688 Share Posted April 2, 2016 getMagic.castSpellOn Link to comment Share on other sites More sharing options...
cuntismcgee 0 Author Share Posted April 2, 2016 getMagic.castSpellOn i see most of these are booleans. can u show me an example how to use these please? im new to dreambot scripting. Link to comment Share on other sites More sharing options...
Hashtag 8688 Share Posted April 2, 2016 NPC npc = getNpcs ().closest ("Man"); If (npc != null) { getMagic ().castSpellOn (Normal.CURSE, npc); } Link to comment Share on other sites More sharing options...
cuntismcgee 0 Author Share Posted April 2, 2016 NPC npc = getNpcs ().closest ("Man"); If (npc != null) { getMagic ().castSpellOn (Normal.CURSE, npc); } oh wow okay i was totally doing it wrong before. i wasnt even calling getMagic() first. thank you very much for teaching me Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.