Everytime I switch Characters, I have to go into my profile and set COMBAT_TYPE to ranged when I switch to mage or priest and vice-versa when I turn into Knight.
Can I use an if statement to have it done on it's own?
if player.Class1 == CLASS_KNIGHT then
<option name="COMBAT_TYPE" value="melee" /> <!-- leave empty or choose ranged/melee if not using class default -->
<option name="COMBAT_RANGED_PULL" value="false" /> <!-- only important for melees -->
else
<option name="COMBAT_TYPE" value="ranged" /> <!-- leave empty or choose ranged/melee if not using class default -->
<option name="COMBAT_RANGED_PULL" value="true" /> <!-- only important for melees -->
end
I would try it out now, but I'm at work.
If I leave COMBAT_TYPE empty, MM gives out a full screen of yellow text.
if originalCombatType then settings.profile.options.COMBAT_TYPE = originalCombatType end
if originalCombatDistance then settings.profile.options.COMBAT_DISTANCE = originalCombatDistance end
if originalCombatRangedPull then settings.profile.options.COMBAT_RANGED_PULL = originalCombatRangedPull end
It seems to be working but I'm pretty sure there was a reason why I did it like that, but I can't remember why. I don't know if it's still necessary. Try it for awhile and see if any problems arise.
Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.