Ive tried this but still not workin:
Thanks 4 help.Code:private int gem = 0 ; if (gem < 1) { ConjureGem.Launch(); gem = 3; } if (API.Info.PlayerInfo.Mana < 8000 && UseGem.isReady()) { API.KeyBoard.SendToChat("/use Mana Sapphire"); gem = gem - 1; }
Ive tried this but still not workin:
Thanks 4 help.Code:private int gem = 0 ; if (gem < 1) { ConjureGem.Launch(); gem = 3; } if (API.Info.PlayerInfo.Mana < 8000 && UseGem.isReady()) { API.KeyBoard.SendToChat("/use Mana Sapphire"); gem = gem - 1; }
Deutscher freier Supporter für WoW-Robot.
-Helfe gerne aus. Einfach PM an mich.-
Schaut euch meine Mage CC an!
really old post/response and I know the poster has left WR, but nobody else shared and I feel like I'm the only one "developing" here, so....Code:private int gem = 0 ; if (gem < 1) { ConjureGem.Launch(); gem = 3; } if (API.Info.PlayerInfo.Mana < 8000 && UseGem.isReady()) { API.KeyBoard.SendToChat("/use Mana Sapphire"); gem = gem - 1; }
I'd put the gem in a slot and useinstead of sending to the keyboard.Code:API.KeyBoard.PressSlotBarKey("{2;6}");
The {2;6} is the bar/slot the gem is on.
That code works to "press" bar/slot
I also don't know what Rival is doing with timers, so I try to avoid them. Set your own variable "gemtimer" and check how long it has been since it was last used...
public DateTime gemtimer = DateTime.Now;
GL.Code:public DateTime gemtimer = DateTime.Now; private int gem = 0 ; if (gem < 1) { API.KeyBoard.PressSlotBarKey("{2;5}"); // Make gem gem = 3; } if (API.Info.PlayerInfo.Mana < 8000 && gemtimer < DateTime.now) { API.KeyBoard.PressSlotBarKey("{2;6}"); // Use gem gem = gem - 1; gemtimer = DateTime.Now.AddSeconds(600); // No idea how many seconds to wait to recast }
tG
There are currently 1 users browsing this thread. (0 members and 1 guests)