Page 1 of 1
SCOUT_DISARMAMENT_ARROW
Posted: Sun Dec 04, 2011 7:02 pm
by MiesterMan
I found this wasn't in the database so here ya go...
Code: Select all
<skill name="SCOUT_DISARMAMENT_ARROW" id="492950" mana="20" manainc="4.0" range="200" cooldown="8" type="damage" target="enemy" />
Re: SCOUT_DISARMAMENT_ARROW
Posted: Sun Dec 04, 2011 7:18 pm
by MiesterMan
Also, can something be done about mana conversion?
It shouldn't cast unless concentration gets below 20 or 30 and only in combat.
Re: SCOUT_DISARMAMENT_ARROW
Posted: Sun Dec 04, 2011 10:07 pm
by rock5
Is Disarmament Arrow an Elite or Set items skill? The entry in runesdatabase says it's a Knight skill.
There is no facility included at the moment for checking if concentration is below a certain point. You could just add autouse="false" then do a check in <onSkillCast>
Code: Select all
if player.Class1== CLASS_SCOUT and player.Battling and 30 > player.Concentration then
player:cast("SCOUT_MANA_CONVERSION")
end
I think that's right.
Re: SCOUT_DISARMAMENT_ARROW
Posted: Sun Dec 04, 2011 11:29 pm
by MiesterMan
Cool, will do that for now. I know it's a bit confusing, maybe it should under knight. The skill comes from the elite upgrade and shows up in the knight tab using the same TP as disarmament. However, you can only use it on your scout.
If the prefix tells the bot something about the location of the skill then it should be prefixed with knight cause that's where it is. Seems to be working fine with the scout prefix though.
Again, thx for that code. Very quick fix!

Re: SCOUT_DISARMAMENT_ARROW
Posted: Mon Dec 05, 2011 7:27 am
by rock5
MiesterMan wrote:Cool, will do that for now. I know it's a bit confusing, maybe it should under knight. The skill comes from the elite upgrade and shows up in the knight tab using the same TP as disarmament. However, you can only use it on your scout.
Ah, sounds like a passive elite that upgrades a skill. Is that "Armor-piercing Arrow"? "Extends the range of disarmament".
So it is a bit confusing. It's a knight skill but is not available as a knight and it's from a scout elite. It should work with either prefix. I'm not 100% sure, but I think you are right, maybe it should have a knight prefix.