partybot question

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
nerdyone255
Posts: 107
Joined: Mon Nov 22, 2010 10:17 am

partybot question

#1 Post by nerdyone255 »

is there a way to use a modifier to specify a permanent target (party leader probably) for single friendly target buffs such as "healing salve" or "Body Vitilization"?
User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: partybot question

#2 Post by lisa »

you could probably add in an option to name a player for special buffs.
Then in the onpreskillcast section of profile check for the name and not to cast if name doesn't match.

Something like this in profile.

Code: Select all

	<onPreSkillCast><![CDATA[
	target = player:getTarget();
	local charname = {"Char1","Char2","Char3")
	if arg1.Name == "PRIEST_HEALING_SALVE" or "DRUID_BODY_VITALIZATION" then
		for k,v in pairs(charname) do
			if target and target.Name == v then return true end
		end
	return false
	end
	]]></onPreSkillCast>
Obviously change the "Char1" and such to actual character names you want to use the buffs on.
Untested and just wrote it off the top of my head, so it would need testing.
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
nerdyone255
Posts: 107
Joined: Mon Nov 22, 2010 10:17 am

Re: partybot question

#3 Post by nerdyone255 »

going to write it into a profile today :)

thanks for the direction lisa!
Post Reply