-
Nickwin
- Posts: 2
- Joined: Tue Dec 06, 2016 11:00 am
#1
Post
by Nickwin » Tue Dec 06, 2016 3:43 pm
Hé all,
I am kinda new to this and I was wondering how do I make a Rogue/Mage auto reload projectiles?
Thanks

-
Bill D Cat
- Posts: 555
- Joined: Sat Aug 10, 2013 8:13 pm
- Location: Deep in the Heart of Texas
#2
Post
by Bill D Cat » Wed Dec 07, 2016 5:31 am
Have this in your user profile for that particular character.
Code: Select all
<option name="RELOAD_AMMUNITION" value="thrown" /> <!-- false|arrow|thrown -->
-
beanybabe
- Posts: 647
- Joined: Wed Mar 06, 2013 1:27 am
#3
Post
by beanybabe » Tue Dec 13, 2016 9:32 am
Here is how I do it
<onLoad><![CDATA[
-- Additional Lua code to execute after loading the profile
-- and before the bot starts. e.g. You could overwrite profile settings here
-- like: changeProfileOption("HP_REST", 60);
-- next 2 lines are for logplayer function so it can put player class in the log.
classtable = {"WARRIOR", "SCOUT", "ROGUE", "MAGE", "PRIEST", "KNIGHT", "WARDEN", "DRUID", "WARLOCK", "CHAMPION"}
logPlayer(classtable[player.Class1],classtable[player.Class2]);
-- next 9 lines switch to arrow or thrown for rogue or scout.
if(player.Class1 == CLASS_SCOUT ) then
changeProfileOption("ARROW_QUIVER", 2);
end;
if(player.Class1 == CLASS_ROGUE ) then
changeProfileOption("THROWN_BAG", 2);
end;
if(player.Class1 == CLASS_ROGUE and player.Class2 == CLASS_MAGE) then
changeProfileOption("RELOAD_AMMUNITION", "thrown")
end
]]></onLoad>
Who is online
Users browsing this forum: Bing [Bot], Google [Bot], Semrush [Bot] and 3 guests