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:
EDIT: Outdated, i managed to write it myself.
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: