February 7, 20188 yr Hi All! I am trying to get a priest to follow my main (warrior) and heal. I'm working on the Fightclass through the Fightclass Creator. The problem I have is that, when conditions for a spell are met, the priest casts them on my warrior, and also on himself, which eats mana like crazy. I have Product set to Party, "Healer" is turned off under Product Settings. In the Fightclass, I have "For friends (party)" set to "True" for the healing spells, and consitions set to "Target Health Percent" & "Target Buff". For ex, for PW:S, I have Target Health % under 90%, Target Buff PWS set False, Target Buff Weakened Soul set Fasle. When the warrior drops below 90%, priest shields the warrior, then shields himself. Same with renew. Here's the .xml as it is. This is a work in progress, so it may be different by the time you reply ... Thanks! gheals.xml
February 8, 20188 yr You need to create separate spells for yourself and party members, then set the party member spells to not be executed on the player
February 8, 20188 yr Author I have done that, and it seems to just make it worse. The setup i use now uses the following settings for each healing spell: For friends (party): true Cast spell on: target Cast spell on self: False Everything else in Spell Settings is default, and there are conditions for target health percent, and target buffs (for renew, pws, etc.) With these settings, it doesn't seem to heal the warrior at all. Edited February 8, 20188 yr by homeslice sent reply prematurely, wasn't finished typing
February 8, 20188 yr Author update: I switched: "Cast spell on" to "none", and he heals the warrior again. Still burns a lot of mana on himself unnecessarily, and also won't heal outside of combat. I would much prefer, as you say, to have separate conditions for healing himself, Is there addition C# code I could plug in to force him to not cast on himself?
February 8, 20188 yr 4 minutes ago, homeslice said: update: I switched: "Cast spell on" to "none", and he heals the warrior again. Still burns a lot of mana on himself unnecessarily, and also won't heal outside of combat. I would much prefer, as you say, to have separate conditions for healing himself, Is there addition C# code I could plug in to force him to not cast on himself? I'm not really 100% sure how wRobot handles targeting friends, but this should work: ObjectManager.Target.Guid > 0 && ObjectManager.Target.Guid != ObjectManager.Me.Guid
February 8, 20188 yr Author What should I do with that? I added a C# Code condition, and plugged that in, didn't seem to change his behavior. When I drop below my chosen HP%, he casts renew on himself before casting it on me. e: sometimes he just casts on himself, and doesn't heal me at all. Edited February 8, 20188 yr by homeslice additional info
March 5, 20188 yr Did you ever get this figured out? I'm trying to build new fight class myself with the same setup. Do you know if there is a way to have the Priest attack, but switch to healing as well when warrior is low?
Create an account or sign in to comment