Jump to content

Pasterke

Members
  • Posts

    165
  • Joined

  • Last visited

Everything posted by Pasterke

  1. List<Object> party = new List<Object>(); var p = new WoWPlayer(0); var obj = ObjectManager.Me; if (obj.IsValid && obj.Type == WoWObjectType.Player) { p = new WoWPlayer(obj.GetBaseAddress); party.Add(p); } return party; If i try with List<WoWUnit> or List<WoWplayer> always the same result : wManager.Wow.ObjectManager.WoWPlayer
  2. nvm, I made my own solution :)
  3. How can I cast a spell on a specific target ? example : Lifebloom cast on tank. Or another spell on a specific target. it's no problem to find all those targets, but there isn't a method in de spellcasting objects to cast it on a specific target. something like Spellmanager.Cast(string spell, wowplayer unit), without that possibilty it's almost impossible to make a healing class.
  4. If you choose Powershot talent that's the result of the log : Same story if you select glaive toss.
  5. I tweaked this routine in that way that it works as supposed for an guardian druid. If you like it, you can replace the one that comes with wrobot with this one. OhrenGuardian Druid.xml
  6. I have here an bosslist with all WoW bosses in raids, instances and scenarios. Is it possible to implent this, that way we can use our cooldowns on bosses and don't waste it on trash ? Bosslist.zip
  7. Thx, but that's not what i'm asking. I speak here about C# and not how to build an xml fighting class.
  8. We have an cast sequence rotation. Let's say : cast spell 1 cast spell 2 cast spell 3 cast spell 4 What happens after he casts spell 1 ? He continues till the bottom of the cast sequence, or he goes back to the top of the list ? Practical example : If we have the buff Lock and Load then we want to cast Explosive Shot. If he returns to the top of the list, then he will cast 2 explosive shots in a row. If he continues to the bottom of the list, then he will cast other spells between.
  9. Change /cast [target=************] Death Coil in /cast [@player] Death Coil, and there is no need to put your name in it.
  10. Version 1.0

    622 downloads

    BeastMaster Hunter Rotation. Be sure to look at the settings before to use it ! If you want other features added, let me know. Enjoy :)
  11. There's is no base spellname for Nether Tempest. You only get that skill if you choose that specific talent. If you have Faerie Swarm and you cast Faerie Fire, then he casts Faerie Swarm. The only thing then, when he look for the debuff, it's Faerie Swarm and not Faerie Fire. I made a solution for that one ; new SpellState("Faerie Fire", 23, context => !MeFeralSettings.CurrentSetting.HaveFaerieSwarm && !(ObjectManager.Me.Guid == ObjectManager.Target.BuffCastedBy("Faerie Fire")), false, true, false, false, true, true, 0, false, false, false, false), new SpellState("Faerie Fire", 22, context => MeFeralSettings.CurrentSetting.HaveFaerieSwarm && !(ObjectManager.Me.Guid == ObjectManager.Target.BuffCastedBy("Faerie Swarm")), false, true, false, false, true, true, 0, false, false, false, false), [Setting] [DefaultValue(false)] [Category("Druid Feral")] [DisplayName("Faerie Swarm Talent")] [Description("Put on true if you have that Talent")] public bool HaveFaerieSwarm { get; set; }
  12. If you have spells added to your spellbook via talents, the bot don't use it and if you debug he says spellname = failed. For mages : don't recognize Nether Tempest For Druids : don't recognize Faerie Swarm.
  13. Target Buff is only checking if the debuff is on the target, not who put the debuff on the target. In raid, with 3 feral druids, he never put rip, rake if another druid provide the debuff. So, you need a check from who is the debuff. public bool debuffExists(int Debuff, WoWUnit onTarget) { if (onTarget != null) { WoWAura aura = onTarget.GetAllAuras().FirstOrDefault(a => a.SpellId == Debuff && a.CreatorGuid == Me.Guid); if (aura != null) { return true; } } return false; }
  14. Any way to interrupt spells ? something like : if (SpellManager.KnownSpell(MightyBash) && (Me.CurrentTarget.IsCasting && Me.CanInterruptCurrentSpellCast)) { do something; }
  15. Upload files in the ClassFifght sections seems to be broken. No worry here the link to download the fightclass. http://wroboferaldruid.googlecode.com/svn/trunk/ Download the file in your FightClass folder of WRobot. Open Notepad and copy and paste following code : <?xml version="1.0" encoding="utf-8"?> <MiscInformation> <Revision>0</Revision> </MiscInformation> and save the file as Revision.xml in your FightClass folder. When done that, you never have to go back to the link to download the latest version, it will autoupdate itself. My druid is now lvl 32 and while leveling I add skills to test everything out. There will be new revision as my druid level up and get new skills. Try it out for now and let me know if you want that I continue to develop this routine. Routine useable once you get Cat Form at lvl 6. Be sure to tick the More Info button to see if there is an update or not (log msg will appaer). If new version is available, just stop WRobot and restart :)
  16. Load the profile. Then click on create figfht class. Then load FightClass and load the xml file. Once loaded, click on convert to C#. When done save the file with extension .cs instedad of .xml. Open the saved file in Notepad. On top you see public float Range { get { return 5; } } Change the 5 in 40. Save the file. Start bot and load the just saved .cs file. The range will now be 40.
×
×
  • Create New...