For this, It would be easier to just remove the whitelist altogether, and let PB wander around to fight mobs as normal. Increase the radius to 50-100, and it will wander about/nav to new spawns. It may slowly drift out of range of Yi, so, that would be something to keep in mind if you're AFK. For this to work, it would need to have a "grey list" of fable pets and a handling method, I.e to ignore, prioritise, load a specific pet team, or devalue "grey" pets e.g. they get artificially pushed out of range, and temporarily ignored unless it's the only pet in range. It seems like an option for a blacklist modification as well, the UI only has so much space, and the black/white list could become difficult to use if there were suddenly new categories of pet handling on distance, type, region, etc on a per-pet or per-target basis. Anyway. the normal battle ideas still apply. Your team layout would have to handle a few rare pets ( some wild pets hit hard, and some get tier 2 spell options depending on breed), but the zandalari pets, and a healer pet, should be able to handle fable and wild pets equally.
Also had another thought about pushing/updating a series of xml files, namely finding a way to sort them, and checking validity. And, renaming/keeping 2 sets of files per pet for big collections. it's the problem of max and min level loadouts using a name.xml and an id.xml, there's no way to idiot proof the process. e.g. as people level their pets, they'd have to change the layout, re-save the layout and/or delete the id.xml , as that's what PB uses. An external app can't read the pet level, a plugin could would rewrite the logic before and after PB opened the file to change it around as needed, but it would need to change the logic based on the layout, and change the layout based on the level, or the opponent. Hmm. Maybe some extra xml could handle multiple logics per pet, or insert from an updated xml list, etc. easier offline editing, etc. I'll pencil it out, see where the flaws are, and how the old combat bot logic editor/PB editor works.
This is not at all what I had in mind but thanks for your feedback. My problem while adding all three is that once it targets yi it never targets the other mobs because yi never despawns therefore not having a need to target a new mob for battle. As far as adding multiple xml files for same pets is also unnecessary. What I have done is simply further expand the xml to do certain actions while under a certain l level and it works very well when I get home I'll uploaded my knee biter priority list to show an example
SWAPOUT Health(THISPET) ISLESSTHAN 50 $ Health(ENEMYPET) ISGREATERTHAN 15 $ MyPetLevel ISLESSTHAN 20 <---Covers below lvl 20 CASTSPELL(3) Health(THISPET) ISLESSTHAN 40 $ Health(ENEMYPET) ISLESSTHAN 15 $ MyPetLevel ISLESSTHAN 20 <---Covers below lvl 20 CASTSPELL(3) MyPetLevel ISLESSTHAN 20 $ HASBUFF(544) EQUALS false@CASTSPELL(1) MyPetLevel ISLESSTHAN 20 <---Covers below lvl 20 SWAPOUT COOLDOWN(SKILL(1)) EQUALS true $ COOLDOWN(SKILL(3)) EQUALS true $ MyPetsAlive ISGREATERTHAN 1 <---Covers lvl 20-25 CASTSPELL(2) HASENEMYBUFF(918) EQUALS false $ Health(ENEMYPET) ISGREATERTHAN 30 <---Covers lvl 20-25 CASTSPELL(1) COOLDOWN(SKILL(1)) EQUALS false@CASTSPELL(3) COOLDOWN(SKILL(3)) EQUALS false <---Covers lvl 20-25 You could break this down even further to to include each new spell at different levels such as just using spell 1 until lvl 5 ETC. You just have to be creative and start at the lowest level at top and go down.
Alright so the plugin's workign great up until i hit lvl 15+ with my Kneebiter's and wanted to use the new spells. This is how the XML file looks like I know what the problem is but w/o the correct ID's to replace the abilities with it's impossible to fix. Basicly i want to use the new spells instead of the "old" in the XML shown below. <?xml version="1.0" encoding="utf-8"?> <PetBattleSettings> <Logic>SWAPOUT Health(THISPET) ISLESSTHAN 30@CASTSPELL(2) HASENEMYBUFF(918) EQUALS false@CASTSPELL(1) HASENEMYBUFF(918) EQUALS true $ COOLDOWN(SKILL(1)) EQUALS false@CASTSPELL(3) COOLDOWN(SKILL(1)) EQUALS true $ HASENEMYBUFF(918) EQUALS true</Logic> <SpellLayout>ASSIGNABILITY1(921)@ASSIGNABILITY2(919)@ASSIGNABILITY3(364)</SpellLayout> </PetBattleSettings> Some assistance would be greatly appreciated!
change to the spells you want to use on your pet profiles and then logout log back in and it should save it that way
Doesn't work, how long did it take you to come up with that? No more guesses please! Would appreciate some help
Perhaps you didnt do it correctly because thats the correct answer. Try using this file. Each kneebiter ends up using its own ID to save the xml. Youll have to navigate to the specific ID in your pokehbuddy/petsettings folder and copy and paste whats in this file to the pet id files
If you're using an old profile, the new wow feature wont help. Try this : Open pokehbuddy settings. Go to the logic editor. Refresh the pet you need fixed. INGAME select the right spells. In Pokehbuddy, press Save. (advanced tip) If you select "Save (similar) species)" and "Overwrite" and press save, the named files will be created & updated. If you have more than 1 of the pet, you can simply press "Revert to species generic" on the other pets and their logic will be refreshed from the named file.
By default its sorted by range. You can customize the code to sort it alphabetically, but honestly we're better off blacklisting lucky yi and creating something that will force us to remain in the safe zone, so we dont wander off into combat.
great plugin, i've read through most of this thread however i seem to be having a problem that when each pet is below 30% health all it does is keep switching out the pet until I am down to one pet. how do i go about avoiding this say if all pets<30% keep attacking until death
That won't work, as it still swaps each pet instead of attacking. I think will need to hard code in something that if all pets meet the SWAP criteria, just disable swapping.
Is there a way to get the plugin to chose a particular pet to start a pvp battle with? If I go with a 25-25-1 set up, the plugin always starts with the level 1 pet even if I change my pet setup to 1-25-25 or 25-1-25. I would love to know if there's a way to start the battle with the level 25 pet.
For now, you cant specify a "start" pet. What you can do, to avoid starting with the lowlevel, is changing the level factor to +100 instead of -100 Planning some updates which would allow what you want
I'm still unable to get this plugin to show up as well. I've tried a fresh HB install and everything. I have the folder in my plugins called Pokebuddy connected to your SVN.