how do i use?

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
Golbez
Posts: 66
Joined: Sat Aug 02, 2008 8:27 pm

how do i use?

#1 Post by Golbez »

just wondering how i would tell the bot to use the magic perfume i have in my inventory every 6 hours.


edit: i was also wondering if this was a good setup for a level 47mage/45priest.

Code: Select all


<skills_mage>
		<skill name="MAGE_FLAME"                hotkey="MACRO" priority="80" />
		<skill name="MAGE_FIREBALL"          	hotkey="MACRO" priority="80" />
		<skill name="MAGE_LIGHTNING"         	hotkey="MACRO" priority="50" />
		<skill name="PRIEST_RISING_TIDE"     	hotkey="MACRO" priority="50" />
		<skill name="MAGE_ELEMENTAL_WEAKNESS"   hotkey="MACRO" priority="85" nobuffname="target" nobufftarget="target"/>

		<skill name="MAGE_INTENSIFICATION" 		hotkey="MACRO" priority="20" hpper="15" />
		<skill name="MAGE_ENERGY_WELL" 		  	hotkey="MACRO" priority="30" inbattle="true" />
		<skill name="MAGE_ENERGY_INFLUX" 	  	hotkey="MACRO" priority="30" inbattle="true" />
		<skill name="MAGE_ELEMENTAL_CATALYST"   hotkey="MACRO" priority="60" manaper="75" inbattle="true" />
		<skill name="MAGE_ESSENCE_OF_MAGIC" 	hotkey="MACRO" priority="20" rebuffcut="60" inbattle="false" />
		<skill name="MAGE_FIRE_WARD"			hotkey="MACRO" priority="20" rebuffcut="50" inbattle="false" />
		<skill name="PRIEST_BLESSED_SPRING_WATER"	hotkey="MACRO" priority="20" rebuffcut="60" inbattle="false" />
		<skill name="PRIEST_MAGIC_BARRIER"  	hotkey="MACRO" priority="20" rebuffcut="60" inbattle="false"/>

		<skill name="PRIEST_URGENT_HEAL"     	hotkey="MACRO" priority="100" hpper="60"  />
		<skill name="PRIEST_REGENERATE"      	hotkey="MACRO" priority="90"  hpper="80" />
		<skill name="MAGE_ELECTROSTATIC_CHARGE" hotkey="MACRO" priority="100" inbattle="true" hpper="35" nobuffname="player" nobufftarget="player"/>
		<skill name="PRIEST_HOLY_AURA"       	hotkey="MACRO" priority="100" inbattle="true" hpper="25" />
	</skills_mage>


User avatar
MustHave
Posts: 28
Joined: Sat Jan 21, 2012 11:51 pm
Location: 742, Evergreen Terrace, Springfield

Re: how do i use?

#2 Post by MustHave »

First you need to find out the item id:
go and check out on http://de.runesdatabase.com
Because there are several items of magic perfume (time is the difference) you need to pick up the right item id of which one you have in your bag.

- Just search for magic perfume then click the right item.
- Look into the browser address bar there you see some numbers. This is your item id

Example:
http://de.runesdatabase.com/item/207582/magic-perfume-1-day
then open your profile and put in onleave combat:

Code: Select all

	<onLeaveCombat><![CDATA[
		-- Additional Lua code to execute after killing an enemy
	]]>
	if (not player:hasBuff("buffname")) then
	inventory:useItem(207582);
	end
	</onLeaveCombat>
As I didn't know what's the exact buffname of your item I used a placeholder.
This will always check after each fight if you still have the buff and if not will use the item if it could.
Beer: The cause of, and solution to, all of life's problems.
Thnx to all of those who are working their ass off for us dumb asses
Golbez
Posts: 66
Joined: Sat Aug 02, 2008 8:27 pm

Re: how do i use?

#3 Post by Golbez »

ty for your help :D
User avatar
MustHave
Posts: 28
Joined: Sat Jan 21, 2012 11:51 pm
Location: 742, Evergreen Terrace, Springfield

Re: how do i use?

#4 Post by MustHave »

You're welcome buddy ;)
Beer: The cause of, and solution to, all of life's problems.
Thnx to all of those who are working their ass off for us dumb asses
Post Reply