Everything posted by jiraiyasm
-
correct code for debuff
Thank you so much for the help. i am still very new to this area. i tried having my lock to use grand spellstone but it doesn't "Left click" the spellstone to the weapon. i just based this on the snipets for rogue also. private void EnchantWeapon() { bool hasMainHandEnchant = Lua.LuaDoString<bool> (@"local hasMainHandEnchant, _, _, _, _, _, _, _, _ = GetWeaponEnchantInfo() if (hasMainHandEnchant) then return '1' else return '0' end"); if (!hasMainHandEnchant) { IEnumerable<uint> MP = InstantPoisonDictionary .Where(i => i.Key <= ObjectManager.Me.Level && ItemsManager.HasItemById(i.Value)) .OrderByDescending(i => i.Key) .Select(i => i.Value); if (MP.Any()) { MHPoison = MP.First(); ItemsManager.UseItem(MHPoison); Thread.Sleep(10); Lua.LuaDoString("/click PickupInventoryItem(16)"); Thread.Sleep(5000); return; } } } private static Dictionary<int, uint> InstantPoisonDictionary = new Dictionary<int, uint> { { 79, 41196 }, }; may i ask please how to check if the required item is available in the bag before casting the spell especially needed for casting buffs. Thank you @Talamin
-
correct code for debuff
hi anyone can help me have the correct setting for the fight class im making please. my FC doesn't cast Corruption because it already sees another lock's corruption as it's own. I highlighted the possible line that needs to be changed to it will buff Corruption to it's target. Thank you. if (Corruption.IsSpellUsable && Corruption.KnownSpell && Corruption.IsDistanceGood && SpellManager.GlobalCooldownTimeLeft() == 0 && !ObjectManager.Target.Rooted && !ObjectManager.Target.HaveBuff("Corruption") && ObjectManager.Me.HaveBuff("Life Tap")) { Corruption.Launch(); return; }
-
Borean Tundra 150 Quests H
hi Jensen. When my quester closes, how do you load the quest where it stopped? I have to manually find the quest my char is currently doing and run it again? is there a way that it will automatically check what quests have been done and load the next one? Thank you.
- 19 comments
- 1 review
-
Is it even possible to make a decent 5-man dungeon team?
Hi all. Just taking my chances if there was any progress with this project regarding boting in a dungeon. i just started using wrobot and i would like to use it in FOS/POS EoT farm if it is possible. Thank you.
- Bag.GetBagItem()
- Bag.GetBagItem()