Meyverick 0 Posted September 8, 2018 Share Posted September 8, 2018 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 https://wrobot.eu/forums/topic/10078-dont-switch-back-after-party-heal/ Share on other sites More sharing options...
Ordush 185 Posted September 8, 2018 Share Posted September 8, 2018 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 https://wrobot.eu/forums/topic/10078-dont-switch-back-after-party-heal/#findComment-47277 Share on other sites More sharing options...
Meyverick 0 Posted September 8, 2018 Author Share Posted September 8, 2018 How can I tell to switch back? How can I heal without switching target? ? I'm using the spell settings "For Friends" ? Link to comment https://wrobot.eu/forums/topic/10078-dont-switch-back-after-party-heal/#findComment-47278 Share on other sites More sharing options...
Ordush 185 Posted September 8, 2018 Share Posted September 8, 2018 1 minute ago, Meyverick said: How can I tell to switch back? How can I heal without switching target? ? I'm using the spell settings "For Friends" ? Is your fightclass C# or XML? Link to comment https://wrobot.eu/forums/topic/10078-dont-switch-back-after-party-heal/#findComment-47279 Share on other sites More sharing options...
Meyverick 0 Posted September 8, 2018 Author Share Posted September 8, 2018 XML, I'm using the FightClass creator ? Link to comment https://wrobot.eu/forums/topic/10078-dont-switch-back-after-party-heal/#findComment-47280 Share on other sites More sharing options...
Ordush 185 Posted September 8, 2018 Share Posted September 8, 2018 Link to comment https://wrobot.eu/forums/topic/10078-dont-switch-back-after-party-heal/#findComment-47281 Share on other sites More sharing options...
Ordush 185 Posted September 8, 2018 Share Posted September 8, 2018 TargetLastTarget(); Link to comment https://wrobot.eu/forums/topic/10078-dont-switch-back-after-party-heal/#findComment-47282 Share on other sites More sharing options...
Meyverick 0 Posted September 8, 2018 Author Share Posted September 8, 2018 Thank you! But I have to learn C# to do that, impossible with the Creator ? Link to comment https://wrobot.eu/forums/topic/10078-dont-switch-back-after-party-heal/#findComment-47283 Share on other sites More sharing options...
Ordush 185 Posted September 9, 2018 Share Posted September 9, 2018 (edited) 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 September 9, 2018 by Ordush Link to comment https://wrobot.eu/forums/topic/10078-dont-switch-back-after-party-heal/#findComment-47284 Share on other sites More sharing options...
Ordush 185 Posted September 9, 2018 Share Posted September 9, 2018 https://wrobot.eu/forums/forum/7-tutorials-wrobot/ Look through this, a lot of nice help to get here. ? Grevlen 1 Link to comment https://wrobot.eu/forums/topic/10078-dont-switch-back-after-party-heal/#findComment-47285 Share on other sites More sharing options...
Meyverick 0 Posted September 9, 2018 Author Share Posted September 9, 2018 Thank you! Do you know how I can use my Wand? Because "Shoot" is skipped ? Link to comment https://wrobot.eu/forums/topic/10078-dont-switch-back-after-party-heal/#findComment-47286 Share on other sites More sharing options...
Ordush 185 Posted September 9, 2018 Share Posted September 9, 2018 (edited) 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 September 9, 2018 by Ordush Link to comment https://wrobot.eu/forums/topic/10078-dont-switch-back-after-party-heal/#findComment-47287 Share on other sites More sharing options...
Meyverick 0 Posted September 9, 2018 Author Share Posted September 9, 2018 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 https://wrobot.eu/forums/topic/10078-dont-switch-back-after-party-heal/#findComment-47309 Share on other sites More sharing options...
Ordush 185 Posted September 9, 2018 Share Posted September 9, 2018 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 https://wrobot.eu/forums/topic/10078-dont-switch-back-after-party-heal/#findComment-47311 Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now