Jump to content

Don't switch back after party heal


Meyverick

Recommended Posts

Hello,

I reported this as a bug but I would like confirmation.

I made a Fightclass with heal (party) and combat spell.

When the bot engage a NPC and switch to an ally to heal him, it stuck on him, it don't switch back to the enemy target.

Any solution?

Thank you! ? 

Link to comment
Share on other sites

51 minutes ago, Meyverick said:

Hello,

I reported this as a bug but I would like confirmation.

I made a Fightclass with heal (party) and combat spell.

When the bot engage a NPC and switch to an ally to heal him, it stuck on him, it don't switch back to the enemy target.

Any solution?

Thank you! ? 

Not exactly a bug, unless you tell your FC to swtich back.
Don't switch target to heal. You can heal someone by Name, PartyID orwhatever instead. ?

Link to comment
Share on other sites

2 minutes ago, Meyverick said:

Thank you! But I have to learn C# to do that, impossible with the Creator ?

 

In the fightclass editor, make a new spell after your healing spell.
Where you normally write spell name you write:

TargetLastTarget();

and then scroll down in the settings to Is C# code.
and obviously set that to true. ?

 
Edited by Ordush
Link to comment
Share on other sites

1 minute ago, Meyverick said:

Thank you! Do you know how I can use my Wand? Because "Shoot" is skipped ?

using wand is a bit tricky especially on Vanilla, don't know what version you are coding for.
But a nice "google hack" is to google site:wrobot.eu Wand vanilla
This is just an example you can replace "Wand Vanilla" with everything. ?
I know there is a guide in there by Droidz on how to use wands. ?

Edited by Ordush
Link to comment
Share on other sites

Thank you! ? Just one last things ? Is it possible to create a condition that he don't try to cast "Shoot" while casting another spell? Because actually, my Shoot works but when I'm casting another spell it's spam "Another action in progress" ? The only solution is to add the condition "Casting Spell Name" for every spell ?

Link to comment
Share on other sites

2 hours ago, Meyverick said:

Thank you! ? Just one last things ? Is it possible to create a condition that he don't try to cast "Shoot" while casting another spell? Because actually, my Shoot works but when I'm casting another spell it's spam "Another action in progress" ? The only solution is to add the condition "Casting Spell Name" for every spell ?

There is a condition for not casting while casting. ?

Think it's called "IsCast"

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...