partybot question
-
nerdyone255
- Posts: 107
- Joined: Mon Nov 22, 2010 10:17 am
partybot question
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"?
Re: partybot question
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.
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.
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>
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
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
going to write it into a profile today 
thanks for the direction lisa!
thanks for the direction lisa!