Page 1 of 1
warden summon skill
Posted: Sat Aug 13, 2011 10:20 am
by cheater
hi,
how i can use the summon skill in a config file?
the bot cast the skill but dont wait for the casttime, he attacks a mob right after he casted, so the cast is abort..
Re: warden summon skill
Posted: Sat Aug 13, 2011 8:18 pm
by rock5
If you are already casting the skill, just add a pause after it, eg.
Re: warden summon skill
Posted: Sat Aug 13, 2011 8:25 pm
by whome
How on earth do I SIMPLY get the bot to summon spirit of the oak on load?? And before peeps yell at me, yes I have searched for such a simple command for the last three hours. Seems peeps don't share such simplicity

. Sharing a basic profile would be such kindness. I know Lisa doesnt think it would help, but a starter when skills which we all use at the beginning, would be a great help!!
Re: warden summon skill
Posted: Sat Aug 13, 2011 9:04 pm
by rock5
Maybe you are not aware of the wiki?
http://www.solarstrike.net/wiki/index.p ... le=RoM_Bot
What you want to do is "cast" the skill so you need "player:cast()"
http://www.solarstrike.net/wiki/index.p ... _Functions
So this should work. Put it in the <onLoad> section of your profile.
Code: Select all
player:cast("WARDEN_SUMMON_SPIRIT_OF_THE_OAK")
Make sure the skill is listed in your profile skills.
Re: warden summon skill
Posted: Sun Aug 14, 2011 2:47 am
by whome
Well yeah, I have been to the wiki, ssssoooooo many times, but I'm rather challenged technically...... got this to work for all too scared to ask
Code: Select all
<onLoad><
Re: warden summon skill
Posted: Mon Aug 15, 2011 4:17 pm
by whome
Doh, sorry, should have realised (cos I didnt know to start) you need to have it as a skill in your warden profile to be able to use it.... Just add this last line in mine to yours....
Code: Select all
<skills_warden>
<skill name="WARDEN_CHARGED_CHOP" modifier="" hotkey="MACRO" priority="70" />
<skill name="WARDEN_ENERGY_ABSORB" modifier="" hotkey="MACRO" priority="100" inbattle="true" hpper="60" />
<skill name="WARDEN_BRIAR_SHIELD" modifier="" hotkey="MACRO" priority="40" />
<skill name="WARDEN_POWER_OF_THE_WOOD_SPIRIT" modifier="" hotkey="MACRO" priority="30" maxuse="1" />
<skill name="WARDEN_ELVEN_PRAYER" modifier="" hotkey="MACRO" priority="20" autouse="false" />
<skill name="WARDEN_THORNY_VINE" modifier="" hotkey="MACRO" priority="50" maxuse="1" />
<skill name="MAGE_FIREBALL" modifier="" hotkey="MACRO" priority="110" maxuse="1" />
<skill name="WARDEN_SUMMON_SPIRIT_OF_THE_OAK" modifier="" hotkey="MACRO" priority="120" autouse="false" />
</skills_warden>
this little baby will heal him too.....(although, like the summons, make sure you have elven prayer in your profile too)
Code: Select all
<onLeaveCombat><![CDATA[
-- Additional Lua code to execute after killing an enemy
player:update()
if 65 > (player.Pet.HP/player.Pet.MaxHP * 100) then
player:target( player.Pet )
player:cast("WARDEN_ELVEN_PRAYER")
yrest(1000)
end
]]></onLeaveCombat>
You will have to play with it to get it to your liking though!
