What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

Macros-combat plugin.

strix

New Member
Joined
Feb 13, 2010
Messages
442
Reaction score
18
Well lets say what i want to achieve and what plugin is supposed to do.

What i want to achieve:
1. Override (use my own) Combat() and Pull() parts of CustomClass, not interacting any other part of CC
2. Running in-game macros instead of spells directly

Plugin in pseudo-code:
Code:
Disable CustomClass' Combat and Pull (if exist);
Instead use:
{
	i=0;
	<CombatLoop>
	Keep right direction and CombatRange;
	if (i=0)
		press 3;
	else if (TargetIsCasting)
		press 2; 
	else if (CurrentPlayerHP < MaxPlayerHP*50%)
		press 4;
	else
		press 1;
	i=(i+1)%10;
	Wait( RandomNumber(1300, 1600);
	</CombatLoop>
}

EDIT: Outdated, i managed to write it myself.
 
Last edited:
Back
Top