Jump to content
This site uses cookies! Learn More

This site uses cookies!

By continuing to use this site, you agree to allow us to store cookies on your computer. :)

krycess

Premium Seller
  • Content Count

    15
  • Joined

  • Last visited

About krycess

  • Rank
    Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. I'm not quite sure what you mean. the fight class should only be limited by the frequency of bot pulses. or maybe my implementation is just cumbersome. maybe I should revisit my tasking library
  2. I have obtained permission to do this. If Droidz revokes this permission I will delete the post until the subscription has been acquired. I have added a disclaimer stating that the first sale will purchase this subscription. Sorry about any confusion and thank you for looking out for the community.
  3. Version 1.0.0

    15 downloads

    ALL FOR ONLY $8 Contact via PM or Discord: krycess#1875 NOTE: The demo is for warrior and can be downloaded by clicking on the button to the right --> Hello! Each fight class utilizes a priority tasking system that keeps a rotation going. Currently, these are the namespaces that are available. Each purchase includes all of the files in the FightClass.Wotlk namespace. FightClass.Wotlk.DeathKnight.Frost FightClass.Wotlk.Paladin.Retribution FightClass.Wotlk.Shaman.Enhancement FightClass.Wotlk.Warrior.Fury ALL FOR ONLY $8 Contact via PM or Discord: krycess#1875 NOTE: The first sale is designated for the purchase of a "Seller Subscription" NOTE: The second, third and fourth sales are designated for the purchase of a "1 Year WRobot Subscription" NOTE: More content will be created when I am able to afford these two subscriptions. Cheers!
  4. I use these to detect shaman buffs and they work well internal static class EnhancementHelper { public static bool HasTwoHandEquipped => Lua.LuaDoString<int>("result = IsEquippedItemType('Two-Hand')", "result") == 1; public static bool HasShieldEquipped => Lua.LuaDoString<int>("result = IsEquippedItemType('Shields')", "result") == 1; public static bool HasMainHandEnhancement => Lua.LuaDoString<int>("result = GetWeaponEnchantInfo()", "result") == 1; public static bool HasOffHandEnhancement => Lua.LuaDoString<int>("_, _, _, result = GetWeaponEnchantInfo()", "result") == 1; } my implementation looks like this internal class Imbue : TTask { readonly ISpellService spellService; public Imbue( ISpellService spellService) { this.spellService = spellService; } public override int Priority => 999; public override bool Activate() { return (spellService.RockbiterWeapon.KnownSpell || spellService.WindfuryWeapon.KnownSpell || spellService.FlametongueWeapon.KnownSpell) && (spellService.RockbiterWeapon.IsSpellUsable || spellService.WindfuryWeapon.IsSpellUsable || spellService.FlametongueWeapon.IsSpellUsable) && (!EnhancementHelper.HasMainHandEnhancement || (!EnhancementHelper.HasShieldEquipped && !EnhancementHelper.HasTwoHandEquipped && !EnhancementHelper.HasOffHandEnhancement)); } public override void Execute() { if (spellService.WindfuryWeapon.KnownSpell && !EnhancementHelper.HasMainHandEnhancement) spellService.WindfuryWeapon.Launch(); else if (spellService.FlametongueWeapon.KnownSpell && EnhancementHelper.HasMainHandEnhancement && !EnhancementHelper.HasOffHandEnhancement) spellService.FlametongueWeapon.Launch(); else spellService.RockbiterWeapon.Launch(); } }
  5. Version 1.0.0

    26 downloads

    hello! I have just recently begun developing with wRobot. here is a warrior fight class! it implements a priority tasking system that utilizes dependency injection techniques please let me know what features need to be added to this as I know next to nothing about this community and what they want/need. I am more than happy to take and deliver requests! Cheers!
  6. yes, Fody is bundling these but there also other required dll's such as TreeTask and Microsoft.Extensions.DependencyInjection
  7. Version 1.0.2

    13 downloads

    hello! I have just recently begun developing with wRobot. here is a warrior fight class! it implements a priority tasking system that utilizes dependency injection techniques please let me know what features need to be added to this as I know next to nothing about this community and what they want/need. I am more than happy to take and deliver requests! Cheers!
  8. these are mostly for my own reference but also for anyone who is looking to do the same things that I was trying to do. these properties and methods assist in swapping warrior stances and checking for weapon enhancements such as poisons/oils/shaman enhancements etcetcetc public static Task<bool> HasBattleStance => Task.FromResult(Lua.LuaDoString<int>("_,_,isActive,_ = GetShapeshiftFormInfo(1);", "isActive") == 1); public static Task CastBattleStanceAsync() { Lua.LuaDoString("CastSpellByName('Battle Stance')"); return Task.CompletedTask; } public static Task<bool> HasDefensiveStance => Task.FromResult(Lua.LuaDoString<int>("_,_,isActive,_ = GetShapeshiftFormInfo(2);", "isActive") == 1); public static Task CastDefensiveStanceAsync() { Lua.LuaDoString("CastSpellByName('Defensive Stance')"); return Task.CompletedTask; } public static Task<bool> HasBerserkerStance => Task.FromResult(Lua.LuaDoString<int>("_,_,isActive,_ = GetShapeshiftFormInfo(3);", "isActive") == 1); public static Task CastBerserkerStanceAsync() { Lua.LuaDoString("CastSpellByName('Berserker Stance')"); return Task.CompletedTask; } public static Task<bool> HasMainHandEnhancement => Task.FromResult(Lua.LuaDoString<int>("result = GetWeaponEnchantInfo()", "result") == 1); public static Task<bool> HasOffHandEnhancement => Task.FromResult(Lua.LuaDoString<int>("_, _, _, result = GetWeaponEnchantInfo()", "result") == 1);
  9. sure thing. I'll send you a message
  10. Greetings! I have never checked out WRobot before and I am eager to jump into development. Is there a Discord server or anyone that I can ask questions as I go along?
×
×
  • Create New...