Register for your free account! | Forgot your password?

You last visited: Today at 08:13

  • Please register to post and access all features, it's quick, easy and FREE!


Para's Script Library

View Poll Results: You want the scripts for any client language?
Yes, surely! 154 33.12%
No, english and german are enough for me. 311 66.88%
Voters: 465. You may not vote on this poll

Reply
 
Old 08/13/2018, 11:02   #2011
 
elite*gold: 77
Join Date: Sep 2009
Posts: 4,741
Received Thanks: 1,408
Quote:
Originally Posted by kk.k View Post
does not work

he select my target but dont do nothing, just change between my target and me
Sorry one line was incorrect

He will only attack mobs (not players) between 1-99% HP that you have as target
Code:
#IF=%FirstTime,;
UseSpeed=1;
#UseLoop
#DisableScrolling
#SmoothBackground
#UseIDPerformance
#SetVar3=Enter the potion name you wanna use for sustain/n/nin case you don't wanna use any write 0;
Command=;
#SetVar1=Enter your main charactername;
_MemPtrReadVar=%PlayerBase,%OffsetName,WCHAR[32],2;
_IFMemPtrRead=%PlayerBase,%OffsetLevel,BYTE,>64;
#SmartSkillPerformance
#ENDIF





#EXECUTE=Follow;

#IF=%Timer=99999,1250;
CreateTimer=99999;
#EXECUTE=SelectMaster;
Delay=100;
UseID=50003,21;
Delay=100;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
_IFMemPtrRead=%TargetBase,%OffsetPercentHP,BYTE,<100;
_IFMemPtrRead=%TargetBase,%OffsetType,CHAR[32],=NPC; <-- remove this line for attacking players (PvP)
_IFMemPtrRead=%TargetBase,%OffsetName,BYTE,65-225;
#EXECUTE=CombatSort;
#ENDIF


start_Follow;


#EXECUTE=SelectMaster;
#IF=%TargetDistance,<20;
#IF=%TargetName,%Var1;
Command=/Follow;
#ELSE
Command=/attack;
#ENDIF


end_Follow;



start_SelectSlave;


_IFMemPtrRead=%TargetBase,%OffsetName,WCHAR[32],=%Var2;
#ELSE
Command=/select %Var2;
Delay=5;
#ENDIF


end_SelectSlave;




start_SelectMaster;


_IFMemPtrRead=%TargetBase,%OffsetName,WCHAR[32],=%Var1;
#ELSE
Command=/select %Var1;
Delay=5;
#ENDIF


end_SelectMaster;





start_CombatSort;

_IFMemPtrRead=%PlayerBase,%OffsetGravity,BYTE,=5;
_MemPtrReadVar=%PlayerBase,%OffsetPosX,FLOAT,15;
_MemPtrReadVar=%PlayerBase,%OffsetPosY,FLOAT,16;
_MemPtrReadVar=%PlayerBase,%OffsetPosZ,FLOAT,17;
MoveTo=%Var15,%Var16,%Var17,True,False;
#ENDIF

_IFMemPtrRead=%PlayerBase,%OffsetGravity,BYTE,=5;
_IFMemPtrRead=%PlayerBase,%OffsetData/0x38,BYTE,=1;
#DO=3000;
UseID=50000;
Command=/skill Toggle Combat;
Delay=1500;
_UNTILMemPtrRead=%PlayerBase,%OffsetData/0x38,BYTE,=33;
#ENDIF


_IFMemPtrRead=%PlayerBase,%OffsetClassID,BYTE,=0;
#EXECUTE=CombatWarrior;
#ENDIF

_IFMemPtrRead=%PlayerBase,%OffsetClassID,BYTE,=1;
#EXECUTE=CombatGladiator;
#ENDIF

_IFMemPtrRead=%PlayerBase,%OffsetClassID,BYTE,=2;
#EXECUTE=CombatTemplar;
#ENDIF

_IFMemPtrRead=%PlayerBase,%OffsetClassID,BYTE,=3;
#EXECUTE=CombatScout;
#ENDIF

_IFMemPtrRead=%PlayerBase,%OffsetClassID,BYTE,=4;
#EXECUTE=CombatAssassin;
#ENDIF

_IFMemPtrRead=%PlayerBase,%OffsetClassID,BYTE,=5;
#EXECUTE=CombatRanger;
#ENDIF

_IFMemPtrRead=%PlayerBase,%OffsetClassID,BYTE,=6;
#EXECUTE=CombatMage;
#ENDIF

_IFMemPtrRead=%PlayerBase,%OffsetClassID,BYTE,=7;
#EXECUTE=CombatSorcerer;
#ENDIF

_IFMemPtrRead=%PlayerBase,%OffsetClassID,BYTE,=8;
#EXECUTE=CombatSpiritmaster;
#ENDIF

_IFMemPtrRead=%PlayerBase,%OffsetClassID,BYTE,=9;
#EXECUTE=CombatPriest;
#ENDIF

_IFMemPtrRead=%PlayerBase,%OffsetClassID,BYTE,=10;
#EXECUTE=CombatCleric;
#ENDIF

_IFMemPtrRead=%PlayerBase,%OffsetClassID,BYTE,=11;
#EXECUTE=CombatChanter;
#ENDIF

_IFMemPtrRead=%PlayerBase,%OffsetClassID,BYTE,=12;
#EXECUTE=CombatTechnist;
#ENDIF

_IFMemPtrRead=%PlayerBase,%OffsetClassID,BYTE,=13;
#EXECUTE=CombatAethertech;
#ENDIF

_IFMemPtrRead=%PlayerBase,%OffsetClassID,BYTE,=14;
#EXECUTE=CombatGunslinger;
#ENDIF

_IFMemPtrRead=%PlayerBase,%OffsetClassID,BYTE,=15;
#EXECUTE=CombatMuse;
#ENDIF

_IFMemPtrRead=%PlayerBase,%OffsetClassID,BYTE,=16;
#EXECUTE=CombatSongweaver;
#ENDIF

end_CombatSort;



start_CombatGladiator;

MemWrite=%AddrFreeMem6,0,BYTE;

SmartSkill=598,180000,300,False,False; <-- Berserking

SmartSkill=706,300000,750,False,False; <-- Wall of Steel

SmartSkill=620,180000,750,False,False; <-- Armor of Attrition

SmartSkill=2932,180000,750,False,False; <-- Unwavering Devotion

CreateTimer=999999;

#DO=180000;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=779,10000,750,2500,False; <-- Fury Absorption
#ENDIF

#EXECUTE=MidCombatGladiator;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=2901,12000,750,2500,False; <-- Body Smash
#ENDIF

#EXECUTE=MidCombatGladiator;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=2876,10000,750,3000,False; <-- Ferocious Strike
#ENDIF

#EXECUTE=MidCombatGladiator;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=718,18000,750,2500,False; <-- Cleave
#ENDIF

#EXECUTE=MidCombatGladiator;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=668,30000,750,2000,False; <-- Weakening Blow
#ENDIF

#EXECUTE=MidCombatGladiator;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=553,180000,750,1000,False; <-- Aerial Lockdown
#ENDIF

#EXECUTE=MidCombatGladiator;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=537,180000,750,2000,False; <-- Crushing Blow
#ENDIF

#EXECUTE=MidCombatGladiator;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=646,60000,750,False,False; <-- Piercing Rupture
#ENDIF

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
_IFMemPtrRead=%PlayerBase,%OffsetLevel,BYTE,>64;
#EXECUTE=StigmaGladiator;
#ENDIF

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,=0;
MemWrite=%AddrFreeMem6,1,BYTE;
#ENDIF
_IFMemPtrRead=%PlayerBase,%OffsetHP,DWORD,=0;
MemWrite=%AddrFreeMem6,1,BYTE;
#ENDIF

_UNTILMemRead=%AddrFreeMem6,BYTE,=1;

end_CombatGladiator;


start_MidCombatGladiator;

_IFMemPtrRead=%TargetBase,%OffsetPercentHP,BYTE,>75;
SmartSkill=598,180000,750,False,False; <-- Berserking
#ENDIF

_IFMemPtrRead=%TargetBase,%OffsetPercentHP,BYTE,>75;
SmartSkill=706,300000,750,False,False; <-- Wall of Steel
#ENDIF

_IFMemPtrRead=%TargetBase,%OffsetPercentHP,BYTE,>75;
SmartSkill=620,180000,750,False,False; <-- Armor of Attrition
#ENDIF

_IFMemPtrRead=%TargetBase,%OffsetPercentHP,BYTE,>75;
SmartSkill=2932,180000,750,False,False; <-- Unwavering Devotion
#ENDIF

_IFMemPtrRead=%PlayerBase,%OffsetPercentHP,BYTE,<65;
SmartSkill=648,180000,750,False,False; <-- Second Wind
#ENDIF

#IF=%Timer=999999,7000;<-- If target got no damage after 7000 milliseconds cancel combat
_IFMemPtrRead=%TargetBase,%OffsetPercentHP,BYTE,=100;
SendKey=0x1B;
MemPtrWrite=%AddrESChwnd,%OffsetESChwnd,142,BYTE;
#ENDIF

#EXECUTE=Potion;

end_MidCombatGladiator;




start_CombatTemplar;

MemWrite=%AddrFreeMem6,0,BYTE;

SmartSkill=2932,180000,750,False,False; <-- Unwavering Devotion

SmartSkill=3127,180000,750,False,False; <-- Iron Skin

SmartSkill=2933,90000,750,False,False; <-- Empyrean Fury

CreateTimer=999999;

#DO=180000;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3125,60000,1250,1000,False; <-- Sword Storm
#ENDIF

#EXECUTE=MidCombatTemplar;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3123,30000,750,False,False; <-- Aether Leash
#ENDIF

#EXECUTE=MidCombatTemplar;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=2876,10000,750,2500,False; <-- Ferocious Strike
#ENDIF

#EXECUTE=MidCombatTemplar;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=2901,12000,750,2500,False; <-- Body Smash
#ENDIF

#EXECUTE=MidCombatTemplar;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=4605,12000,750,2500,False; <-- Dazing Severe Blow
#ENDIF

#EXECUTE=MidCombatTemplar;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3033,90000,750,False,False; <-- Holy Punishment
#ENDIF

#EXECUTE=MidCombatTemplar;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=2967,90000,750,False,False; <-- Illusion Chains
#ENDIF

#EXECUTE=MidCombatTemplar;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
_IFMemPtrRead=%PlayerBase,%OffsetLevel,BYTE,>64;
#EXECUTE=StigmaTemplar;
#ENDIF

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,=0;
MemWrite=%AddrFreeMem6,1,BYTE;
#ENDIF
_IFMemPtrRead=%PlayerBase,%OffsetHP,DWORD,=0;
MemWrite=%AddrFreeMem6,1,BYTE;
#ENDIF

_UNTILMemRead=%AddrFreeMem6,BYTE,=1;

end_CombatTemplar;


start_MidCombatTemplar;

_IFMemPtrRead=%TargetBase,%OffsetPercentHP,BYTE,>75;
SmartSkill=2932,180000,750,False,False; <-- Unwavering Devotion
#ENDIF

_IFMemPtrRead=%TargetBase,%OffsetPercentHP,BYTE,>75;
SmartSkill=3127,180000,750,False,False; <-- Iron Skin
#ENDIF

_IFMemPtrRead=%TargetBase,%OffsetPercentHP,BYTE,>75;
SmartSkill=2933,90000,750,False,False; <-- Empyrean Fury
#ENDIF

_IFMemPtrRead=%PlayerBase,%OffsetPercentHP,BYTE,<65;
SmartSkill=3129,300000,750,False,False; <-- Empyrean Armor
#ENDIF


#IF=%Timer=999999,7000;<-- If target got no damage after 7000 milliseconds cancel combat
_IFMemPtrRead=%TargetBase,%OffsetPercentHP,BYTE,=100;
SendKey=0x1B;
MemPtrWrite=%AddrESChwnd,%OffsetESChwnd,142,BYTE;
#ENDIF

#EXECUTE=Potion;

end_MidCombatTemplar;







start_CombatRanger;

MemWrite=%AddrFreeMem6,0,BYTE;

SmartSkill=889,60000,400,False,False; <- Bestial Fury

SmartSkill=796,60000,400,False,False; <- Strong Shots

SmartSkill=3235,30000,400,False,False; <- Devotion

SmartSkill=3195,30000,400,False,False; <- Focused Evasion

CreateTimer=999999;

#DO=180000;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=795,12000,750,1500,False; <- Stunning Shot
#ENDIF

#EXECUTE=MidCombatRanger;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1005,8000,500,2500,False; <- Swift Shot
#ENDIF

#EXECUTE=MidCombatRanger;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=961,16000,750,False,False; <- Entangling shot
#ENDIF

#EXECUTE=MidCombatRanger;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=848,60000,750,False,False; <- Dizzying Arrow
#ENDIF

#EXECUTE=MidCombatRanger;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=829,60000,750,False,False; <- Holy Arrow
#ENDIF

#EXECUTE=MidCombatRanger;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1074,18000,750,False,False; <- Silence Arrow
#ENDIF

#EXECUTE=MidCombatRanger;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1140,30000,750,False,False; <- Arrow Storm
#ENDIF

#EXECUTE=MidCombatRanger;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=839,60000,750,2000,False; <- Spread Shot
#ENDIF

#EXECUTE=MidCombatRanger;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1026,30000,750,False,False; <- Shackle Arrow
#ENDIF

#EXECUTE=MidCombatRanger;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1119,180000,750,False,False; <- Unerring Shot
#ENDIF

#EXECUTE=MidCombatRanger;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1021,2000,750,False,False; <- Deadshot
#ENDIF

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
_IFMemPtrRead=%PlayerBase,%OffsetLevel,BYTE,>64;
#EXECUTE=StigmaRanger;
#ENDIF

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,=0;
MemWrite=%AddrFreeMem6,1,BYTE;
#ENDIF
_IFMemPtrRead=%PlayerBase,%OffsetHP,DWORD,=0;
MemWrite=%AddrFreeMem6,1,BYTE;
#ENDIF

_UNTILMemRead=%AddrFreeMem6,BYTE,=1;

end_CombatRanger;


start_MidCombatRanger;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=889,60000,400,False,False; <- Bestial Fury

SmartSkill=796,60000,400,False,False; <- Strong Shots

SmartSkill=3235,30000,400,False,False; <- Devotion

SmartSkill=3195,30000,400,False,False; <- Focused Evasion
#ENDIF


#IF=%Timer=999999,7000;<-- If target got no damage after 7000 milliseconds cancel combat
_IFMemPtrRead=%TargetBase,%OffsetPercentHP,BYTE,=100;
SendKey=0x1B;
MemPtrWrite=%AddrESChwnd,%OffsetESChwnd,142,BYTE;
#ENDIF

#EXECUTE=Potion;

end_MidCombatRanger;







start_CombatAssassin;

MemWrite=%AddrFreeMem6,0,BYTE;

SmartSkill=3370,180000,500,False,False; <- Slayer Form I

SmartSkill=3481,300000,500,False,False; <- Apply Deadly Poison

SmartSkill=3355,120000,500,False,False; <- Flurry

SmartSkill=3468,30000,500,False,False; <- Killer's Eye

SmartSkill=3235,30000,500,False,False; <- Devotion

SmartSkill=3469,300000,500,False,False; <- Deadly Focus

SmartSkill=3195,30000,500,False,False; <- Focused Evasion

CreateTimer=999999;

#DO=180000;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3415,90000,1000,False,False; <- Massacre
#ENDIF

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3363,40000,750,False,False; <- Ambush
#ENDIF

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3517,60000,750,False,False; <- Weakening Blow
#ENDIF

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3207,16000,750,2500,False; <- Surprise Attack
#ENDIF

#EXECUTE=MidCombatAssassin;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3194,7000,750,2500,False; <- Swift Edge
#ENDIF

#EXECUTE=MidCombatAssassin;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3426,6000,750,2500,False; <- Fang Strike
#ENDIF

#EXECUTE=MidCombatAssassin;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3394,7000,750,750,False; <- Rune Carve
#ENDIF

#EXECUTE=MidCombatAssassin;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3383,18000,750,750,False; <- Pain Rune
#ENDIF

#EXECUTE=MidCombatAssassin;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3476,30000,750,2500,False; <- Assassination
#ENDIF

#EXECUTE=MidCombatAssassin;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3368,60000,750,False,False; <- Ripclaw Strike
#ENDIF

#EXECUTE=MidCombatAssassin;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
_IFMemPtrRead=%PlayerBase,%OffsetPercentHP,BYTE,<65;
SmartSkill=3353,60000,750,False,False; <- Blood Rune
#ENDIF

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
_IFMemPtrRead=%PlayerBase,%OffsetLevel,BYTE,>64;
#EXECUTE=StigmaAssassin;
#ENDIF

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,=0;
MemWrite=%AddrFreeMem6,1,BYTE;
#ENDIF
_IFMemPtrRead=%PlayerBase,%OffsetHP,DWORD,=0;
MemWrite=%AddrFreeMem6,1,BYTE;
#ENDIF

_UNTILMemRead=%AddrFreeMem6,BYTE,=1;

end_CombatAssassin;


start_MidCombatAssassin;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3370,180000,500,False,False; <- Slayer Form I

SmartSkill=3481,300000,500,False,False; <- Apply Deadly Poison

SmartSkill=3355,120000,500,False,False; <- Flurry

SmartSkill=3468,30000,500,False,False; <- Killer's Eye

SmartSkill=3235,30000,500,False,False; <- Devotion

SmartSkill=3469,300000,500,False,False; <- Deadly Focus

SmartSkill=3195,30000,500,False,False; <- Focused Evasion

SmartSkill=3328,60000,500,False,False; <- Aethertwisting
#ENDIF


#IF=%Timer=999999,7000;<-- If target got no damage after 7000 milliseconds cancel combat
_IFMemPtrRead=%TargetBase,%OffsetPercentHP,BYTE,=100;
SendKey=0x1B;
MemPtrWrite=%AddrESChwnd,%OffsetESChwnd,142,BYTE;
#ENDIF

#EXECUTE=Potion;

end_MidCombatAssassin;





start_CombatCleric;

MemWrite=%AddrFreeMem6,0,BYTE;

SmartSkill=3895,180000,500,False,False; <- Amplification

SmartSkill=3894,60000,500,False,False; <- Prayer of Focus

SmartSkill=3888,180000,500,False,False; <- Sage's Wisdom

SmartSkill=3921,180000,2750,False,False; <- Immortal Shroud

CreateTimer=999999;

#DO=180000;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=4053,16000,2750,2500,False; <- Punishing Earth
#ENDIF

#EXECUTE=MidCombatCleric;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=4126,30000,550,False,False; <- Summon Holy Servant
#ENDIF

#EXECUTE=MidCombatCleric;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=4094,12000,1750,1500,False; <- Earth's Wrath
#ENDIF

#EXECUTE=MidCombatCleric;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=4133,16000,550,False,False; <- Chastise
#ENDIF

#EXECUTE=MidCombatCleric;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=4072,16000,550,2000,False; <- Slashing Wind
#ENDIF

#EXECUTE=MidCombatCleric;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1626,8000,550,1500,False; <- Hallowed Strike
#ENDIF

#EXECUTE=MidCombatCleric;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1825,24000,550,False,False; <- Infernal Blaze
#ENDIF

#EXECUTE=MidCombatCleric;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=4024,2000,1250,2500,False; <- Smite
#ENDIF

#EXECUTE=MidCombatCleric;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=4151,60000,550,False,False; <- Land's Bargain
#ENDIF

#EXECUTE=MidCombatCleric;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
_IFMemPtrRead=%PlayerBase,%OffsetLevel,BYTE,>64;
#EXECUTE=StigmaCleric;
#ENDIF

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,=0;
MemWrite=%AddrFreeMem6,1,BYTE;
#ENDIF
_IFMemPtrRead=%PlayerBase,%OffsetHP,DWORD,=0;
MemWrite=%AddrFreeMem6,1,BYTE;
#ENDIF

_UNTILMemRead=%AddrFreeMem6,BYTE,=1;

end_CombatCleric;


start_MidCombatCleric;


SmartSkill=1684,3600000,500,False,False; <- Blessing of Guardianship

_IFMemPtrRead=%TargetBase,%OffsetPercentHP,BYTE,>50;
SmartSkill=3895,180000,500,False,False; <- Amplification

SmartSkill=3894,60000,500,False,False; <- Prayer of Focus

SmartSkill=3888,180000,500,False,False; <- Sage's Wisdom
#ENDIF

_IFMemPtrRead=%PlayerBase,%OffsetPercentHP,BYTE,<95;
SmartSkill=3950,30000,550,False,False; <- Light of Rejuvenation
#ENDIF

_IFMemPtrRead=%PlayerBase,%OffsetPercentHP,BYTE,<80;
SmartSkill=3959,30000,550,False,False; <- Flash of Recovery
#ENDIF

_IFMemPtrRead=%PlayerBase,%OffsetPercentHP,BYTE,<60;
SmartSkill=4194,120000,550,False,False; <- Life Curtain
#ENDIF

_IFMemPtrRead=%PlayerBase,%OffsetPercentHP,BYTE,<80;
SmartSkill=4212,6000,3250,False,False; <- Healing Grace
#ENDIF

_IFMemPtrRead=%PlayerBase,%OffsetPercentHP,BYTE,<80;
SmartSkill=1850,50,2250,False,False; <- Healing Light
#ENDIF

_MemPtrReadVar=%PlayerBase,%OffsetMaxMP,WORD,11; <-- saves max MP in %Var11
_MemPtrReadVar=%PlayerBase,%OffsetMP,WORD,12; <-- saves current MP in %Var12
_Calc11=%Var12/%Var11; <-- divides %Var12 trough %Var11 and saves the result in %Var11
_Calc11=%Var11*100; <-- multiplies %Var11 with 100 and saves the result in %Var11
MemWrite=%AddrFreeMem12,%Var11,FLOAT; <-- writes current mana percent value in %AddrFreeMem12

_IFMemRead=%AddrFreeMem12,FLOAT,<20;
SmartSkill=3877,180000,500,False,False; <- Penance
#ENDIF

_IFMemRead=%AddrFreeMem12,FLOAT,<20;
SmartSkill=4194,120000,550,False,False; <- Life Curtain
#ENDIF


#IF=%Timer=999999,7000;<-- If target got no damage after 7000 milliseconds cancel combat
_IFMemPtrRead=%TargetBase,%OffsetPercentHP,BYTE,=100;
SendKey=0x1B;
MemPtrWrite=%AddrESChwnd,%OffsetESChwnd,142,BYTE;
#ENDIF

#EXECUTE=Potion;

end_MidCombatCleric;



start_CombatChanter; <-- Created by FallenEdge

MemWrite=%AddrFreeMem6,0,BYTE;

_IFSkillActive=4645;
#ELSE
UseID=4645; Hit Mantra
Delay=350;
#ENDIF
_IFSkillActive=4645;
#ELSE
UseID=4645; Hit Mantra
Delay=350;
#ENDIF

_IFSkillActive=1753;
#ELSE
UseID=1753; Revival Mantra
Delay=350;
#ENDIF
_IFSkillActive=1753;
#ELSE
UseID=1753; Revival Mantra
Delay=350;
#ENDIF

_IFSkillActive=4642;
#ELSE
UseID=4642; Invincibility Mantra
Delay=350;
#ENDIF
_IFSkillActive=4642;
#ELSE
UseID=4642; Invincibility Mantra
Delay=350;
#ENDIF

_IFBuffAlive=1556;
#ELSE
SmartSkill=1556,1000,50,False,False;   <-- Ascension Spell
#ENDIF

_IFBuffAlive=1689;
#ELSE
SmartSkill=1689,1000,50,False,False;   <-- Protectorates Prayer
#ENDIF



CreateTimer=999999;

#DO=180000;


_IFMemPtrRead=%PlayerBase,%OffsetPercentHP,BYTE,<25;
_IFMemPtrRead=%PlayerBase,%OffsetLevel,BYTE,<26;
SmartSkill=4013,2000,1500,False,False;                  <-- Smite
#ENDIF


#EXECUTE=MidCombatChanter;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1600,12000,50,False,False;       <-- Inescapable Judgment
#ENDIF

#EXECUTE=MidCombatChanter;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1626,8000,50,1500,False;        <-- Hallowed Strike
#ENDIF

#EXECUTE=MidCombatChanter;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1825,2000,1500,1200,False;       <-- Infernal Blaze
#ENDIF

#EXECUTE=MidCombatChanter;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1789,8000,50,1200,False;         <-- Meteor Strike
#ENDIF

#EXECUTE=MidCombatChanter;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
_IFMemPtrRead=%PlayerBase,%OffsetLevel,BYTE,>64;
#EXECUTE=StigmaChanter;
#ENDIF

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,=0;
MemWrite=%AddrFreeMem6,1,BYTE;
#ENDIF
_IFMemPtrRead=%PlayerBase,%OffsetHP,DWORD,=0;
MemWrite=%AddrFreeMem6,1,BYTE;
#ENDIF

_UNTILMemRead=%AddrFreeMem6,BYTE,=1;

end_CombatChanter;


start_MidCombatChanter;

_IFMemPtrRead=%PlayerBase,%OffsetPercentHP,BYTE,<25;
SmartSkill=1813,300000,50,False,False;                  <-- Block Curtain
#ENDIF

_IFMemPtrRead=%PlayerBase,%OffsetPercentHP,BYTE,<25;
SmartSkill=1698,120000,50,False,False;                  <-- Protective Ward
#ENDIF

_IFMemPtrRead=%PlayerBase,%OffsetPercentHP,BYTE,<60;
SmartSkill=1745,5000,50,False,False;                    <-- Word Revival
#ENDIF

_IFMemPtrRead=%PlayerBase,%OffsetPercentHP,BYTE,<30;
SmartSkill=1606,60000,100,False,False;                  <-- Stamina Restoration
#ENDIF

_MemPtrReadVar=%PlayerBase,%OffsetMaxMP,WORD,11; <-- saves max MP in %Var11
_MemPtrReadVar=%PlayerBase,%OffsetMP,WORD,12; <-- saves current MP in %Var12
_Calc11=%Var12/%Var11; <-- divides %Var12 trough %Var11 and saves the result in %Var11
_Calc11=%Var11*100; <-- multiplies %Var11 with 100 and saves the result in %Var11
MemWrite=%AddrFreeMem12,%Var11,FLOAT; <-- writes current mana percent value in %AddrFreeMem12

_IFMemRead=%AddrFreeMem12,FLOAT,<20;
SmartSkill=1606,60000,100,False,False;                  <-- Stamina Restoration
#ENDIF

_IFMemPtrRead=%PlayerBase,%OffsetPercentHP,BYTE,<60;
SmartSkill=1860,10000,1100,False,False;                  <-- Recovery Spell
#ENDIF

_IFMemPtrRead=%PlayerBase,%OffsetPercentHP,BYTE,<50;
SmartSkill=1850,2000,0,False,False;                      <-- Healing Light
#ENDIF

_IFMemPtrRead=%PlayerBase,%OffsetPercentHP,BYTE,<30;
SmartSkill=1637,180000,50,False,False;                   <-- Unstoppable
#ENDIF

_IFMemPtrRead=%PlayerBase,%OffsetPercentHP,BYTE,<80;
SmartSkill=1759,30000,100,False,False;                   <-- Perfect Parry
#ENDIF

#IF=%Timer=999999,7000;<-- If target got no damage after 7000 milliseconds cancel combat
_IFMemPtrRead=%TargetBase,%OffsetPercentHP,BYTE,=100;
SendKey=0x1B;
MemPtrWrite=%AddrESChwnd,%OffsetESChwnd,142,BYTE;
#ENDIF

#EXECUTE=Potion;

end_MidCombatChanter;



start_CombatSpiritmaster;

MemWrite=%AddrFreeMem6,0,BYTE;

_MemPtrReadVar=%TargetBase,%OffsetName,WCHAR[32],9;

_IFFrameVisible=209; spirit window
#ELSE
SmartSkill=3779,60000,1150,False,False; <- Summoning Alacrity
SmartSkill=3704,5000,4750,False,False; <- Wind Spirit
#ENDIF

Command=/select %Var9;
Delay=100;

SmartSkill=1166,120000,500,False,False; <- Stone Skin

SmartSkill=3573,120000,500,False,False; <- Sympathetic Mind

SmartSkill=3602,180000,500,False,False; <- Elemental Spirit Armor

CreateTimer=999999;

#DO=180000;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3852,120000,1050,False,False; <- Command: Wind Wrath
#ENDIF

#EXECUTE=MidCombatSpiritmaster;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3588,12000,2250,1500,False; <- Weaken Spirit
#ENDIF

#EXECUTE=MidCombatSpiritmaster;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3613,15000,500,1500,False; <- Chain of Earth
#ENDIF

#EXECUTE=MidCombatSpiritmaster;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1459,3000,500,False,False; <- Erosion
#ENDIF

#EXECUTE=MidCombatSpiritmaster;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3837,14000,500,1500,False; <- Command: Wind Disturbance
#ENDIF

#EXECUTE=MidCombatSpiritmaster;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1363,10000,2250,1500,False; <- Ice Chain
#ENDIF

#EXECUTE=MidCombatSpiritmaster;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3831,10000,1750,False,False; <- Summon Wind Servant
#ENDIF

#EXECUTE=MidCombatSpiritmaster;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3601,1000,2000,False,False; <- Vacuum Choke
#ENDIF

#EXECUTE=MidCombatSpiritmaster;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3776,60000,750,3500,False; <- Soul Torrent
#ENDIF

#EXECUTE=MidCombatSpiritmaster;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3853,30000,750,False,False; <- Command: Wind Pique
#ENDIF

#EXECUTE=MidCombatSpiritmaster;

_IFMemPtrRead=%TargetBase,%OffsetPercentHP,DWORD,<40;
SmartSkill=3643,120000,2000,False,False; <- Wind Erosion
#ENDIF

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
_IFMemPtrRead=%PlayerBase,%OffsetLevel,BYTE,>64;
#EXECUTE=StigmaSpiritmaster;
#ENDIF

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,=0;
MemWrite=%AddrFreeMem6,1,BYTE;
#ENDIF
_IFMemPtrRead=%PlayerBase,%OffsetHP,DWORD,=0;
MemWrite=%AddrFreeMem6,1,BYTE;
#ENDIF

_UNTILMemRead=%AddrFreeMem6,BYTE,=1;

end_CombatSpiritmaster;


start_MidCombatSpiritmaster;

_IFMemPtrRead=%PlayerBase,%OffsetPercentHP,BYTE,<40;
SmartSkill=3833,180000,750,False,False; <- Command: Bodyguard
#ENDIF

_IFMemPtrRead=%PlayerBase,%OffsetPercentHP,BYTE,<80;
SmartSkill=3839,180000,750,False,False; <- Spirit Preserve
#ENDIF

_IFMemPtrRead=%PlayerBase,%OffsetPercentHP,BYTE,<65;
SmartSkill=4665,24000,2250,False,False; <- Backdraft
#ENDIF

SmartSkill=1166,120000,500,False,False; <- Stone Skin

SmartSkill=3573,120000,500,False,False; <- Sympathetic Mind

SmartSkill=3602,180000,500,False,False; <- Elemental Spirit Armor

_MemPtrReadVar=%PlayerBase,%OffsetMaxMP,WORD,11; <-- saves max MP in %Var11
_MemPtrReadVar=%PlayerBase,%OffsetMP,WORD,12; <-- saves current MP in %Var12
_Calc11=%Var12/%Var11; <-- divides %Var12 trough %Var11 and saves the result in %Var11
_Calc11=%Var11*100; <-- multiplies %Var11 with 100 and saves the result in %Var11
MemWrite=%AddrFreeMem12,%Var11,FLOAT; <-- writes current mana percent value in %AddrFreeMem12

_IFMemRead=%AddrFreeMem12,FLOAT,<20;
SmartSkill=3738,120000,2250,False,False; <- Spirit Absorption
#ENDIF


#IF=%Timer=999999,7000;<-- If target got no damage after 7000 milliseconds cancel combat
_IFMemPtrRead=%TargetBase,%OffsetPercentHP,BYTE,=100;
SendKey=0x1B;
MemPtrWrite=%AddrESChwnd,%OffsetESChwnd,142,BYTE;
#ENDIF

#EXECUTE=Potion;

end_MidCombatSpiritmaster;




start_CombatGunslinger;

MemWrite=%AddrFreeMem6,0,BYTE;

SmartSkill=2045,300000,500,False,False; <- Aion's Favor

SmartSkill=2124,180000,500,False,False; <- Anticipation

SmartSkill=2046,60000,500,False,False; <- Stopping Power

SmartSkill=2273,60000,500,False,False; <- Sighting

SmartSkill=2052,30000,500,False,False; <- Pressurized Chamber

SmartSkill=1923,30000,500,False,False; <- Bulletproof

CreateTimer=999999;

#DO=180000;

#IF=%Timer=1953,24000;
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2800; <-- base atkspeed equals cannon
SendAction=3,4; <-- switch weapon
#ENDIF
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2250;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1953,24000,750,False,False; <- Hot Shot
#ENDIF

#EXECUTE=MidCombatGunslinger;

#IF=%Timer=2179,24000;
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2800; <-- base atkspeed equals cannon
SendAction=3,4; <-- switch weapon
#ENDIF
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2250;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
_MemPtrReadVar=%PlayerBase,%OffsetMaxMP,WORD,11; <-- saves max MP in %Var11
_MemPtrReadVar=%PlayerBase,%OffsetMP,WORD,12; <-- saves current MP in %Var12
_Calc11=%Var12/%Var11; <-- divides %Var12 trough %Var11 and saves the result in %Var11
_Calc11=%Var11*100; <-- multiplies %Var11 with 100 and saves the result in %Var11
MemWrite=%AddrFreeMem12,%Var11,FLOAT; <-- writes current mana percent value in %AddrFreeMem12
_IFMemRead=%AddrFreeMem12,FLOAT,<20;
SmartSkill=2179,24000,500,3000,False; <- Crosstrigger
CreateTimer=1969;
CreateTimer=1968;
CreateTimer=1967;
CreateTimer=1966;
CreateTimer=1965;
CreateTimer=1964;
CreateTimer=1963;
CreateTimer=1962;
CreateTimer=1961;
CreateTimer=1960;
CreateTimer=1959;
CreateTimer=1958;
CreateTimer=1957;
CreateTimer=2179;
CreateTimer=2178;
CreateTimer=2177;
CreateTimer=2176;
CreateTimer=2175;
CreateTimer=2174;
CreateTimer=2173;
CreateTimer=2172;
CreateTimer=2171;
CreateTimer=2065;
CreateTimer=2064;
CreateTimer=2063;
CreateTimer=2062;
CreateTimer=2061;
CreateTimer=2060;
CreateTimer=2059;
CreateTimer=2058;
CreateTimer=2057;
CreateTimer=2056;
CreateTimer=2055;
#ENDIF

#EXECUTE=MidCombatGunslinger;

#IF=%Timer=2053,30000;
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2800; <-- base atkspeed equals cannon
SendAction=3,4; <-- switch weapon
#ENDIF
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2250;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
#IF=%Timer=1969,1500;
#IF=%Timer=2179,1500;
#IF=%Timer=2065,1500;
#IF=%Timer=2053,30000;
#3DO=750;
UseID=2053; <-- Reload
_3UNTILMemRead=%AddrLastID,DWORD,=2053;
_IFMemPtrRead=%PlayerBase,%OffsetCurrentID,DWORD,=2053;
CreateTimer=2053;
DeleteTimer=1969;
DeleteTimer=1968;
DeleteTimer=1967;
DeleteTimer=1966;
DeleteTimer=1965;
DeleteTimer=1964;
DeleteTimer=1963;
DeleteTimer=1962;
DeleteTimer=1961;
DeleteTimer=1960;
DeleteTimer=1959;
DeleteTimer=1958;
DeleteTimer=1957;
DeleteTimer=2179;
DeleteTimer=2178;
DeleteTimer=2177;
DeleteTimer=2176;
DeleteTimer=2175;
DeleteTimer=2174;
DeleteTimer=2173;
DeleteTimer=2172;
DeleteTimer=2171;
DeleteTimer=2065;
DeleteTimer=2064;
DeleteTimer=2063;
DeleteTimer=2062;
DeleteTimer=2061;
DeleteTimer=2060;
DeleteTimer=2059;
DeleteTimer=2058;
DeleteTimer=2057;
DeleteTimer=2056;
DeleteTimer=2055;
#ENDIF

#EXECUTE=MidCombatGunslinger;

#IF=%Timer=2054,60000;
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2800; <-- base atkspeed equals cannon
SendAction=3,4; <-- switch weapon
#ENDIF
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2250;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
#IF=%Timer=1969,1500;
#IF=%Timer=2179,1500;
#IF=%Timer=2065,1500;
#IF=%Timer=2054,60000;
#3DO=750;
UseID=2054; <-- Autoload
_3UNTILMemRead=%AddrLastID,DWORD,=2054;
_IFMemPtrRead=%PlayerBase,%OffsetCurrentID,DWORD,=2054;
CreateTimer=2054;
DeleteTimer=1969;
DeleteTimer=1968;
DeleteTimer=1967;
DeleteTimer=1966;
DeleteTimer=1965;
DeleteTimer=1964;
DeleteTimer=1963;
DeleteTimer=1962;
DeleteTimer=1961;
DeleteTimer=1960;
DeleteTimer=1959;
DeleteTimer=1958;
DeleteTimer=1957;
DeleteTimer=2179;
DeleteTimer=2178;
DeleteTimer=2177;
DeleteTimer=2176;
DeleteTimer=2175;
DeleteTimer=2174;
DeleteTimer=2173;
DeleteTimer=2172;
DeleteTimer=2171;
DeleteTimer=2065;
DeleteTimer=2064;
DeleteTimer=2063;
DeleteTimer=2062;
DeleteTimer=2061;
DeleteTimer=2060;
DeleteTimer=2059;
DeleteTimer=2058;
DeleteTimer=2057;
DeleteTimer=2056;
DeleteTimer=2055;
#ENDIF

#EXECUTE=MidCombatGunslinger;

#IF=%Timer=1969,16000;
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2800; <-- base atkspeed equals cannon
SendAction=3,4; <-- switch weapon
#ENDIF
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2250;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1969,16000,500,3000,False; <- Gunshot
CreateTimer=1969;
CreateTimer=1968;
CreateTimer=1967;
CreateTimer=1966;
CreateTimer=1965;
CreateTimer=1964;
CreateTimer=1963;
CreateTimer=1962;
CreateTimer=1961;
CreateTimer=1960;
CreateTimer=1959;
CreateTimer=1958;
CreateTimer=1957;
CreateTimer=2179;
CreateTimer=2178;
CreateTimer=2177;
CreateTimer=2176;
CreateTimer=2175;
CreateTimer=2174;
CreateTimer=2173;
CreateTimer=2172;
CreateTimer=2171;
CreateTimer=2065;
CreateTimer=2064;
CreateTimer=2063;
CreateTimer=2062;
CreateTimer=2061;
CreateTimer=2060;
CreateTimer=2059;
CreateTimer=2058;
CreateTimer=2057;
CreateTimer=2056;
CreateTimer=2055;
#ENDIF

#EXECUTE=MidCombatGunslinger;

#IF=%Timer=2226,2000;
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2800; <-- base atkspeed equals cannon
SendAction=3,4; <-- switch weapon
#ENDIF
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2250;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=2226,2000,1250,False,False; <- Direct Shot
#ENDIF

#EXECUTE=MidCombatGunslinger;

#IF=%Timer=2349,90000;
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2800; <-- base atkspeed equals cannon
SendAction=3,4; <-- switch weapon
#ENDIF
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2250;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
_IFMemPtrRead=%PlayerBase,%OffsetPercentHP,BYTE,<65;
SmartSkill=2349,90000,550,2500,False; <- Anti-Enemy Fire
#ENDIF

#EXECUTE=MidCombatGunslinger;

#IF=%Timer=2263,18000;
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2800; <-- base atkspeed equals cannon
SendAction=3,4; <-- switch weapon
#ENDIF
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2250;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=2263,18000,750,False,False; <- Quieting Gale
#ENDIF

#EXECUTE=MidCombatGunslinger;

#IF=%Timer=2003,60000;
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2800; <-- base atkspeed equals cannon
SendAction=3,4; <-- switch weapon
#ENDIF
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2250;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=2003,60000,750,False,False; <- Wing Clip
#ENDIF

#EXECUTE=MidCombatGunslinger;

#IF=%Timer=2166,24000;
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2800; <-- base atkspeed equals cannon
SendAction=3,4; <-- switch weapon
#ENDIF
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2250;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=2166,24000,750,False,False; <- Green Grenade
#ENDIF

#EXECUTE=MidCombatGunslinger;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
_IFMemPtrRead=%PlayerBase,%OffsetLevel,BYTE,>64;
#EXECUTE=StigmaGunslinger;
#ENDIF

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,=0;
MemWrite=%AddrFreeMem6,1,BYTE;
#ENDIF
_IFMemPtrRead=%PlayerBase,%OffsetHP,DWORD,=0;
MemWrite=%AddrFreeMem6,1,BYTE;
#ENDIF

_UNTILMemRead=%AddrFreeMem6,BYTE,=1;

end_CombatGunslinger;


start_MidCombatGunslinger;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=2045,300000,500,False,False; <- Aion's Favor
#ENDIF

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=2124,180000,500,False,False; <- Anticipation
#ENDIF

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1923,30000,500,False,False; <- Bulletproof
#ENDIF


#IF=%Timer=999999,7000;<-- If target got no damage after 7000 milliseconds cancel combat
_IFMemPtrRead=%TargetBase,%OffsetPercentHP,BYTE,=100;
SendKey=0x1B;
MemPtrWrite=%AddrESChwnd,%OffsetESChwnd,142,BYTE;
#ENDIF

#EXECUTE=Potion;

end_MidCombatGunslinger;







start_CombatSongweaver;

MemWrite=%AddrFreeMem6,0,BYTE;

SmartSkill=4442,120000,500,False,False; <- Protective Ode

SmartSkill=4449,3600000,500,False,False; <- Etude

CreateTimer=999999;

#DO=180000;

_IFMemPtrRead=%TargetBase,%OffsetPercentHP,BYTE,=100;
SmartSkill=4296,16000,750,1250,False; <- Syncopated Echo
#ENDIF

_IFMemPtrRead=%TargetBase,%OffsetPercentHP,BYTE,=100;
SmartSkill=4471,120000,500,1500,3000; <- Fiery Requiem
#ENDIF

#EXECUTE=MidCombatSongweaver;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=4233,12000,1250,2500,False; <- Song of Ice
#ENDIF

#EXECUTE=MidCombatSongweaver;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=4272,16000,750,2500,False; <- Bright Strike
#ENDIF

#EXECUTE=MidCombatSongweaver;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=4424,30000,500,False,False; <- Quaver
#ENDIF

#EXECUTE=MidCombatSongweaver;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=4405,30000,500,False,False; <- Adagio
#ENDIF

#EXECUTE=MidCombatSongweaver;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=4523,16000,1250,False,False; <- Sonic Gust
#ENDIF

#EXECUTE=MidCombatSongweaver;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=4420,2000,1250,False,False; <- Pulse
#ENDIF

#EXECUTE=MidCombatSongweaver;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
_IFMemPtrRead=%PlayerBase,%OffsetLevel,BYTE,>64;
#EXECUTE=StigmaSongweaver;
#ENDIF

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,=0;
MemWrite=%AddrFreeMem6,1,BYTE;
#ENDIF
_IFMemPtrRead=%PlayerBase,%OffsetHP,DWORD,=0;
MemWrite=%AddrFreeMem6,1,BYTE;
#ENDIF

_UNTILMemRead=%AddrFreeMem6,BYTE,=1;

end_CombatSongweaver;


start_MidCombatSongweaver;

_IFMemPtrRead=%PlayerBase,%OffsetPercentHP,BYTE,<50;
SmartSkill=4351,6000,1250,3000,False; <- Soothing Melody
#ENDIF

_MemPtrReadVar=%PlayerBase,%OffsetMaxMP,WORD,11; <-- saves max MP in %Var11
_MemPtrReadVar=%PlayerBase,%OffsetMP,WORD,12; <-- saves current MP in %Var12
_Calc11=%Var12/%Var11; <-- divides %Var12 trough %Var11 and saves the result in %Var11
_Calc11=%Var11*100; <-- multiplies %Var11 with 100 and saves the result in %Var11
MemWrite=%AddrFreeMem12,%Var11,FLOAT; <-- writes current mana percent value in %AddrFreeMem12

_IFMemRead=%AddrFreeMem12,FLOAT,<20;
SmartSkill=4383,30000,500,False,False; <- Resonating Melody
#ENDIF

_IFMemRead=%AddrFreeMem12,FLOAT,<20;
SmartSkill=4571,6000,500,False,False; <- Resonating Counterpoint
#ENDIF

SmartSkill=4442,120500,500,False,False; <- Protective Ode

SmartSkill=4449,3600000,500,False,False; <- Etude


#IF=%Timer=999999,7000;<-- If target got no damage after 7000 milliseconds cancel combat
_IFMemPtrRead=%TargetBase,%OffsetPercentHP,BYTE,=100;
SendKey=0x1B;
MemPtrWrite=%AddrESChwnd,%OffsetESChwnd,142,BYTE;
#ENDIF

#EXECUTE=Potion;

end_MidCombatSongweaver;



start_CombatSorcerer; <-- created by Shimizu20

MemWrite=%AddrFreeMem6,0,BYTE;

SmartSkill=1166,120000,500,False,False; <- Stone Skin/Steinhaut

SmartSkill=4449,3600000,500,False,False; <- Robe of Flame/Robe der Flamme

SmartSkill=1249,180000,500,False,False; <- Magic Assist/Magieexplosion

SmartSkill=1270,30000,500,False,False; <- Vaizel's Wisdom/Vaizels Weisheit

CreateTimer=999999;

#DO=180000;

_IFMemPtrRead=%TargetBase,%OffsetPercentHP,BYTE,=100;
SmartSkill=1258,120000,4250,False,False; <- Aetherflame/Feuer der magischen Kraft
#ENDIF

_IFMemPtrRead=%TargetBase,%OffsetPercentHP,BYTE,=100;
SmartSkill=1509,60000,2250,False,False; <- Magma Burst/Großer Vulkanausbruch
#ENDIF

#EXECUTE=MidCombatSorcerer;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1183,60000,500,False,False; <- Freeze/Frost
#ENDIF

#EXECUTE=MidCombatSorcerer;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1281,3000,2250,2250,False; <- Flame Harpoon/Flammenharpune
#ENDIF

#EXECUTE=MidCombatSorcerer;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1375,10000,2250,1250,False; <- Ice Chain/Eiskette
#ENDIF

#EXECUTE=MidCombatSorcerer;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1269,90000,500,2250,False; <- Wind Spear/Speer des Windes
#ENDIF

#EXECUTE=MidCombatSorcerer;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1294,500,2250,2250,False; <- Flame Bolt/Flammenpfeil
#ENDIF

#EXECUTE=MidCombatSorcerer;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1430,30000,2250,False,False; <- Delayed Blast/Verzögerte Explosion
#ENDIF

#EXECUTE=MidCombatSorcerer;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1519,5000,500,False,False; <- Flame Cage/Flammenkäfig
#ENDIF

#EXECUTE=MidCombatSorcerer;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1257,3000,1250,1250,False; <- Refracting Shard/Funkelnde Scherbe
#ENDIF

#EXECUTE=MidCombatSorcerer;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1401,60000,500,False,False; <- Stamina Absorption/Ausdauerabsorption
#ENDIF

#EXECUTE=MidCombatSorcerer;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
_IFMemPtrRead=%PlayerBase,%OffsetLevel,BYTE,>64;
#EXECUTE=StigmaSorcerer;
#ENDIF

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,=0;
MemWrite=%AddrFreeMem6,1,BYTE;
#ENDIF
_IFMemPtrRead=%PlayerBase,%OffsetHP,DWORD,=0;
MemWrite=%AddrFreeMem6,1,BYTE;
#ENDIF

_UNTILMemRead=%AddrFreeMem6,BYTE,=1;

end_CombatSorcerer;


start_MidCombatSorcerer;

_MemPtrReadVar=%PlayerBase,%OffsetMaxMP,WORD,11; <-- saves max MP in %Var11
_MemPtrReadVar=%PlayerBase,%OffsetMP,WORD,12; <-- saves current MP in %Var12
_Calc11=%Var12/%Var11; <-- divides %Var12 trough %Var11 and saves the result in %Var11
_Calc11=%Var11*100; <-- multiplies %Var11 with 100 and saves the result in %Var11
MemWrite=%AddrFreeMem12,%Var11,FLOAT; <-- writes current mana percent value in %AddrFreeMem12

_IFMemRead=%AddrFreeMem12,FLOAT,<50;
SmartSkill=1203,180000,500,False,False; <- Gain Mana/Managewinn
#ENDIF

SmartSkill=1166,120000,500,False,False; <- Stone Skin/Steinhaut

SmartSkill=4449,3600000,500,False,False; <- Robe of Flame/Robe der Flamme

SmartSkill=1249,180000,500,False,False; <- Magic Assist/Magieexplosion

SmartSkill=1270,30000,500,False,False; <- Vaizel's Wisdom/Vaizels Weisheit


#IF=%Timer=999999,7000;<-- If target got no damage after 7000 milliseconds cancel combat
_IFMemPtrRead=%TargetBase,%OffsetPercentHP,BYTE,=100;
SendKey=0x1B;
MemPtrWrite=%AddrESChwnd,%OffsetESChwnd,142,BYTE;
#ENDIF

#EXECUTE=Potion;

end_MidCombatSorcerer;



start_CombatWarrior;

MemWrite=%AddrFreeMem6,0,BYTE;

CreateTimer=999999;

#DO=180000;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=2865,10000,750,1000,False; <-- Ferocious Strike
#ENDIF

#EXECUTE=MidCombatWarrior;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=2890,12000,750,False,False; <-- Body Smash
#ENDIF

Command=/attack;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,=0;
MemWrite=%AddrFreeMem6,1,BYTE;
#ENDIF
_IFMemPtrRead=%PlayerBase,%OffsetHP,DWORD,=0;
MemWrite=%AddrFreeMem6,1,BYTE;
#ENDIF

_UNTILMemRead=%AddrFreeMem6,BYTE,=1;

end_CombatWarrior;


start_MidCombatWarrior;

#IF=%Timer=999999,7000;<-- If target got no damage after 7000 milliseconds cancel combat
_IFMemPtrRead=%TargetBase,%OffsetPercentHP,BYTE,=100;
SendKey=0x1B;
MemPtrWrite=%AddrESChwnd,%OffsetESChwnd,142,BYTE;
#ENDIF

#EXECUTE=Potion;

end_MidCombatWarrior;



start_CombatScout;

MemWrite=%AddrFreeMem6,0,BYTE;

SmartSkill=3235,30000,500,False,False; <-- Devotion

SmartSkill=3195,30000,500,False,False; <-- Focused Evasion

CreateTimer=999999;

#DO=180000;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3196,16000,750,False,False; <-- Surprise Attack
#ENDIF

#EXECUTE=MidCombatScout;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3182,7000,750,1000,False; <-- Swift Edge
#ENDIF

Command=/attack;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,=0;
MemWrite=%AddrFreeMem6,1,BYTE;
#ENDIF
_IFMemPtrRead=%PlayerBase,%OffsetHP,DWORD,=0;
MemWrite=%AddrFreeMem6,1,BYTE;
#ENDIF

_UNTILMemRead=%AddrFreeMem6,BYTE,=1;

end_CombatScout;


start_MidCombatScout;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3235,30000,500,False,False; <-- Devotion
SmartSkill=3195,30000,500,False,False; <-- Focused Evasion
#ENDIF

#IF=%Timer=999999,7000;<-- If target got no damage after 7000 milliseconds cancel combat
_IFMemPtrRead=%TargetBase,%OffsetPercentHP,BYTE,=100;
SendKey=0x1B;
MemPtrWrite=%AddrESChwnd,%OffsetESChwnd,142,BYTE;
#ENDIF

#EXECUTE=Potion;

end_MidCombatScout;



start_CombatMage;

MemWrite=%AddrFreeMem6,0,BYTE;

SmartSkill=1155,120000,500,False,False; <-- Stone Skin

CreateTimer=999999;

#DO=180000;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1363,10000,2250,1000,False; <-- Ice Chain
#ENDIF

#EXECUTE=MidCombatMage;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1447,3000,500,False,False; <-- Erosion
#ENDIF

#EXECUTE=MidCombatMage;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1328,60000,500,False,False; <-- Root
#ENDIF

#EXECUTE=MidCombatMage;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1282,2000,2250,1000,False; <-- Flame Bolt
#ENDIF

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,=0;
MemWrite=%AddrFreeMem6,1,BYTE;
#ENDIF
_IFMemPtrRead=%PlayerBase,%OffsetHP,DWORD,=0;
MemWrite=%AddrFreeMem6,1,BYTE;
#ENDIF

_UNTILMemRead=%AddrFreeMem6,BYTE,=1;

end_CombatMage;


start_MidCombatMage;

SmartSkill=1155,120000,500,False,False; <-- Stone Skin

#IF=%Timer=999999,7000;<-- If target got no damage after 7000 milliseconds cancel combat
_IFMemPtrRead=%TargetBase,%OffsetPercentHP,BYTE,=100;
SendKey=0x1B;
MemPtrWrite=%AddrESChwnd,%OffsetESChwnd,142,BYTE;
#ENDIF

#EXECUTE=Potion;

end_MidCombatMage;




start_CombatPriest;

MemWrite=%AddrFreeMem6,0,BYTE;

CreateTimer=999999;

#DO=180000;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=4013,2000,1750,False,False; <-- Smite
#ENDIF

#EXECUTE=MidCombatPriest;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1814,24000,750,False,False; <-- Infernal Blaze
#ENDIF

#EXECUTE=MidCombatPriest;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
#IF=%TargetDistance,<5;
SmartSkill=1615,8000,750,False,False; <-- Hallowed Strike
#ENDIF

#EXECUTE=MidCombatPriest;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,=0;
MemWrite=%AddrFreeMem6,1,BYTE;
#ENDIF
_IFMemPtrRead=%PlayerBase,%OffsetHP,DWORD,=0;
MemWrite=%AddrFreeMem6,1,BYTE;
#ENDIF

_UNTILMemRead=%AddrFreeMem6,BYTE,=1;

end_CombatPriest;


start_MidCombatPriest;

_IFMemPtrRead=%PlayerBase,%OffsetPercentHP,BYTE,<50;
SmartSkill=1839,50,2250,False,False; <-- Healing Light
#ENDIF

#IF=%Timer=999999,7000;<-- If target got no damage after 7000 milliseconds cancel combat
_IFMemPtrRead=%TargetBase,%OffsetPercentHP,BYTE,=100;
SendKey=0x1B;
MemPtrWrite=%AddrESChwnd,%OffsetESChwnd,142,BYTE;
#ENDIF

#EXECUTE=Potion;

end_MidCombatPriest;



start_CombatTechnist;

MemWrite=%AddrFreeMem6,0,BYTE;

SmartSkill=2168,60000,750,False,False; <-- Bullet Resistance

CreateTimer=999999;

#DO=180000;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1942,24000,750,False,False; <-- Hot Shot
#ENDIF

#EXECUTE=MidCombatTechnist;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1958,16000,750,1500,False; <-- Gunshot
#ENDIF

#EXECUTE=MidCombatTechnist;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=2220,2000,750,False,False; <-- Direct Shot
#ENDIF

#EXECUTE=MidCombatTechnist;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,=0;
MemWrite=%AddrFreeMem6,1,BYTE;
#ENDIF
_IFMemPtrRead=%PlayerBase,%OffsetHP,DWORD,=0;
MemWrite=%AddrFreeMem6,1,BYTE;
#ENDIF

_UNTILMemRead=%AddrFreeMem6,BYTE,=1;

end_CombatTechnist;


start_MidCombatTechnist;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=2168,60000,750,False,False; <-- Bullet Resistance
#ENDIF

#IF=%Timer=999999,7000;<-- If target got no damage after 7000 milliseconds cancel combat
_IFMemPtrRead=%TargetBase,%OffsetPercentHP,BYTE,=100;
SendKey=0x1B;
MemPtrWrite=%AddrESChwnd,%OffsetESChwnd,142,BYTE;
#ENDIF

#EXECUTE=Potion;

end_MidCombatTechnist;



start_CombatMuse;

MemWrite=%AddrFreeMem6,0,BYTE;

CreateTimer=999999;

#DO=180000;

_IFMemPtrRead=%TargetBase,%OffsetPercentHP,BYTE,=100;
SmartSkill=4300,60000,500,False,3000; <-- Fiery Descant
#ENDIF

#EXECUTE=MidCombatMuse;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=4409,2000,1250,False,False; <-- Pulse
#ENDIF

#EXECUTE=MidCombatMuse;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=4222,12000,1250,False,False; <-- Song of Ice
#ENDIF

#EXECUTE=MidCombatMuse;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,=0;
MemWrite=%AddrFreeMem6,1,BYTE;
#ENDIF
_IFMemPtrRead=%PlayerBase,%OffsetHP,DWORD,=0;
MemWrite=%AddrFreeMem6,1,BYTE;
#ENDIF

_UNTILMemRead=%AddrFreeMem6,BYTE,=1;

end_CombatMuse;


start_MidCombatMuse;

_IFMemPtrRead=%PlayerBase,%OffsetPercentHP,BYTE,<50;
SmartSkill=4339,6000,1250,False,False; <-- Soothing Melody
#ENDIF

#IF=%Timer=999999,7000;<-- If target got no damage after 7000 milliseconds cancel combat
_IFMemPtrRead=%TargetBase,%OffsetPercentHP,BYTE,=100;
SendKey=0x1B;
MemPtrWrite=%AddrESChwnd,%OffsetESChwnd,142,BYTE;
#ENDIF

#EXECUTE=Potion;

end_MidCombatMuse;




start_StigmaGladiator;

_IFStigmaAvailable=140001103;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=696,30000,750,False,False; <-- Sure Strike // Melee // DPS // Both
#ENDIF

_IFStigmaAvailable=140001104;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=589,16000,750,False,False; <-- Spite Strike // Melee // DPS // Both
#ENDIF

#EXECUTE=MidCombatGladiator;

_IFStigmaAvailable=140001105;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=681,16000,750,1500,False; <-- Sharp Strike // Melee // DPS // Both
#ENDIF

_IFStigmaAvailable=140001106;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=617,120000,750,False,False; <-- Tendon Slice // Melee // DPS // Both
#ENDIF

#EXECUTE=MidCombatGladiator;

_IFStigmaAvailable=140001107;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=544,120000,750,2000,False; <-- Exhausting Wave // Melee // DPS // Both
#ENDIF

_IFStigmaAvailable=140001108;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=738,90000,750,False,False; <-- Severe Precision Cut // Melee // DPS // Both
#ENDIF

#EXECUTE=MidCombatGladiator;

_IFStigmaAvailable=140001109;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=582,18000,750,False,False; <-- Crippling Cut // Melee // DPS // Both
#ENDIF

_IFStigmaAvailable=140001110;
#EXECUTE=IsStumble;
_IFMemRead=%AddrFreeMem30,BYTE,=1;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=768,30000,750,False,False; <-- Draining Blow // Melee // DPS-Heal // Both
#ENDIF

#EXECUTE=MidCombatGladiator;

_IFStigmaAvailable=140001111;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=705,120000,750,False,False; <-- Earthquake Wave // Melee // DPS // Both
#ENDIF

_IFStigmaAvailable=140001115;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=507,12000,750,False,False; <-- Lockdown // Melee // DPS // Both
#ENDIF

#EXECUTE=MidCombatGladiator;

_IFStigmaAvailable=140001116;
_IFMemPtrRead=%PlayerBase,%OffsetPercentHP,BYTE,<50;
SmartSkill=570,60000,750,False,False; <-- Dauntless Spirit // - // Heal // Both
#ENDIF

_IFStigmaAvailable=140001117;
_IFMemPtrRead=%TargetBase,%OffsetPercentHP,BYTE,>85;
SmartSkill=690,300000,550,False,False; <-- Howl // - // - // Both
#ENDIF

#EXECUTE=MidCombatGladiator;

_IFStigmaAvailable=140001118;
_IFMemPtrRead=%PlayerBase,%OffsetPercentHP,BYTE,<66;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=783,60000,750,False,False; <-- Draining Sword // Melee // DPS-Heal // Both
#ENDIF

_IFStigmaAvailable=140001119;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=757,60000,750,False,False; <-- Whirling Strike // Melee // DPS // Both
#ENDIF

#EXECUTE=MidCombatGladiator;

_IFStigmaAvailable=641;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=641,90000,750,2500,False; <-- Unraveling Assault // Melee // DPS // Both
#ENDIF

_IFMemPtrRead=%PlayerBase,%OffsetData/0x10C0,CHAR[1],=D;
_IFStigmaAvailable=657;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=657,180000,750,False,False; <-- Battle Banner // - // - // Asmo
#ENDIF

#EXECUTE=MidCombatGladiator;

_IFMemPtrRead=%PlayerBase,%OffsetData/0x10C0,CHAR[1],=L;
_IFStigmaAvailable=658;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=658,180000,750,False,False; <-- Battle Banner // - // - // Elyos
#ENDIF

_IFStigmaAvailable=727;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=727,180000,750,False,3250; <-- Wind Lance // Melee // DPS // Both
#ENDIF

#EXECUTE=MidCombatGladiator;

end_StigmaGladiator;



start_StigmaTemplar;

_IFStigmaAvailable=140001122;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=2931,300000,750,False,False; <-- Prayer of Victory // - // Heal // Both
#ENDIF

_IFStigmaAvailable=140001123;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=2944,120000,950,False,False; <-- Divine Justice // Ranged // DPS // Both
#ENDIF

#EXECUTE=MidCombatTemplar;

_IFStigmaAvailable=140001124;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=2973,180000,750,False,False; <-- Punishing Wave // Melee // DPS // Both
#ENDIF

_IFStigmaAvailable=140001128;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3035,180000,750,False,False; <-- Divine Fury // - // - // Both
#ENDIF

#EXECUTE=MidCombatTemplar;

_IFStigmaAvailable=140001129;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=2966,60000,750,False,False; <-- Holy Shield // - // - // Both
#ENDIF

_IFStigmaAvailable=140001130;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3147,60000,750,False,False; <-- Punishing Thrust // Melee // DPS // Both
#ENDIF

#EXECUTE=MidCombatTemplar;

_IFStigmaAvailable=140001131;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3181,30000,750,False,False; <-- Punishment // Melee // DPS // Both
#ENDIF

_IFStigmaAvailable=140001132;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=2938,180000,750,False,False; <-- Aether Armor // - // - // Both
#ENDIF

#EXECUTE=MidCombatTemplar;

_IFStigmaAvailable=140001133;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=2960,30000,750,False,False; <-- Inquisitor's Blow // Melee // DPS // Both
#ENDIF

_IFStigmaAvailable=140001134;
_IFMemPtrRead=%PlayerBase,%OffsetPercentHP,BYTE,<66;
_IFMemPtrRead=%TargetBase,%OffsetPercentHP,BYTE,>60;
SmartSkill=2922,600000,750,False,False; <-- Empyrean Providence // - // Heal // Both
#ENDIF

#EXECUTE=MidCombatTemplar;

_IFStigmaAvailable=2919;
_IFMemPtrRead=%PlayerBase,%OffsetPercentHP,BYTE,<66;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=2919,30000,750,False,False; <-- Invigorating Strike // Melee // DPS-Heal // Both
#ENDIF

_IFStigmaAvailable=2915;
_IFMemPtrRead=%PlayerBase,%OffsetPercentHP,BYTE,<66;
_IFMemPtrRead=%TargetBase,%OffsetPercentHP,BYTE,>66;
SmartSkill=2915,180000,750,False,False; <-- Eternal Denial // - // Heal // Both
#ENDIF

#EXECUTE=MidCombatTemplar;

end_StigmaTemplar;



start_StigmaAssassin;

_IFStigmaAvailable=140001136;
_IFMemPtrRead=%TargetBase,%OffsetPercentHP,BYTE,>66;
SmartSkill=3326,180000,750,False,False; <-- Apply Lethal Venom // - // - // Both
#ENDIF

_IFStigmaAvailable=140001137;
_IFMemPtrRead=%TargetBase,%OffsetPercentHP,BYTE,>66;
SmartSkill=3254,12000,750,False,False; <-- Agony Rune // Melee // DPS // Both
#ENDIF

#EXECUTE=MidCombatAssassin;

_IFStigmaAvailable=140001138;
_IFMemPtrRead=%PlayerBase,%OffsetPercentHP,BYTE,<66;
_IFMemPtrRead=%TargetBase,%OffsetPercentHP,BYTE,>66;
SmartSkill=3319,180000,750,False,False; <-- Sensory Boost // - // - // Both
#ENDIF

_IFStigmaAvailable=140001140;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3337,180000,750,False,False; <-- Dash and Slash // Melee // DPS // Both
#ENDIF

#EXECUTE=MidCombatAssassin;

_IFStigmaAvailable=140001142;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3320,300000,750,False,False; <-- Deadly Abandon // - // - // Both
#ENDIF

_IFStigmaAvailable=140001143;
_IFMemPtrRead=%TargetBase,%OffsetPercentHP,BYTE,>66;
SmartSkill=3480,180000,750,False,False; <-- Oath of Accuracy // - // - // Both
#ENDIF

#EXECUTE=MidCombatAssassin;

_IFStigmaAvailable=140001147;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3261,180000,750,False,False; <-- Venomous Strike // Melee // DPS // Both
#ENDIF

_IFStigmaAvailable=140001149;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3269,7000,750,False,False; <-- Rune Knife // Melee // DPS // Both
#ENDIF

#EXECUTE=MidCombatAssassin;

_IFStigmaAvailable=140001151;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3248,60000,750,False,False; <-- Quickening Doom // Melee // DPS // Both
#ENDIF

_IFStigmaAvailable=3239;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3239,120000,750,False,False; <-- Fangdrop Stab // Melee // DPS // Both
#ENDIF

#EXECUTE=MidCombatAssassin;

_IFStigmaAvailable=3242;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3242,60000,750,False,False; <-- Explosive Rebranding // Melee // DPS // Both
#ENDIF

end_StigmaAssassin;




start_StigmaRanger;

_IFStigmaAvailable=140001153;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=819,24000,1150,False,False; <-- Lethal Arrow // Ranged // DPS // Both
#ENDIF

_IFStigmaAvailable=140001154;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=825,20000,750,False,False; <-- Heart Shot // Ranged // DPS // Both
#ENDIF

#EXECUTE=MidCombatRanger;

_IFStigmaAvailable=140001156;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1052,7000,750,False,False; <-- Gale Arrow // Ranged // DPS // Both
#ENDIF

_IFStigmaAvailable=140001157;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1117,18000,750,False,False; <-- Explosive Arrow // Ranged // DPS // Both
#ENDIF

#EXECUTE=MidCombatRanger;

_IFBuffAlive=813;
MemWrite=%AddrFreeMem30,1,BYTE;
#ELSE
MemWrite=%AddrFreeMem30,0,BYTE;
#ENDIF
_IFMemRead=%AddrFreeMem30,BYTE,=0;
_IFStigmaAvailable=140001159;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=813,1000,850,False,False; <-- Focused Shots // - // - // Both
#ENDIF

_IFStigmaAvailable=140001162;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=880,30000,750,False,False; <-- Dilation Arrow // Ranged // DPS // Both
#ENDIF

#EXECUTE=MidCombatRanger;

_IFMemPtrRead=%PlayerBase,%OffsetData/0x10C0,CHAR[1],=L;
_IFStigmaAvailable=140001163;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=969,120000,2250,False,False; <-- Skybound Trap // - // - // Elyos
#ENDIF

_IFMemPtrRead=%PlayerBase,%OffsetData/0x10C0,CHAR[1],=D;
_IFStigmaAvailable=140001164;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=977,120000,2250,False,False; <-- Skybound Trap // - // - // Asmo
#ENDIF

#EXECUTE=MidCombatRanger;

_IFMemPtrRead=%PlayerBase,%OffsetData/0x10C0,CHAR[1],=L;
_IFStigmaAvailable=140001165;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=985,20000,500,False,False; <-- Blazing Trap // - // - // Elyos
#ENDIF

_IFMemPtrRead=%PlayerBase,%OffsetData/0x10C0,CHAR[1],=D;
_IFStigmaAvailable=140001166;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=993,20000,500,False,False; <-- Blazing Trap // - // - // Asmo
#ENDIF

#EXECUTE=MidCombatRanger;

_IFStigmaAvailable=140001168;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1057,180000,750,False,False; <-- Bow of Blessing // - // - // Both
#ENDIF

_IFStigmaAvailable=140001171;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1134,18000,750,False,False; <-- Arrow Deluge // Ranged // DPS // Both
#ENDIF

#EXECUTE=MidCombatRanger;

_IFStigmaAvailable=140001172;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=812,24000,750,False,False; <-- Agonizing Arrow // Ranged // DPS // Both
#ENDIF

_IFStigmaAvailable=140001173;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=871,30000,750,False,False; <-- Lightning Arrow // Ranged // DPS // Both
#ENDIF

#EXECUTE=MidCombatRanger;

_IFStigmaAvailable=1006;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1006,120000,2250,False,False; <-- Ripthread Shot // Ranged // DPS // Both
#ENDIF

_IFMemPtrRead=%PlayerBase,%OffsetData/0x10C0,CHAR[1],=L;
_IFStigmaAvailable=1065;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1065,300000,500,False,False; <-- Staggering Trap // - // - // Elyos
#ENDIF

#EXECUTE=MidCombatRanger;

_IFMemPtrRead=%PlayerBase,%OffsetData/0x10C0,CHAR[1],=D;
_IFStigmaAvailable=1064;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1064,300000,500,False,False; <-- Staggering Trap // - // - // Asmo
#ENDIF

end_StigmaRanger;



start_StigmaSorcerer;

_IFStigmaAvailable=140001175;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=4604,150000,1250,False,False; <-- Arcane Thunderbolt // Ranged // DPS // Both
#ENDIF

_IFStigmaAvailable=140001176;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1356,150000,1250,False,False; <-- Summon Rock // Ranged // DPS // Both
#ENDIF

#EXECUTE=MidCombatSorcerer;

_IFStigmaAvailable=140001177;
_IFMemPtrRead=%TargetBase,%OffsetPercentHP,BYTE,>66;
SmartSkill=1525,30000,3750,False,False; <-- Flame Spray // Ranged // DPS // Both
#ENDIF

_IFStigmaAvailable=140001178;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1555,180000,750,False,False; <-- Illusion Storm // Ranged // DPS // Both
#ENDIF

#EXECUTE=MidCombatSorcerer;

_IFStigmaAvailable=140001180;
_IFMemPtrRead=%TargetBase,%OffsetPercentHP,BYTE,>66;
SmartSkill=1493,120000,4250,False,False; <-- Storm Strike // Ranged // DPS // Both
#ENDIF

_IFStigmaAvailable=140001181;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=4602,24000,1250,False,False; <-- Wind Cut Down // Ranged // DPS // Both
#ENDIF

#EXECUTE=MidCombatSorcerer;

_IFStigmaAvailable=140001186;
_IFMemPtrRead=%TargetBase,%OffsetPercentHP,BYTE,>66;
SmartSkill=1350,300000,550,False,False; <-- Boon of Quickness // - // - // Both
#ENDIF

_IFStigmaAvailable=140001187;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1183,60000,550,False,False; <-- Freeze // Ranged // DPS // Both
#ENDIF

#EXECUTE=MidCombatSorcerer;

_IFStigmaAvailable=140001189;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1383,6000,2750,False,False; <-- Ice Harpoon // Ranged // DPS // Both
#ENDIF

_IFStigmaAvailable=140001190;
_IFMemPtrRead=%PlayerBase,%OffsetPercentHP,BYTE,<20;
_MemPtrReadVar=%PlayerBase,%OffsetMaxMP,WORD,11;
_MemPtrReadVar=%PlayerBase,%OffsetMP,WORD,12;
_Calc11=%Var12/%Var11;
_Calc11=%Var11*100;
MemWrite=%AddrFreeMem12,%Var11,FLOAT;
_IFMemRead=%AddrFreeMem12,FLOAT,>60;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1327,300000,550,False,False; <-- Exchange Vitality // - // - // Both
#ENDIF

#EXECUTE=MidCombatSorcerer;

_IFStigmaAvailable=140001191;
_IFMemPtrRead=%TargetBase,%OffsetPercentHP,BYTE,>66;
#IF=%TargetDistance,<6;
SmartSkill=1307,180000,550,False,False; <-- Wintry Armor // - // - // Both
#ENDIF

_IFStigmaAvailable=140001192;
_IFMemPtrRead=%TargetBase,%OffsetPercentHP,BYTE,>66;
SmartSkill=1326,60000,4250,False,False; <-- Glacial Shard // Ranged // DPS // Both
#ENDIF

#EXECUTE=MidCombatSorcerer;

_IFStigmaAvailable=1540;
_IFMemPtrRead=%TargetBase,%OffsetPercentHP,BYTE,>66;
SmartSkill=1540,180000,550,False,False; <-- Aetherblaze // - // - // Both
#ENDIF

_IFStigmaAvailable=1420;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
_IFMemPtrRead=%PlayerBase,%OffsetPercentHP,BYTE,<33;
SmartSkill=1420,300000,550,False,False; <-- Repulsion Field // - // Heal // Both
#ENDIF

#EXECUTE=MidCombatSorcerer;

end_StigmaSorcerer;




start_StigmaSpiritmaster;

_IFStigmaAvailable=140001193;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3574,30000,1250,False,False; <-- Shackle of Vulnerability // Ranged // DPS // Both
#ENDIF

_IFStigmaAvailable=140001195;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3561,30000,1750,False,False; <-- Infernal Pain // Ranged // DPS // Both
#ENDIF

#EXECUTE=MidCombatSpiritmaster;

_IFStigmaAvailable=140001196;
_IFFrameVisible=209; spirit window
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3548,30000,1050,False,False; <-- Spirit Ruinous Offensive // Ranged // DPS // Both
#ENDIF

_IFMemPtrRead=%PlayerBase,%OffsetData/0x10C0,CHAR[1],=L;
_IFStigmaAvailable=140001197;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3807,30000,1750,False,False; <-- Summon Cyclone Servant // Ranged // DPS // Elyos
#ENDIF

#EXECUTE=MidCombatSpiritmaster;

_IFMemPtrRead=%PlayerBase,%OffsetData/0x10C0,CHAR[1],=D;
_IFStigmaAvailable=140001197;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3808,30000,1750,False,False; <-- Summon Cyclone Servant // Ranged // DPS // Asmo
#ENDIF

_IFStigmaAvailable=140001199;
_MemPtrReadVar=%TargetBase,%OffsetName,WCHAR[64],29;
Command=/select Wind Spirit;
#DO=125;
Delay=10;
#UNTIL=%TargetName,Wind Spirit;
_IFMemPtrRead=%TargetBase,%OffsetPercentHP,BYTE,<25;
SmartSkill=3590,90000,1750,False,False; <-- Healing Spirit // - // Heal // Both
Command=/select %Var29;
#ELSE
Command=/select %Var29;
#ENDIF

#EXECUTE=MidCombatSpiritmaster;

_IFStigmaAvailable=140001202;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3772,30000,550,False,3550; <-- Stone Scour // Ranged // DPS // Both
#ENDIF

_IFStigmaAvailable=140001203;
_IFFrameVisible=209; spirit window
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3836,180000,2250,False,False; <-- Spirit Burn-to-Ashes // Ranged // DPS // Both
#ENDIF

#EXECUTE=MidCombatSpiritmaster;

_IFStigmaAvailable=140001204;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3847,12000,2250,False,False; <-- Cyclone of Wrath // Ranged // DPS // Both
#ENDIF

_IFStigmaAvailable=140001205;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3581,120000,2250,False,False; <-- Withering Gloom // Ranged // DPS // Both
#ENDIF

#EXECUTE=MidCombatSpiritmaster;

_IFStigmaAvailable=140001206;
_IFFrameVisible=209; spirit window
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3531,120000,1050,False,False; <-- Spirit Wall of Protection // - // - // Both
#ENDIF

_IFStigmaAvailable=140001208;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
_MemPtrReadVar=%PlayerBase,0x30,WORD,29;
_IFMemPtrRead=%AddrFrameID[2],0x558,WORD,=%Var29; <-- if target has player as target
SmartSkill=3739,30000,550,False,False; <-- Enmity Swap // - // - // Both
#ENDIF

#EXECUTE=MidCombatSpiritmaster;

_IFStigmaAvailable=140001209;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3547,180000,1250,False,False; <-- Infernal Blight // - // - // Both
#ENDIF

_IFStigmaAvailable=140001210;
_IFFrameVisible=209; spirit window
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3796,60000,1250,False,False; <-- Armor Spirit // - // - // Both
#ENDIF

#EXECUTE=MidCombatSpiritmaster;

_IFFrameVisible=209; spirit window
MemWrite=%AddrFreeMem30,0,BYTE;
#ELSE
MemWrite=%AddrFreeMem30,1,BYTE;
#ENDIF
_IFMemRead=%AddrFreeMem30,BYTE,=1;
_IFStigmaAvailable=3541;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3541,180000,550,False,False; <-- Spirit's Empowerment // - // - // Both
#ENDIF

_IFStigmaAvailable=3549;
_IFFrameVisible=209; spirit window
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
_IFMemPtrRead=%PlayerBase,%OffsetPercentHP,BYTE,<33;
SmartSkill=3549,300000,550,False,False; <-- Command: Absorb Wounds // - // - // Both
#ENDIF

#EXECUTE=MidCombatSpiritmaster;

_IFStigmaAvailable=3849;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3849,180000,1250,False,False; <-- Blood Funnel // Ranged // DPS // Both
#ENDIF

end_StigmaSpiritmaster;



start_StigmaCleric;

_IFStigmaAvailable=140001228;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=4187,90000,1250,False,False; <-- Enfeebling Burst // Ranged // DPS // Both
#ENDIF

_IFStigmaAvailable=140001229;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=4149,180000,2250,False,False; <-- Chain of Suffering // Ranged // DPS // Both
#ENDIF

#EXECUTE=MidCombatCleric;

_IFMemPtrRead=%PlayerBase,%OffsetData/0x10C0,CHAR[1],=L;
_IFStigmaAvailable=140001230;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=4162,30000,550,False,False; <-- Summon Noble Energy // Ranged // DPS // Elyos
#ENDIF

_IFMemPtrRead=%PlayerBase,%OffsetData/0x10C0,CHAR[1],=D;
_IFStigmaAvailable=140001231;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=4163,30000,550,False,False; <-- Summon Noble Energy // Ranged // DPS // Asmo
#ENDIF

#EXECUTE=MidCombatCleric;

_IFStigmaAvailable=140001232;
_IFMemPtrRead=%PlayerBase,%OffsetPercentHP,BYTE,<66;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=4003,60000,550,False,False; <-- Splendor of Rebirth // - // Heal // Both
#ENDIF

_IFStigmaAvailable=140001233;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3997,120000,1250,False,False; <-- Ripple of Purification // - // Heal // Both
#ENDIF

#EXECUTE=MidCombatCleric;

_IFMemPtrRead=%PlayerBase,%OffsetData/0x10C0,CHAR[1],=L;
_IFStigmaAvailable=140001234;
_IFMemPtrRead=%PlayerBase,%OffsetPercentHP,BYTE,<85;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3990,60000,1250,False,False; <-- Summon Healing Servant // - // Heal // Elyos
#ENDIF

_IFMemPtrRead=%PlayerBase,%OffsetData/0x10C0,CHAR[1],=D;
_IFStigmaAvailable=140001235;
_IFMemPtrRead=%PlayerBase,%OffsetPercentHP,BYTE,<85;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3991,60000,1250,False,False; <-- Summon Healing Servant // - // Heal // Asmo
#ENDIF

#EXECUTE=MidCombatCleric;

_IFStigmaAvailable=140001236;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3931,120000,550,False,False; <-- Saving Grace // - // Heal // Both
#ENDIF

_IFSkillActive=3902;
MemWrite=%AddrFreeMem29,1,BYTE;
#ELSE
MemWrite=%AddrFreeMem29,0,BYTE;
#ENDIF
_IFStigmaAvailable=140001237;
_IFMemRead=%AddrFreeMem29,BYTE,=0;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3902,10000,550,False,False; <-- Sacrificial Power // - // - // Both
#ENDIF

#EXECUTE=MidCombatCleric;

_IFStigmaAvailable=140001238;
_IFMemPtrRead=%PlayerBase,%OffsetPercentHP,BYTE,<66;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3960,10000,2250,False,False; <-- Binding Light // - // Heal // Both
#ENDIF

_IFStigmaAvailable=140001240;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=4143,30000,550,False,False; <-- Retribution Lightning // Ranged // DPS // Both
#ENDIF

#EXECUTE=MidCombatCleric;

_IFStigmaAvailable=140001242;
_IFMemPtrRead=%PlayerBase,%OffsetPercentHP,BYTE,>75;
_MemPtrReadVar=%PlayerBase,%OffsetMaxMP,WORD,11;
_MemPtrReadVar=%PlayerBase,%OffsetMP,WORD,12;
_Calc11=%Var12/%Var11;
_Calc11=%Var11*100;
MemWrite=%AddrFreeMem12,%Var11,FLOAT;
_IFMemRead=%AddrFreeMem12,FLOAT,10-20;
SmartSkill=3904,600000,550,False,False; <-- Reverse Condition // - // Heal // Both
#ENDIF

_IFStigmaAvailable=140001243;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=4134,60000,550,False,False; <-- Festering Wound // Ranged // DPS // Both
#ENDIF

#EXECUTE=MidCombatCleric;

_IFStigmaAvailable=140001244;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=4192,180000,550,False,False; <-- Noble Grace // - // - // Both
#ENDIF

_IFStigmaAvailable=140001245;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=4166,60000,3250,False,False; <-- Call Lightning // Ranged // DPS // Both
#ENDIF

#EXECUTE=MidCombatCleric;

_IFSkillActive=3902;
MemWrite=%AddrFreeMem29,1,BYTE;
#ELSE
MemWrite=%AddrFreeMem29,0,BYTE;
#ENDIF
_IFSkillActive=3905;
MemWrite=%AddrFreeMem28,1,BYTE;
#ELSE
MemWrite=%AddrFreeMem28,0,BYTE;
#ENDIF
_IFStigmaAvailable=140001245;
_IFMemRead=%AddrFreeMem28,BYTE,=0;
_IFMemRead=%AddrFreeMem29,BYTE,=0;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3905,1000,550,False,False; <-- Benevolence // - // - // Both
#ENDIF

_IFStigmaAvailable=3932;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3932,180000,550,False,False; <-- Restoration Relief // - // Heal // Both
#ENDIF

#EXECUTE=MidCombatCleric;

end_StigmaCleric;



start_StigmaChanter;

_IFBuffAlive=1756;
MemWrite=%AddrFreeMem30,1,BYTE;
#ELSE
MemWrite=%AddrFreeMem30,0,BYTE;
#ENDIF
_IFMemRead=%AddrFreeMem30,BYTE,=0;
_IFStigmaAvailable=140001211;
SmartSkill=1756,500,550,False,False; <-- Blessing of Stone // - // - // Both
#ENDIF

_IFStigmaAvailable=140001212;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
_IFMemPtrRead=%PlayerBase,%OffsetPercentHP,BYTE,<50;
SmartSkill=1857,10000,2250,False,False; <-- Healing Burst // - // Heal // Both
#ENDIF

#EXECUTE=MidCombatChanter;

_IFStigmaAvailable=140001213;
_SetVar30=1907;
#EXECUTE=IsStigmaAvailable;
_IFMemRead=%AddrFreeMem30,BYTE,=0;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1755,14500,550,False,False; <-- Word of Protection // - // - // Both
#ENDIF

_IFStigmaAvailable=140001214;
_IFMemPtrRead=%TargetBase,%OffsetPercentHP,BYTE,>66;
SmartSkill=1656,180000,550,False,False; <-- Blessing of Wind // - // - // Both
#ENDIF

#EXECUTE=MidCombatChanter;

_IFStigmaAvailable=140001215;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1868,60000,550,False,False; <-- Disorienting Blow // Melee // DPS // Both
#ENDIF

_IFStigmaAvailable=140001216;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1874,30000,750,False,False; <-- Mountain Crash // Ranged // DPS // Both
#ENDIF

#EXECUTE=MidCombatChanter;

_IFStigmaAvailable=140001213;
MemWrite=%AddrFreeMem29,1,BYTE;
#ELSE
MemWrite=%AddrFreeMem29,0,BYTE;
#ENDIF
_IFStigmaAvailable=1907;
MemWrite=%AddrFreeMem28,1,BYTE;
#ELSE
MemWrite=%AddrFreeMem28,0,BYTE;
#ENDIF
_IFStigmaAvailable=140001217;
_IFMemRead=%AddrFreeMem29,BYTE,=0;
_IFMemRead=%AddrFreeMem28,BYTE,=0;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1579,14500,550,False,False; <-- Word of Inspiration // - // - // Both
#ENDIF

_IFStigmaAvailable=140001218;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1647,60000,550,1500,False; <-- Annihilation // Melee // DPS // Both
#ENDIF

#EXECUTE=MidCombatChanter;

_IFStigmaAvailable=140001219;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1734,60000,550,False,False; <-- Word of Life // - // Heal // Both
#ENDIF

_IFStigmaAvailable=140001220;
#EXECUTE=IsCC;
_IFMemRead=%AddrFreeMem30,BYTE,=1;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1767,30000,550,False,False; <-- Soul Lock // Ranged // DPS // Both
#ENDIF

#EXECUTE=MidCombatChanter;

_IFStigmaAvailable=140001223;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=4629,30000,550,False,3250; <-- Leaping Flash // Melee // DPS // Both
#ENDIF

_IFStigmaAvailable=140001224;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=4638,120000,550,False,False; <-- Healing Conduit // - // Heal // Both
#ENDIF

#EXECUTE=MidCombatChanter;

_IFStigmaAvailable=140001226;
_IFMemPtrRead=%PlayerBase,%OffsetPercentHP,BYTE,<40;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1834,180000,550,False,False; <-- Elemental Screen // - // - // Both
#ENDIF

_IFStigmaAvailable=140001227;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1837,40000,550,False,False; <-- Numbing Blow // Melee // DPS // Both
#ENDIF

#EXECUTE=MidCombatChanter;

_IFStigmaAvailable=1907;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=,60000,550,False,False; <-- Word of Instigation // - // - // Both
#ENDIF

_IFStigmaAvailable=1901;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1901,120000,550,False,False; <-- Resonant Strike // Melee // DPS // Both
#ENDIF

#EXECUTE=MidCombatChanter;

end_StigmaChanter;





start_StigmaGunslinger;

_IFStigmaAvailable=140001247;
#IF=%Timer=1981,30000;
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2800; <-- base atkspeed equals cannon
SendAction=3,4; <-- switch weapon
#ENDIF
_IFStigmaAvailable=140001247;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2250;
SmartSkill=1981,30000,550,False,False; <-- Hemorrhage Shot // Ranged // DPS // Both
#ENDIF

_IFStigmaAvailable=140001248;
#IF=%Timer=2052,30000;
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2800; <-- base atkspeed equals cannon
SendAction=3,4; <-- switch weapon
#ENDIF
_IFStigmaAvailable=140001248;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2250;
SmartSkill=2052,30000,550,False,False; <-- Pressurized Chamber // - // - // Both
#ENDIF

#EXECUTE=MidCombatGunslinger;

_IFStigmaAvailable=140001250;
#IF=%Timer=1975,30000;
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2250; <-- base atkspeed equals gun
SendAction=3,4; <-- switch weapon
#ENDIF
_IFStigmaAvailable=140001250;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2800;
SmartSkill=1975,30000,550,False,False; <-- Juggernaut Cannon // Ranged // DPS // Both
#ENDIF

_IFStigmaAvailable=140001251;
#IF=%Timer=2114,120000;
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2250; <-- base atkspeed equals gun
SendAction=3,4; <-- switch weapon
#ENDIF
_IFStigmaAvailable=140001251;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2800;
SmartSkill=2114,120000,550,False,False; <-- Paralysis Cannon // Ranged // DPS // Both
#ENDIF

#EXECUTE=MidCombatGunslinger;

_IFStigmaAvailable=140001252;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=2046,60000,550,False,False; <-- Stopping Power // - // - // Both
#ENDIF

_IFStigmaAvailable=140001253;
#IF=%Timer=2123,30000;
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2800;
SendAction=3,4;
#ENDIF
_IFStigmaAvailable=140001253;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2250;
SmartSkill=2123,30000,550,3000,False; <-- Steady Fire // Ranged // DPS // Both
#ENDIF

#EXECUTE=MidCombatGunslinger;

_IFStigmaAvailable=140001255;
#IF=%Timer=2105,16000;
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2250; <-- base atkspeed equals gun
SendAction=3,4; <-- switch weapon
#ENDIF
_IFStigmaAvailable=140001255;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2800;
SmartSkill=2105,16000,550,False,False; <-- Frozen Blitz // Ranged // DPS // Both
#ENDIF

_IFStigmaAvailable=140001256;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=2273,60000,550,False,False; <-- Sighting // - // - // Both
#ENDIF

#EXECUTE=MidCombatGunslinger;

_IFStigmaAvailable=140001257;
#IF=%Timer=2367,30000;
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2800; <-- base atkspeed equals cannon
SendAction=3,4; <-- switch weapon
#ENDIF
_IFStigmaAvailable=140001257;
_IFMemPtrRead=%PlayerBase,%OffsetPercentHP,BYTE,<75;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2250;
SmartSkill=2367,30000,550,False,False; <-- Power Grab // - // DPS-Heal // Both
#ENDIF

_IFStigmaAvailable=140001258;
#IF=%Timer=2090,30000;
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2250; <-- base atkspeed equals gun
SendAction=3,4; <-- switch weapon
#ENDIF
_IFStigmaAvailable=140001258;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2800;
SmartSkill=2090,30000,550,False,3550; <-- Fiery Blast // Ranged // DPS // Both
#ENDIF

#EXECUTE=MidCombatGunslinger;

_IFStigmaAvailable=140001259;
#IF=%Timer=2253,40000;
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2250; <-- base atkspeed equals gun
SendAction=3,4; <-- switch weapon
#ENDIF
_IFStigmaAvailable=140001259;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2800;
SmartSkill=2253,40000,550,False,3550; <-- Shock and Awe // Ranged // DPS // Both
#ENDIF

_IFStigmaAvailable=140001260;
#IF=%Timer=2295,120000;
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2250; <-- base atkspeed equals gun
SendAction=3,4; <-- switch weapon
#ENDIF
_IFStigmaAvailable=140001260;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2800;
SmartSkill=2295,120000,550,False,4250; <-- Missile Guide // Ranged // DPS // Both
#ENDIF

#EXECUTE=MidCombatGunslinger;

_IFStigmaAvailable=140001261;
#IF=%Timer=2319,24000;
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2250; <-- base atkspeed equals gun
SendAction=3,4; <-- switch weapon
#ENDIF
_IFStigmaAvailable=140001261;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2800;
SmartSkill=2319,24000,550,False,3550; <-- Blazing Bombardment // Ranged // DPS // Both
#ENDIF

_IFStigmaAvailable=140001262;
#IF=%Timer=2068,40000;
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2800; <-- base atkspeed equals cannon
SendAction=3,4; <-- switch weapon
#ENDIF
_IFStigmaAvailable=140001262;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2250;
SmartSkill=2068,40000,550,False,False; <-- Dazzling Fire // Ranged // DPS // Both
#ENDIF

#EXECUTE=MidCombatGunslinger;

_IFStigmaAvailable=140001263;
#IF=%Timer=2201,24000;
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2250; <-- base atkspeed equals gun
SendAction=3,4; <-- switch weapon
#ENDIF
_IFStigmaAvailable=140001263;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2800;
SmartSkill=2201,24000,550,False,3550; <-- Shellshock // Ranged // DPS // Both
#ENDIF

_IFStigmaAvailable=2368;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=2368,180000,550,False,False; <-- Pursuit Stance // - // - // Both
#ENDIF

#EXECUTE=MidCombatGunslinger;

_IFStigmaAvailable=2377;
#IF=%Timer=2377,120000;
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2250; <-- base atkspeed equals gun
SendAction=3,4; <-- switch weapon
#ENDIF
_IFStigmaAvailable=2377;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2800;
SmartSkill=2377,120000,550,False,4250; <-- Sequential Fire // Ranged // DPS // Both
#ENDIF

_IFStigmaAvailable=2380;
#IF=%Timer=2380,120000;
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2800; <-- base atkspeed equals cannon
SendAction=3,4; <-- switch weapon
#ENDIF
_IFStigmaAvailable=2380;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2250;
SmartSkill=2380,120000,550,1500,False; <-- Pulverizer Cannon // Ranged // DPS // Both
#ENDIF

#EXECUTE=MidCombatGunslinger;

end_StigmaGunslinger;





start_StigmaSongweaver;

_IFStigmaAvailable=140001282;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=4529,60000,1250,False,False; <-- Paean of Pain // Ranged // DPS // Both
#ENDIF

_IFStigmaAvailable=140001284;
MemWrite=%AddrFreeMem29,1,BYTE;
#ELSE
MemWrite=%AddrFreeMem29,0,BYTE;
#ENDIF
_IFSkillActive=4589;
MemWrite=%AddrFreeMem28,1,BYTE;
#ELSE
MemWrite=%AddrFreeMem28,0,BYTE;
#ENDIF
_IFStigmaAvailable=140001283;
_IFMemRead=%AddrFreeMem29,BYTE,=0;
_IFMemRead=%AddrFreeMem28,BYTE,=0;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=4589,12000,550,False,False; <-- Exultation // - // - // Both
#ENDIF

#EXECUTE=MidCombatSongweaver;

_IFSkillActive=4590;
MemWrite=%AddrFreeMem29,1,BYTE;
#ELSE
MemWrite=%AddrFreeMem29,0,BYTE;
#ENDIF
_IFStigmaAvailable=140001284;
_IFMemRead=%AddrFreeMem29,BYTE,=0;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=4590,12000,550,False,False; <-- Impassion // - // - // Both
#ENDIF

_IFStigmaAvailable=140001285;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
_IFMemPtrRead=%PlayerBase,%OffsetPercentHP,BYTE,<45;
SmartSkill=4518,3000,550,False,3550; <-- Soothing Hymn // - // Heal // Both
#ENDIF

#EXECUTE=MidCombatSongweaver;

_IFStigmaAvailable=140001286;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
_IFMemPtrRead=%PlayerBase,%OffsetPercentHP,BYTE,<70;
SmartSkill=4367,24000,550,False,False; <-- Joyous Carol // - // Heal // Both
#ENDIF

_IFStigmaAvailable=140001288;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=4550,30000,550,False,False; <-- Stinging Note // Ranged // DPS // Both
#ENDIF

#EXECUTE=MidCombatSongweaver;

_IFStigmaAvailable=140001289;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
_IFMemPtrRead=%PlayerBase,%OffsetPercentHP,BYTE,<75;
SmartSkill=4537,60000,550,False,False; <-- Hymn of Rejuvenation // - // Heal // Both
#ENDIF

_IFStigmaAvailable=140001291;
_MemPtrReadVar=%TargetBase,%OffsetData/0x30,WORD,29;
_IFMemPtrRead=%AddrFrameID[20],0x710,WORD,=%Var29;
_IFMemPtrRead=%AddrFrameID[20],0x758,DWORD,>0; has buffs
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=4542,30000,550,False,False; <-- Half-Stop // - // - // Both
#ENDIF

#EXECUTE=MidCombatSongweaver;

_IFStigmaAvailable=140001294;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
_MemPtrReadVar=%PlayerBase,%OffsetMaxMP,WORD,11;
_MemPtrReadVar=%PlayerBase,%OffsetMP,WORD,12;
_Calc11=%Var12/%Var11;
_Calc11=%Var11*100;
MemWrite=%AddrFreeMem12,%Var11,FLOAT;
_IFMemRead=%AddrFreeMem12,FLOAT,<20;
SmartSkill=4391,60000,550,False,False; <-- Resonant Hymn // - // - // Both
#ENDIF

_IFStigmaAvailable=140001295;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=4579,60000,550,False,False; <-- Combustible Cacophony // Ranged // DPS // Both
#ENDIF

#EXECUTE=MidCombatSongweaver;

_IFStigmaAvailable=140001296;
_IFMemPtrRead=%TargetBase,%OffsetPercentHP,BYTE,>66;
SmartSkill=4489,60000,550,False,False; <-- Treble Cleave // Ranged // DPS // Both
#ENDIF

_IFStigmaAvailable=140001297;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
_IFMemPtrRead=%PlayerBase,%OffsetPercentHP,BYTE,<75;
SmartSkill=4486,60000,550,False,False; <-- Chorus of Blessing // - // Heal // Both
#ENDIF

#EXECUTE=MidCombatSongweaver;

_IFStigmaAvailable=4483;
_IFMemPtrRead=%AddrFrameID[168],0x75C,DWORD,>0; has debuffs
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=4483,30000,550,False,False; <-- Purging Paean // - // - // Both
#ENDIF

_IFStigmaAvailable=4474;
_IFMemPtrRead=%TargetBase,%OffsetPercentHP,BYTE,>66;
SmartSkill=4474,60000,3550,False,False; <-- Blazing Requiem // Ranged // DPS // Both
#ENDIF

#EXECUTE=MidCombatSongweaver;

end_StigmaSongweaver;









start_IsCC;

MemWrite=%AddrFreeMem29,0,BYTE;

#EXECUTE=IsStun;
_IFMemRead=%AddrFreeMem30,BYTE,=1;
MemWrite=%AddrFreeMem29,1,BYTE;
#ENDIF

#EXECUTE=IsAerial;
_IFMemRead=%AddrFreeMem30,BYTE,=1;
MemWrite=%AddrFreeMem29,1,BYTE;
#ENDIF

#EXECUTE=IsStumble;
_IFMemRead=%AddrFreeMem30,BYTE,=1;
MemWrite=%AddrFreeMem29,1,BYTE;
#ENDIF

_IFMemRead=%AddrFreeMem29,BYTE,=1;
MemWrite=%AddrFreeMem30,1,BYTE;
#ENDIF

end_IsCC;





start_IsAerial; <-- debuff IDs need to be updated

MemWrite=%AddrFreeMem30,0,BYTE;

_IFTargetDebuffAlive=8218;
MemWrite=%AddrFreeMem30,1,BYTE;
#ENDIF

_IFTargetDebuffAlive=8219;
MemWrite=%AddrFreeMem30,1,BYTE;
#ENDIF

_IFTargetDebuffAlive=8676;
MemWrite=%AddrFreeMem30,1,BYTE;
#ENDIF

_IFTargetDebuffAlive=8635;
MemWrite=%AddrFreeMem30,1,BYTE;
#ENDIF

_IFTargetDebuffAlive=8636;
MemWrite=%AddrFreeMem30,1,BYTE;
#ENDIF

_IFTargetDebuffAlive=8637;
MemWrite=%AddrFreeMem30,1,BYTE;
#ENDIF

end_IsAerial;




start_IsStun; <-- debuff IDs need to be updated

MemWrite=%AddrFreeMem30,0,BYTE;

_IFTargetDebuffAlive=8218;
MemWrite=%AddrFreeMem30,1,BYTE;
#ENDIF

_IFTargetDebuffAlive=8219;
MemWrite=%AddrFreeMem30,1,BYTE;
#ENDIF

_IFTargetDebuffAlive=8676;
MemWrite=%AddrFreeMem30,1,BYTE;
#ENDIF

_IFTargetDebuffAlive=8635;
MemWrite=%AddrFreeMem30,1,BYTE;
#ENDIF

_IFTargetDebuffAlive=8636;
MemWrite=%AddrFreeMem30,1,BYTE;
#ENDIF

_IFTargetDebuffAlive=8637;
MemWrite=%AddrFreeMem30,1,BYTE;
#ENDIF

end_IsStun;




start_IsStumble; <-- debuff IDs need to be updated

MemWrite=%AddrFreeMem30,0,BYTE;

_IFTargetDebuffAlive=8218;
MemWrite=%AddrFreeMem30,1,BYTE;
#ENDIF

_IFTargetDebuffAlive=8219;
MemWrite=%AddrFreeMem30,1,BYTE;
#ENDIF

_IFTargetDebuffAlive=8676;
MemWrite=%AddrFreeMem30,1,BYTE;
#ENDIF

_IFTargetDebuffAlive=8635;
MemWrite=%AddrFreeMem30,1,BYTE;
#ENDIF

_IFTargetDebuffAlive=8636;
MemWrite=%AddrFreeMem30,1,BYTE;
#ENDIF

_IFTargetDebuffAlive=8637;
MemWrite=%AddrFreeMem30,1,BYTE;
#ENDIF

end_IsStumble;


start_Potion;

_IFMemRead=%AddrFreeMem4,BYTE,=1;
MemPtrWrite=%PlayerBase,%OffsetAnim,300,WORD; <-- Activate NoAnim
#ENDIF


_MemPtrReadVar=%PlayerBase,%OffsetMaxMP,WORD,11; <-- saves max MP in %Var11
_MemPtrReadVar=%PlayerBase,%OffsetMP,WORD,12; <-- saves current MP in %Var12
_Calc11=%Var12/%Var11; <-- divides %Var12 trough %Var11 and saves the result in %Var11
_Calc11=%Var11*100; <-- multiplies %Var11 with 100 and saves the result in %Var11
MemWrite=%AddrFreeMem12,%Var11,FLOAT; <-- writes current mana percent value in %AddrFreeMem12
MemWrite=%AddrFreeMem10,%Var3,WCHAR[1];

_IFMemRead=%AddrFreeMem10,BYTE,65-122;
_IFMemRead=%AddrFreeMem12,FLOAT,<50; <-- If mana below 50%
#IF=%Timer=162000124,30000;
Command=/Use %Var3;
CreateTimer=162000124;
#ENDIF


_IFMemRead=%AddrFreeMem10,BYTE,65-122;
_IFMemPtrRead=%PlayerBase,%OffsetPercentHP,BYTE,<40;
#IF=%Timer=162000124,30000;
Command=/Use %Var3;
CreateTimer=162000124;
#ENDIF

end_Potion;



Paraly is offline  
Thanks
1 User
Old 08/15/2018, 05:27   #2012
 
elite*gold: 0
Join Date: Jul 2009
Posts: 28
Received Thanks: 3
Quote:
Originally Posted by Paraly View Post
Sorry one line was incorrect

He will only attack mobs (not players) between 1-99% HP that you have as target
Code:
#IF=%FirstTime,;
UseSpeed=1;
#UseLoop
#DisableScrolling
#SmoothBackground
#UseIDPerformance
#SetVar3=Enter the potion name you wanna use for sustain/n/nin case you don't wanna use any write 0;
Command=;
#SetVar1=Enter your main charactername;
_MemPtrReadVar=%PlayerBase,%OffsetName,WCHAR[32],2;
_IFMemPtrRead=%PlayerBase,%OffsetLevel,BYTE,>64;
#SmartSkillPerformance
#ENDIF





#EXECUTE=Follow;

#IF=%Timer=99999,1250;
CreateTimer=99999;
#EXECUTE=SelectMaster;
Delay=100;
UseID=50003,21;
Delay=100;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
_IFMemPtrRead=%TargetBase,%OffsetPercentHP,BYTE,<100;
_IFMemPtrRead=%TargetBase,%OffsetType,CHAR[32],=NPC; <-- remove this line for attacking players (PvP)
_IFMemPtrRead=%TargetBase,%OffsetName,BYTE,65-225;
#EXECUTE=CombatSort;
#ENDIF


start_Follow;


#EXECUTE=SelectMaster;
#IF=%TargetDistance,<20;
#IF=%TargetName,%Var1;
Command=/Follow;
#ELSE
Command=/attack;
#ENDIF


end_Follow;



start_SelectSlave;


_IFMemPtrRead=%TargetBase,%OffsetName,WCHAR[32],=%Var2;
#ELSE
Command=/select %Var2;
Delay=5;
#ENDIF


end_SelectSlave;




start_SelectMaster;


_IFMemPtrRead=%TargetBase,%OffsetName,WCHAR[32],=%Var1;
#ELSE
Command=/select %Var1;
Delay=5;
#ENDIF


end_SelectMaster;





start_CombatSort;

_IFMemPtrRead=%PlayerBase,%OffsetGravity,BYTE,=5;
_MemPtrReadVar=%PlayerBase,%OffsetPosX,FLOAT,15;
_MemPtrReadVar=%PlayerBase,%OffsetPosY,FLOAT,16;
_MemPtrReadVar=%PlayerBase,%OffsetPosZ,FLOAT,17;
MoveTo=%Var15,%Var16,%Var17,True,False;
#ENDIF

_IFMemPtrRead=%PlayerBase,%OffsetGravity,BYTE,=5;
_IFMemPtrRead=%PlayerBase,%OffsetData/0x38,BYTE,=1;
#DO=3000;
UseID=50000;
Command=/skill Toggle Combat;
Delay=1500;
_UNTILMemPtrRead=%PlayerBase,%OffsetData/0x38,BYTE,=33;
#ENDIF


_IFMemPtrRead=%PlayerBase,%OffsetClassID,BYTE,=0;
#EXECUTE=CombatWarrior;
#ENDIF

_IFMemPtrRead=%PlayerBase,%OffsetClassID,BYTE,=1;
#EXECUTE=CombatGladiator;
#ENDIF

_IFMemPtrRead=%PlayerBase,%OffsetClassID,BYTE,=2;
#EXECUTE=CombatTemplar;
#ENDIF

_IFMemPtrRead=%PlayerBase,%OffsetClassID,BYTE,=3;
#EXECUTE=CombatScout;
#ENDIF

_IFMemPtrRead=%PlayerBase,%OffsetClassID,BYTE,=4;
#EXECUTE=CombatAssassin;
#ENDIF

_IFMemPtrRead=%PlayerBase,%OffsetClassID,BYTE,=5;
#EXECUTE=CombatRanger;
#ENDIF

_IFMemPtrRead=%PlayerBase,%OffsetClassID,BYTE,=6;
#EXECUTE=CombatMage;
#ENDIF

_IFMemPtrRead=%PlayerBase,%OffsetClassID,BYTE,=7;
#EXECUTE=CombatSorcerer;
#ENDIF

_IFMemPtrRead=%PlayerBase,%OffsetClassID,BYTE,=8;
#EXECUTE=CombatSpiritmaster;
#ENDIF

_IFMemPtrRead=%PlayerBase,%OffsetClassID,BYTE,=9;
#EXECUTE=CombatPriest;
#ENDIF

_IFMemPtrRead=%PlayerBase,%OffsetClassID,BYTE,=10;
#EXECUTE=CombatCleric;
#ENDIF

_IFMemPtrRead=%PlayerBase,%OffsetClassID,BYTE,=11;
#EXECUTE=CombatChanter;
#ENDIF

_IFMemPtrRead=%PlayerBase,%OffsetClassID,BYTE,=12;
#EXECUTE=CombatTechnist;
#ENDIF

_IFMemPtrRead=%PlayerBase,%OffsetClassID,BYTE,=13;
#EXECUTE=CombatAethertech;
#ENDIF

_IFMemPtrRead=%PlayerBase,%OffsetClassID,BYTE,=14;
#EXECUTE=CombatGunslinger;
#ENDIF

_IFMemPtrRead=%PlayerBase,%OffsetClassID,BYTE,=15;
#EXECUTE=CombatMuse;
#ENDIF

_IFMemPtrRead=%PlayerBase,%OffsetClassID,BYTE,=16;
#EXECUTE=CombatSongweaver;
#ENDIF

end_CombatSort;



start_CombatGladiator;

MemWrite=%AddrFreeMem6,0,BYTE;

SmartSkill=598,180000,300,False,False; <-- Berserking

SmartSkill=706,300000,750,False,False; <-- Wall of Steel

SmartSkill=620,180000,750,False,False; <-- Armor of Attrition

SmartSkill=2932,180000,750,False,False; <-- Unwavering Devotion

CreateTimer=999999;

#DO=180000;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=779,10000,750,2500,False; <-- Fury Absorption
#ENDIF

#EXECUTE=MidCombatGladiator;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=2901,12000,750,2500,False; <-- Body Smash
#ENDIF

#EXECUTE=MidCombatGladiator;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=2876,10000,750,3000,False; <-- Ferocious Strike
#ENDIF

#EXECUTE=MidCombatGladiator;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=718,18000,750,2500,False; <-- Cleave
#ENDIF

#EXECUTE=MidCombatGladiator;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=668,30000,750,2000,False; <-- Weakening Blow
#ENDIF

#EXECUTE=MidCombatGladiator;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=553,180000,750,1000,False; <-- Aerial Lockdown
#ENDIF

#EXECUTE=MidCombatGladiator;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=537,180000,750,2000,False; <-- Crushing Blow
#ENDIF

#EXECUTE=MidCombatGladiator;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=646,60000,750,False,False; <-- Piercing Rupture
#ENDIF

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
_IFMemPtrRead=%PlayerBase,%OffsetLevel,BYTE,>64;
#EXECUTE=StigmaGladiator;
#ENDIF

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,=0;
MemWrite=%AddrFreeMem6,1,BYTE;
#ENDIF
_IFMemPtrRead=%PlayerBase,%OffsetHP,DWORD,=0;
MemWrite=%AddrFreeMem6,1,BYTE;
#ENDIF

_UNTILMemRead=%AddrFreeMem6,BYTE,=1;

end_CombatGladiator;


start_MidCombatGladiator;

_IFMemPtrRead=%TargetBase,%OffsetPercentHP,BYTE,>75;
SmartSkill=598,180000,750,False,False; <-- Berserking
#ENDIF

_IFMemPtrRead=%TargetBase,%OffsetPercentHP,BYTE,>75;
SmartSkill=706,300000,750,False,False; <-- Wall of Steel
#ENDIF

_IFMemPtrRead=%TargetBase,%OffsetPercentHP,BYTE,>75;
SmartSkill=620,180000,750,False,False; <-- Armor of Attrition
#ENDIF

_IFMemPtrRead=%TargetBase,%OffsetPercentHP,BYTE,>75;
SmartSkill=2932,180000,750,False,False; <-- Unwavering Devotion
#ENDIF

_IFMemPtrRead=%PlayerBase,%OffsetPercentHP,BYTE,<65;
SmartSkill=648,180000,750,False,False; <-- Second Wind
#ENDIF

#IF=%Timer=999999,7000;<-- If target got no damage after 7000 milliseconds cancel combat
_IFMemPtrRead=%TargetBase,%OffsetPercentHP,BYTE,=100;
SendKey=0x1B;
MemPtrWrite=%AddrESChwnd,%OffsetESChwnd,142,BYTE;
#ENDIF

#EXECUTE=Potion;

end_MidCombatGladiator;




start_CombatTemplar;

MemWrite=%AddrFreeMem6,0,BYTE;

SmartSkill=2932,180000,750,False,False; <-- Unwavering Devotion

SmartSkill=3127,180000,750,False,False; <-- Iron Skin

SmartSkill=2933,90000,750,False,False; <-- Empyrean Fury

CreateTimer=999999;

#DO=180000;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3125,60000,1250,1000,False; <-- Sword Storm
#ENDIF

#EXECUTE=MidCombatTemplar;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3123,30000,750,False,False; <-- Aether Leash
#ENDIF

#EXECUTE=MidCombatTemplar;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=2876,10000,750,2500,False; <-- Ferocious Strike
#ENDIF

#EXECUTE=MidCombatTemplar;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=2901,12000,750,2500,False; <-- Body Smash
#ENDIF

#EXECUTE=MidCombatTemplar;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=4605,12000,750,2500,False; <-- Dazing Severe Blow
#ENDIF

#EXECUTE=MidCombatTemplar;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3033,90000,750,False,False; <-- Holy Punishment
#ENDIF

#EXECUTE=MidCombatTemplar;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=2967,90000,750,False,False; <-- Illusion Chains
#ENDIF

#EXECUTE=MidCombatTemplar;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
_IFMemPtrRead=%PlayerBase,%OffsetLevel,BYTE,>64;
#EXECUTE=StigmaTemplar;
#ENDIF

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,=0;
MemWrite=%AddrFreeMem6,1,BYTE;
#ENDIF
_IFMemPtrRead=%PlayerBase,%OffsetHP,DWORD,=0;
MemWrite=%AddrFreeMem6,1,BYTE;
#ENDIF

_UNTILMemRead=%AddrFreeMem6,BYTE,=1;

end_CombatTemplar;


start_MidCombatTemplar;

_IFMemPtrRead=%TargetBase,%OffsetPercentHP,BYTE,>75;
SmartSkill=2932,180000,750,False,False; <-- Unwavering Devotion
#ENDIF

_IFMemPtrRead=%TargetBase,%OffsetPercentHP,BYTE,>75;
SmartSkill=3127,180000,750,False,False; <-- Iron Skin
#ENDIF

_IFMemPtrRead=%TargetBase,%OffsetPercentHP,BYTE,>75;
SmartSkill=2933,90000,750,False,False; <-- Empyrean Fury
#ENDIF

_IFMemPtrRead=%PlayerBase,%OffsetPercentHP,BYTE,<65;
SmartSkill=3129,300000,750,False,False; <-- Empyrean Armor
#ENDIF


#IF=%Timer=999999,7000;<-- If target got no damage after 7000 milliseconds cancel combat
_IFMemPtrRead=%TargetBase,%OffsetPercentHP,BYTE,=100;
SendKey=0x1B;
MemPtrWrite=%AddrESChwnd,%OffsetESChwnd,142,BYTE;
#ENDIF

#EXECUTE=Potion;

end_MidCombatTemplar;







start_CombatRanger;

MemWrite=%AddrFreeMem6,0,BYTE;

SmartSkill=889,60000,400,False,False; <- Bestial Fury

SmartSkill=796,60000,400,False,False; <- Strong Shots

SmartSkill=3235,30000,400,False,False; <- Devotion

SmartSkill=3195,30000,400,False,False; <- Focused Evasion

CreateTimer=999999;

#DO=180000;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=795,12000,750,1500,False; <- Stunning Shot
#ENDIF

#EXECUTE=MidCombatRanger;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1005,8000,500,2500,False; <- Swift Shot
#ENDIF

#EXECUTE=MidCombatRanger;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=961,16000,750,False,False; <- Entangling shot
#ENDIF

#EXECUTE=MidCombatRanger;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=848,60000,750,False,False; <- Dizzying Arrow
#ENDIF

#EXECUTE=MidCombatRanger;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=829,60000,750,False,False; <- Holy Arrow
#ENDIF

#EXECUTE=MidCombatRanger;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1074,18000,750,False,False; <- Silence Arrow
#ENDIF

#EXECUTE=MidCombatRanger;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1140,30000,750,False,False; <- Arrow Storm
#ENDIF

#EXECUTE=MidCombatRanger;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=839,60000,750,2000,False; <- Spread Shot
#ENDIF

#EXECUTE=MidCombatRanger;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1026,30000,750,False,False; <- Shackle Arrow
#ENDIF

#EXECUTE=MidCombatRanger;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1119,180000,750,False,False; <- Unerring Shot
#ENDIF

#EXECUTE=MidCombatRanger;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1021,2000,750,False,False; <- Deadshot
#ENDIF

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
_IFMemPtrRead=%PlayerBase,%OffsetLevel,BYTE,>64;
#EXECUTE=StigmaRanger;
#ENDIF

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,=0;
MemWrite=%AddrFreeMem6,1,BYTE;
#ENDIF
_IFMemPtrRead=%PlayerBase,%OffsetHP,DWORD,=0;
MemWrite=%AddrFreeMem6,1,BYTE;
#ENDIF

_UNTILMemRead=%AddrFreeMem6,BYTE,=1;

end_CombatRanger;


start_MidCombatRanger;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=889,60000,400,False,False; <- Bestial Fury

SmartSkill=796,60000,400,False,False; <- Strong Shots

SmartSkill=3235,30000,400,False,False; <- Devotion

SmartSkill=3195,30000,400,False,False; <- Focused Evasion
#ENDIF


#IF=%Timer=999999,7000;<-- If target got no damage after 7000 milliseconds cancel combat
_IFMemPtrRead=%TargetBase,%OffsetPercentHP,BYTE,=100;
SendKey=0x1B;
MemPtrWrite=%AddrESChwnd,%OffsetESChwnd,142,BYTE;
#ENDIF

#EXECUTE=Potion;

end_MidCombatRanger;







start_CombatAssassin;

MemWrite=%AddrFreeMem6,0,BYTE;

SmartSkill=3370,180000,500,False,False; <- Slayer Form I

SmartSkill=3481,300000,500,False,False; <- Apply Deadly Poison

SmartSkill=3355,120000,500,False,False; <- Flurry

SmartSkill=3468,30000,500,False,False; <- Killer's Eye

SmartSkill=3235,30000,500,False,False; <- Devotion

SmartSkill=3469,300000,500,False,False; <- Deadly Focus

SmartSkill=3195,30000,500,False,False; <- Focused Evasion

CreateTimer=999999;

#DO=180000;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3415,90000,1000,False,False; <- Massacre
#ENDIF

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3363,40000,750,False,False; <- Ambush
#ENDIF

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3517,60000,750,False,False; <- Weakening Blow
#ENDIF

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3207,16000,750,2500,False; <- Surprise Attack
#ENDIF

#EXECUTE=MidCombatAssassin;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3194,7000,750,2500,False; <- Swift Edge
#ENDIF

#EXECUTE=MidCombatAssassin;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3426,6000,750,2500,False; <- Fang Strike
#ENDIF

#EXECUTE=MidCombatAssassin;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3394,7000,750,750,False; <- Rune Carve
#ENDIF

#EXECUTE=MidCombatAssassin;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3383,18000,750,750,False; <- Pain Rune
#ENDIF

#EXECUTE=MidCombatAssassin;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3476,30000,750,2500,False; <- Assassination
#ENDIF

#EXECUTE=MidCombatAssassin;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3368,60000,750,False,False; <- Ripclaw Strike
#ENDIF

#EXECUTE=MidCombatAssassin;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
_IFMemPtrRead=%PlayerBase,%OffsetPercentHP,BYTE,<65;
SmartSkill=3353,60000,750,False,False; <- Blood Rune
#ENDIF

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
_IFMemPtrRead=%PlayerBase,%OffsetLevel,BYTE,>64;
#EXECUTE=StigmaAssassin;
#ENDIF

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,=0;
MemWrite=%AddrFreeMem6,1,BYTE;
#ENDIF
_IFMemPtrRead=%PlayerBase,%OffsetHP,DWORD,=0;
MemWrite=%AddrFreeMem6,1,BYTE;
#ENDIF

_UNTILMemRead=%AddrFreeMem6,BYTE,=1;

end_CombatAssassin;


start_MidCombatAssassin;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3370,180000,500,False,False; <- Slayer Form I

SmartSkill=3481,300000,500,False,False; <- Apply Deadly Poison

SmartSkill=3355,120000,500,False,False; <- Flurry

SmartSkill=3468,30000,500,False,False; <- Killer's Eye

SmartSkill=3235,30000,500,False,False; <- Devotion

SmartSkill=3469,300000,500,False,False; <- Deadly Focus

SmartSkill=3195,30000,500,False,False; <- Focused Evasion

SmartSkill=3328,60000,500,False,False; <- Aethertwisting
#ENDIF


#IF=%Timer=999999,7000;<-- If target got no damage after 7000 milliseconds cancel combat
_IFMemPtrRead=%TargetBase,%OffsetPercentHP,BYTE,=100;
SendKey=0x1B;
MemPtrWrite=%AddrESChwnd,%OffsetESChwnd,142,BYTE;
#ENDIF

#EXECUTE=Potion;

end_MidCombatAssassin;





start_CombatCleric;

MemWrite=%AddrFreeMem6,0,BYTE;

SmartSkill=3895,180000,500,False,False; <- Amplification

SmartSkill=3894,60000,500,False,False; <- Prayer of Focus

SmartSkill=3888,180000,500,False,False; <- Sage's Wisdom

SmartSkill=3921,180000,2750,False,False; <- Immortal Shroud

CreateTimer=999999;

#DO=180000;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=4053,16000,2750,2500,False; <- Punishing Earth
#ENDIF

#EXECUTE=MidCombatCleric;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=4126,30000,550,False,False; <- Summon Holy Servant
#ENDIF

#EXECUTE=MidCombatCleric;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=4094,12000,1750,1500,False; <- Earth's Wrath
#ENDIF

#EXECUTE=MidCombatCleric;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=4133,16000,550,False,False; <- Chastise
#ENDIF

#EXECUTE=MidCombatCleric;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=4072,16000,550,2000,False; <- Slashing Wind
#ENDIF

#EXECUTE=MidCombatCleric;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1626,8000,550,1500,False; <- Hallowed Strike
#ENDIF

#EXECUTE=MidCombatCleric;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1825,24000,550,False,False; <- Infernal Blaze
#ENDIF

#EXECUTE=MidCombatCleric;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=4024,2000,1250,2500,False; <- Smite
#ENDIF

#EXECUTE=MidCombatCleric;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=4151,60000,550,False,False; <- Land's Bargain
#ENDIF

#EXECUTE=MidCombatCleric;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
_IFMemPtrRead=%PlayerBase,%OffsetLevel,BYTE,>64;
#EXECUTE=StigmaCleric;
#ENDIF

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,=0;
MemWrite=%AddrFreeMem6,1,BYTE;
#ENDIF
_IFMemPtrRead=%PlayerBase,%OffsetHP,DWORD,=0;
MemWrite=%AddrFreeMem6,1,BYTE;
#ENDIF

_UNTILMemRead=%AddrFreeMem6,BYTE,=1;

end_CombatCleric;


start_MidCombatCleric;


SmartSkill=1684,3600000,500,False,False; <- Blessing of Guardianship

_IFMemPtrRead=%TargetBase,%OffsetPercentHP,BYTE,>50;
SmartSkill=3895,180000,500,False,False; <- Amplification

SmartSkill=3894,60000,500,False,False; <- Prayer of Focus

SmartSkill=3888,180000,500,False,False; <- Sage's Wisdom
#ENDIF

_IFMemPtrRead=%PlayerBase,%OffsetPercentHP,BYTE,<95;
SmartSkill=3950,30000,550,False,False; <- Light of Rejuvenation
#ENDIF

_IFMemPtrRead=%PlayerBase,%OffsetPercentHP,BYTE,<80;
SmartSkill=3959,30000,550,False,False; <- Flash of Recovery
#ENDIF

_IFMemPtrRead=%PlayerBase,%OffsetPercentHP,BYTE,<60;
SmartSkill=4194,120000,550,False,False; <- Life Curtain
#ENDIF

_IFMemPtrRead=%PlayerBase,%OffsetPercentHP,BYTE,<80;
SmartSkill=4212,6000,3250,False,False; <- Healing Grace
#ENDIF

_IFMemPtrRead=%PlayerBase,%OffsetPercentHP,BYTE,<80;
SmartSkill=1850,50,2250,False,False; <- Healing Light
#ENDIF

_MemPtrReadVar=%PlayerBase,%OffsetMaxMP,WORD,11; <-- saves max MP in %Var11
_MemPtrReadVar=%PlayerBase,%OffsetMP,WORD,12; <-- saves current MP in %Var12
_Calc11=%Var12/%Var11; <-- divides %Var12 trough %Var11 and saves the result in %Var11
_Calc11=%Var11*100; <-- multiplies %Var11 with 100 and saves the result in %Var11
MemWrite=%AddrFreeMem12,%Var11,FLOAT; <-- writes current mana percent value in %AddrFreeMem12

_IFMemRead=%AddrFreeMem12,FLOAT,<20;
SmartSkill=3877,180000,500,False,False; <- Penance
#ENDIF

_IFMemRead=%AddrFreeMem12,FLOAT,<20;
SmartSkill=4194,120000,550,False,False; <- Life Curtain
#ENDIF


#IF=%Timer=999999,7000;<-- If target got no damage after 7000 milliseconds cancel combat
_IFMemPtrRead=%TargetBase,%OffsetPercentHP,BYTE,=100;
SendKey=0x1B;
MemPtrWrite=%AddrESChwnd,%OffsetESChwnd,142,BYTE;
#ENDIF

#EXECUTE=Potion;

end_MidCombatCleric;



start_CombatChanter; <-- Created by FallenEdge

MemWrite=%AddrFreeMem6,0,BYTE;

_IFSkillActive=4645;
#ELSE
UseID=4645; Hit Mantra
Delay=350;
#ENDIF
_IFSkillActive=4645;
#ELSE
UseID=4645; Hit Mantra
Delay=350;
#ENDIF

_IFSkillActive=1753;
#ELSE
UseID=1753; Revival Mantra
Delay=350;
#ENDIF
_IFSkillActive=1753;
#ELSE
UseID=1753; Revival Mantra
Delay=350;
#ENDIF

_IFSkillActive=4642;
#ELSE
UseID=4642; Invincibility Mantra
Delay=350;
#ENDIF
_IFSkillActive=4642;
#ELSE
UseID=4642; Invincibility Mantra
Delay=350;
#ENDIF

_IFBuffAlive=1556;
#ELSE
SmartSkill=1556,1000,50,False,False;   <-- Ascension Spell
#ENDIF

_IFBuffAlive=1689;
#ELSE
SmartSkill=1689,1000,50,False,False;   <-- Protectorates Prayer
#ENDIF



CreateTimer=999999;

#DO=180000;


_IFMemPtrRead=%PlayerBase,%OffsetPercentHP,BYTE,<25;
_IFMemPtrRead=%PlayerBase,%OffsetLevel,BYTE,<26;
SmartSkill=4013,2000,1500,False,False;                  <-- Smite
#ENDIF


#EXECUTE=MidCombatChanter;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1600,12000,50,False,False;       <-- Inescapable Judgment
#ENDIF

#EXECUTE=MidCombatChanter;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1626,8000,50,1500,False;        <-- Hallowed Strike
#ENDIF

#EXECUTE=MidCombatChanter;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1825,2000,1500,1200,False;       <-- Infernal Blaze
#ENDIF

#EXECUTE=MidCombatChanter;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1789,8000,50,1200,False;         <-- Meteor Strike
#ENDIF

#EXECUTE=MidCombatChanter;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
_IFMemPtrRead=%PlayerBase,%OffsetLevel,BYTE,>64;
#EXECUTE=StigmaChanter;
#ENDIF

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,=0;
MemWrite=%AddrFreeMem6,1,BYTE;
#ENDIF
_IFMemPtrRead=%PlayerBase,%OffsetHP,DWORD,=0;
MemWrite=%AddrFreeMem6,1,BYTE;
#ENDIF

_UNTILMemRead=%AddrFreeMem6,BYTE,=1;

end_CombatChanter;


start_MidCombatChanter;

_IFMemPtrRead=%PlayerBase,%OffsetPercentHP,BYTE,<25;
SmartSkill=1813,300000,50,False,False;                  <-- Block Curtain
#ENDIF

_IFMemPtrRead=%PlayerBase,%OffsetPercentHP,BYTE,<25;
SmartSkill=1698,120000,50,False,False;                  <-- Protective Ward
#ENDIF

_IFMemPtrRead=%PlayerBase,%OffsetPercentHP,BYTE,<60;
SmartSkill=1745,5000,50,False,False;                    <-- Word Revival
#ENDIF

_IFMemPtrRead=%PlayerBase,%OffsetPercentHP,BYTE,<30;
SmartSkill=1606,60000,100,False,False;                  <-- Stamina Restoration
#ENDIF

_MemPtrReadVar=%PlayerBase,%OffsetMaxMP,WORD,11; <-- saves max MP in %Var11
_MemPtrReadVar=%PlayerBase,%OffsetMP,WORD,12; <-- saves current MP in %Var12
_Calc11=%Var12/%Var11; <-- divides %Var12 trough %Var11 and saves the result in %Var11
_Calc11=%Var11*100; <-- multiplies %Var11 with 100 and saves the result in %Var11
MemWrite=%AddrFreeMem12,%Var11,FLOAT; <-- writes current mana percent value in %AddrFreeMem12

_IFMemRead=%AddrFreeMem12,FLOAT,<20;
SmartSkill=1606,60000,100,False,False;                  <-- Stamina Restoration
#ENDIF

_IFMemPtrRead=%PlayerBase,%OffsetPercentHP,BYTE,<60;
SmartSkill=1860,10000,1100,False,False;                  <-- Recovery Spell
#ENDIF

_IFMemPtrRead=%PlayerBase,%OffsetPercentHP,BYTE,<50;
SmartSkill=1850,2000,0,False,False;                      <-- Healing Light
#ENDIF

_IFMemPtrRead=%PlayerBase,%OffsetPercentHP,BYTE,<30;
SmartSkill=1637,180000,50,False,False;                   <-- Unstoppable
#ENDIF

_IFMemPtrRead=%PlayerBase,%OffsetPercentHP,BYTE,<80;
SmartSkill=1759,30000,100,False,False;                   <-- Perfect Parry
#ENDIF

#IF=%Timer=999999,7000;<-- If target got no damage after 7000 milliseconds cancel combat
_IFMemPtrRead=%TargetBase,%OffsetPercentHP,BYTE,=100;
SendKey=0x1B;
MemPtrWrite=%AddrESChwnd,%OffsetESChwnd,142,BYTE;
#ENDIF

#EXECUTE=Potion;

end_MidCombatChanter;



start_CombatSpiritmaster;

MemWrite=%AddrFreeMem6,0,BYTE;

_MemPtrReadVar=%TargetBase,%OffsetName,WCHAR[32],9;

_IFFrameVisible=209; spirit window
#ELSE
SmartSkill=3779,60000,1150,False,False; <- Summoning Alacrity
SmartSkill=3704,5000,4750,False,False; <- Wind Spirit
#ENDIF

Command=/select %Var9;
Delay=100;

SmartSkill=1166,120000,500,False,False; <- Stone Skin

SmartSkill=3573,120000,500,False,False; <- Sympathetic Mind

SmartSkill=3602,180000,500,False,False; <- Elemental Spirit Armor

CreateTimer=999999;

#DO=180000;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3852,120000,1050,False,False; <- Command: Wind Wrath
#ENDIF

#EXECUTE=MidCombatSpiritmaster;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3588,12000,2250,1500,False; <- Weaken Spirit
#ENDIF

#EXECUTE=MidCombatSpiritmaster;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3613,15000,500,1500,False; <- Chain of Earth
#ENDIF

#EXECUTE=MidCombatSpiritmaster;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1459,3000,500,False,False; <- Erosion
#ENDIF

#EXECUTE=MidCombatSpiritmaster;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3837,14000,500,1500,False; <- Command: Wind Disturbance
#ENDIF

#EXECUTE=MidCombatSpiritmaster;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1363,10000,2250,1500,False; <- Ice Chain
#ENDIF

#EXECUTE=MidCombatSpiritmaster;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3831,10000,1750,False,False; <- Summon Wind Servant
#ENDIF

#EXECUTE=MidCombatSpiritmaster;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3601,1000,2000,False,False; <- Vacuum Choke
#ENDIF

#EXECUTE=MidCombatSpiritmaster;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3776,60000,750,3500,False; <- Soul Torrent
#ENDIF

#EXECUTE=MidCombatSpiritmaster;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3853,30000,750,False,False; <- Command: Wind Pique
#ENDIF

#EXECUTE=MidCombatSpiritmaster;

_IFMemPtrRead=%TargetBase,%OffsetPercentHP,DWORD,<40;
SmartSkill=3643,120000,2000,False,False; <- Wind Erosion
#ENDIF

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
_IFMemPtrRead=%PlayerBase,%OffsetLevel,BYTE,>64;
#EXECUTE=StigmaSpiritmaster;
#ENDIF

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,=0;
MemWrite=%AddrFreeMem6,1,BYTE;
#ENDIF
_IFMemPtrRead=%PlayerBase,%OffsetHP,DWORD,=0;
MemWrite=%AddrFreeMem6,1,BYTE;
#ENDIF

_UNTILMemRead=%AddrFreeMem6,BYTE,=1;

end_CombatSpiritmaster;


start_MidCombatSpiritmaster;

_IFMemPtrRead=%PlayerBase,%OffsetPercentHP,BYTE,<40;
SmartSkill=3833,180000,750,False,False; <- Command: Bodyguard
#ENDIF

_IFMemPtrRead=%PlayerBase,%OffsetPercentHP,BYTE,<80;
SmartSkill=3839,180000,750,False,False; <- Spirit Preserve
#ENDIF

_IFMemPtrRead=%PlayerBase,%OffsetPercentHP,BYTE,<65;
SmartSkill=4665,24000,2250,False,False; <- Backdraft
#ENDIF

SmartSkill=1166,120000,500,False,False; <- Stone Skin

SmartSkill=3573,120000,500,False,False; <- Sympathetic Mind

SmartSkill=3602,180000,500,False,False; <- Elemental Spirit Armor

_MemPtrReadVar=%PlayerBase,%OffsetMaxMP,WORD,11; <-- saves max MP in %Var11
_MemPtrReadVar=%PlayerBase,%OffsetMP,WORD,12; <-- saves current MP in %Var12
_Calc11=%Var12/%Var11; <-- divides %Var12 trough %Var11 and saves the result in %Var11
_Calc11=%Var11*100; <-- multiplies %Var11 with 100 and saves the result in %Var11
MemWrite=%AddrFreeMem12,%Var11,FLOAT; <-- writes current mana percent value in %AddrFreeMem12

_IFMemRead=%AddrFreeMem12,FLOAT,<20;
SmartSkill=3738,120000,2250,False,False; <- Spirit Absorption
#ENDIF


#IF=%Timer=999999,7000;<-- If target got no damage after 7000 milliseconds cancel combat
_IFMemPtrRead=%TargetBase,%OffsetPercentHP,BYTE,=100;
SendKey=0x1B;
MemPtrWrite=%AddrESChwnd,%OffsetESChwnd,142,BYTE;
#ENDIF

#EXECUTE=Potion;

end_MidCombatSpiritmaster;




start_CombatGunslinger;

MemWrite=%AddrFreeMem6,0,BYTE;

SmartSkill=2045,300000,500,False,False; <- Aion's Favor

SmartSkill=2124,180000,500,False,False; <- Anticipation

SmartSkill=2046,60000,500,False,False; <- Stopping Power

SmartSkill=2273,60000,500,False,False; <- Sighting

SmartSkill=2052,30000,500,False,False; <- Pressurized Chamber

SmartSkill=1923,30000,500,False,False; <- Bulletproof

CreateTimer=999999;

#DO=180000;

#IF=%Timer=1953,24000;
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2800; <-- base atkspeed equals cannon
SendAction=3,4; <-- switch weapon
#ENDIF
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2250;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1953,24000,750,False,False; <- Hot Shot
#ENDIF

#EXECUTE=MidCombatGunslinger;

#IF=%Timer=2179,24000;
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2800; <-- base atkspeed equals cannon
SendAction=3,4; <-- switch weapon
#ENDIF
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2250;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
_MemPtrReadVar=%PlayerBase,%OffsetMaxMP,WORD,11; <-- saves max MP in %Var11
_MemPtrReadVar=%PlayerBase,%OffsetMP,WORD,12; <-- saves current MP in %Var12
_Calc11=%Var12/%Var11; <-- divides %Var12 trough %Var11 and saves the result in %Var11
_Calc11=%Var11*100; <-- multiplies %Var11 with 100 and saves the result in %Var11
MemWrite=%AddrFreeMem12,%Var11,FLOAT; <-- writes current mana percent value in %AddrFreeMem12
_IFMemRead=%AddrFreeMem12,FLOAT,<20;
SmartSkill=2179,24000,500,3000,False; <- Crosstrigger
CreateTimer=1969;
CreateTimer=1968;
CreateTimer=1967;
CreateTimer=1966;
CreateTimer=1965;
CreateTimer=1964;
CreateTimer=1963;
CreateTimer=1962;
CreateTimer=1961;
CreateTimer=1960;
CreateTimer=1959;
CreateTimer=1958;
CreateTimer=1957;
CreateTimer=2179;
CreateTimer=2178;
CreateTimer=2177;
CreateTimer=2176;
CreateTimer=2175;
CreateTimer=2174;
CreateTimer=2173;
CreateTimer=2172;
CreateTimer=2171;
CreateTimer=2065;
CreateTimer=2064;
CreateTimer=2063;
CreateTimer=2062;
CreateTimer=2061;
CreateTimer=2060;
CreateTimer=2059;
CreateTimer=2058;
CreateTimer=2057;
CreateTimer=2056;
CreateTimer=2055;
#ENDIF

#EXECUTE=MidCombatGunslinger;

#IF=%Timer=2053,30000;
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2800; <-- base atkspeed equals cannon
SendAction=3,4; <-- switch weapon
#ENDIF
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2250;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
#IF=%Timer=1969,1500;
#IF=%Timer=2179,1500;
#IF=%Timer=2065,1500;
#IF=%Timer=2053,30000;
#3DO=750;
UseID=2053; <-- Reload
_3UNTILMemRead=%AddrLastID,DWORD,=2053;
_IFMemPtrRead=%PlayerBase,%OffsetCurrentID,DWORD,=2053;
CreateTimer=2053;
DeleteTimer=1969;
DeleteTimer=1968;
DeleteTimer=1967;
DeleteTimer=1966;
DeleteTimer=1965;
DeleteTimer=1964;
DeleteTimer=1963;
DeleteTimer=1962;
DeleteTimer=1961;
DeleteTimer=1960;
DeleteTimer=1959;
DeleteTimer=1958;
DeleteTimer=1957;
DeleteTimer=2179;
DeleteTimer=2178;
DeleteTimer=2177;
DeleteTimer=2176;
DeleteTimer=2175;
DeleteTimer=2174;
DeleteTimer=2173;
DeleteTimer=2172;
DeleteTimer=2171;
DeleteTimer=2065;
DeleteTimer=2064;
DeleteTimer=2063;
DeleteTimer=2062;
DeleteTimer=2061;
DeleteTimer=2060;
DeleteTimer=2059;
DeleteTimer=2058;
DeleteTimer=2057;
DeleteTimer=2056;
DeleteTimer=2055;
#ENDIF

#EXECUTE=MidCombatGunslinger;

#IF=%Timer=2054,60000;
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2800; <-- base atkspeed equals cannon
SendAction=3,4; <-- switch weapon
#ENDIF
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2250;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
#IF=%Timer=1969,1500;
#IF=%Timer=2179,1500;
#IF=%Timer=2065,1500;
#IF=%Timer=2054,60000;
#3DO=750;
UseID=2054; <-- Autoload
_3UNTILMemRead=%AddrLastID,DWORD,=2054;
_IFMemPtrRead=%PlayerBase,%OffsetCurrentID,DWORD,=2054;
CreateTimer=2054;
DeleteTimer=1969;
DeleteTimer=1968;
DeleteTimer=1967;
DeleteTimer=1966;
DeleteTimer=1965;
DeleteTimer=1964;
DeleteTimer=1963;
DeleteTimer=1962;
DeleteTimer=1961;
DeleteTimer=1960;
DeleteTimer=1959;
DeleteTimer=1958;
DeleteTimer=1957;
DeleteTimer=2179;
DeleteTimer=2178;
DeleteTimer=2177;
DeleteTimer=2176;
DeleteTimer=2175;
DeleteTimer=2174;
DeleteTimer=2173;
DeleteTimer=2172;
DeleteTimer=2171;
DeleteTimer=2065;
DeleteTimer=2064;
DeleteTimer=2063;
DeleteTimer=2062;
DeleteTimer=2061;
DeleteTimer=2060;
DeleteTimer=2059;
DeleteTimer=2058;
DeleteTimer=2057;
DeleteTimer=2056;
DeleteTimer=2055;
#ENDIF

#EXECUTE=MidCombatGunslinger;

#IF=%Timer=1969,16000;
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2800; <-- base atkspeed equals cannon
SendAction=3,4; <-- switch weapon
#ENDIF
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2250;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1969,16000,500,3000,False; <- Gunshot
CreateTimer=1969;
CreateTimer=1968;
CreateTimer=1967;
CreateTimer=1966;
CreateTimer=1965;
CreateTimer=1964;
CreateTimer=1963;
CreateTimer=1962;
CreateTimer=1961;
CreateTimer=1960;
CreateTimer=1959;
CreateTimer=1958;
CreateTimer=1957;
CreateTimer=2179;
CreateTimer=2178;
CreateTimer=2177;
CreateTimer=2176;
CreateTimer=2175;
CreateTimer=2174;
CreateTimer=2173;
CreateTimer=2172;
CreateTimer=2171;
CreateTimer=2065;
CreateTimer=2064;
CreateTimer=2063;
CreateTimer=2062;
CreateTimer=2061;
CreateTimer=2060;
CreateTimer=2059;
CreateTimer=2058;
CreateTimer=2057;
CreateTimer=2056;
CreateTimer=2055;
#ENDIF

#EXECUTE=MidCombatGunslinger;

#IF=%Timer=2226,2000;
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2800; <-- base atkspeed equals cannon
SendAction=3,4; <-- switch weapon
#ENDIF
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2250;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=2226,2000,1250,False,False; <- Direct Shot
#ENDIF

#EXECUTE=MidCombatGunslinger;

#IF=%Timer=2349,90000;
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2800; <-- base atkspeed equals cannon
SendAction=3,4; <-- switch weapon
#ENDIF
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2250;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
_IFMemPtrRead=%PlayerBase,%OffsetPercentHP,BYTE,<65;
SmartSkill=2349,90000,550,2500,False; <- Anti-Enemy Fire
#ENDIF

#EXECUTE=MidCombatGunslinger;

#IF=%Timer=2263,18000;
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2800; <-- base atkspeed equals cannon
SendAction=3,4; <-- switch weapon
#ENDIF
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2250;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=2263,18000,750,False,False; <- Quieting Gale
#ENDIF

#EXECUTE=MidCombatGunslinger;

#IF=%Timer=2003,60000;
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2800; <-- base atkspeed equals cannon
SendAction=3,4; <-- switch weapon
#ENDIF
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2250;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=2003,60000,750,False,False; <- Wing Clip
#ENDIF

#EXECUTE=MidCombatGunslinger;

#IF=%Timer=2166,24000;
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2800; <-- base atkspeed equals cannon
SendAction=3,4; <-- switch weapon
#ENDIF
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2250;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=2166,24000,750,False,False; <- Green Grenade
#ENDIF

#EXECUTE=MidCombatGunslinger;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
_IFMemPtrRead=%PlayerBase,%OffsetLevel,BYTE,>64;
#EXECUTE=StigmaGunslinger;
#ENDIF

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,=0;
MemWrite=%AddrFreeMem6,1,BYTE;
#ENDIF
_IFMemPtrRead=%PlayerBase,%OffsetHP,DWORD,=0;
MemWrite=%AddrFreeMem6,1,BYTE;
#ENDIF

_UNTILMemRead=%AddrFreeMem6,BYTE,=1;

end_CombatGunslinger;


start_MidCombatGunslinger;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=2045,300000,500,False,False; <- Aion's Favor
#ENDIF

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=2124,180000,500,False,False; <- Anticipation
#ENDIF

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1923,30000,500,False,False; <- Bulletproof
#ENDIF


#IF=%Timer=999999,7000;<-- If target got no damage after 7000 milliseconds cancel combat
_IFMemPtrRead=%TargetBase,%OffsetPercentHP,BYTE,=100;
SendKey=0x1B;
MemPtrWrite=%AddrESChwnd,%OffsetESChwnd,142,BYTE;
#ENDIF

#EXECUTE=Potion;

end_MidCombatGunslinger;







start_CombatSongweaver;

MemWrite=%AddrFreeMem6,0,BYTE;

SmartSkill=4442,120000,500,False,False; <- Protective Ode

SmartSkill=4449,3600000,500,False,False; <- Etude

CreateTimer=999999;

#DO=180000;

_IFMemPtrRead=%TargetBase,%OffsetPercentHP,BYTE,=100;
SmartSkill=4296,16000,750,1250,False; <- Syncopated Echo
#ENDIF

_IFMemPtrRead=%TargetBase,%OffsetPercentHP,BYTE,=100;
SmartSkill=4471,120000,500,1500,3000; <- Fiery Requiem
#ENDIF

#EXECUTE=MidCombatSongweaver;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=4233,12000,1250,2500,False; <- Song of Ice
#ENDIF

#EXECUTE=MidCombatSongweaver;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=4272,16000,750,2500,False; <- Bright Strike
#ENDIF

#EXECUTE=MidCombatSongweaver;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=4424,30000,500,False,False; <- Quaver
#ENDIF

#EXECUTE=MidCombatSongweaver;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=4405,30000,500,False,False; <- Adagio
#ENDIF

#EXECUTE=MidCombatSongweaver;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=4523,16000,1250,False,False; <- Sonic Gust
#ENDIF

#EXECUTE=MidCombatSongweaver;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=4420,2000,1250,False,False; <- Pulse
#ENDIF

#EXECUTE=MidCombatSongweaver;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
_IFMemPtrRead=%PlayerBase,%OffsetLevel,BYTE,>64;
#EXECUTE=StigmaSongweaver;
#ENDIF

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,=0;
MemWrite=%AddrFreeMem6,1,BYTE;
#ENDIF
_IFMemPtrRead=%PlayerBase,%OffsetHP,DWORD,=0;
MemWrite=%AddrFreeMem6,1,BYTE;
#ENDIF

_UNTILMemRead=%AddrFreeMem6,BYTE,=1;

end_CombatSongweaver;


start_MidCombatSongweaver;

_IFMemPtrRead=%PlayerBase,%OffsetPercentHP,BYTE,<50;
SmartSkill=4351,6000,1250,3000,False; <- Soothing Melody
#ENDIF

_MemPtrReadVar=%PlayerBase,%OffsetMaxMP,WORD,11; <-- saves max MP in %Var11
_MemPtrReadVar=%PlayerBase,%OffsetMP,WORD,12; <-- saves current MP in %Var12
_Calc11=%Var12/%Var11; <-- divides %Var12 trough %Var11 and saves the result in %Var11
_Calc11=%Var11*100; <-- multiplies %Var11 with 100 and saves the result in %Var11
MemWrite=%AddrFreeMem12,%Var11,FLOAT; <-- writes current mana percent value in %AddrFreeMem12

_IFMemRead=%AddrFreeMem12,FLOAT,<20;
SmartSkill=4383,30000,500,False,False; <- Resonating Melody
#ENDIF

_IFMemRead=%AddrFreeMem12,FLOAT,<20;
SmartSkill=4571,6000,500,False,False; <- Resonating Counterpoint
#ENDIF

SmartSkill=4442,120500,500,False,False; <- Protective Ode

SmartSkill=4449,3600000,500,False,False; <- Etude


#IF=%Timer=999999,7000;<-- If target got no damage after 7000 milliseconds cancel combat
_IFMemPtrRead=%TargetBase,%OffsetPercentHP,BYTE,=100;
SendKey=0x1B;
MemPtrWrite=%AddrESChwnd,%OffsetESChwnd,142,BYTE;
#ENDIF

#EXECUTE=Potion;

end_MidCombatSongweaver;



start_CombatSorcerer; <-- created by Shimizu20

MemWrite=%AddrFreeMem6,0,BYTE;

SmartSkill=1166,120000,500,False,False; <- Stone Skin/Steinhaut

SmartSkill=4449,3600000,500,False,False; <- Robe of Flame/Robe der Flamme

SmartSkill=1249,180000,500,False,False; <- Magic Assist/Magieexplosion

SmartSkill=1270,30000,500,False,False; <- Vaizel's Wisdom/Vaizels Weisheit

CreateTimer=999999;

#DO=180000;

_IFMemPtrRead=%TargetBase,%OffsetPercentHP,BYTE,=100;
SmartSkill=1258,120000,4250,False,False; <- Aetherflame/Feuer der magischen Kraft
#ENDIF

_IFMemPtrRead=%TargetBase,%OffsetPercentHP,BYTE,=100;
SmartSkill=1509,60000,2250,False,False; <- Magma Burst/Großer Vulkanausbruch
#ENDIF

#EXECUTE=MidCombatSorcerer;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1183,60000,500,False,False; <- Freeze/Frost
#ENDIF

#EXECUTE=MidCombatSorcerer;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1281,3000,2250,2250,False; <- Flame Harpoon/Flammenharpune
#ENDIF

#EXECUTE=MidCombatSorcerer;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1375,10000,2250,1250,False; <- Ice Chain/Eiskette
#ENDIF

#EXECUTE=MidCombatSorcerer;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1269,90000,500,2250,False; <- Wind Spear/Speer des Windes
#ENDIF

#EXECUTE=MidCombatSorcerer;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1294,500,2250,2250,False; <- Flame Bolt/Flammenpfeil
#ENDIF

#EXECUTE=MidCombatSorcerer;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1430,30000,2250,False,False; <- Delayed Blast/Verzögerte Explosion
#ENDIF

#EXECUTE=MidCombatSorcerer;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1519,5000,500,False,False; <- Flame Cage/Flammenkäfig
#ENDIF

#EXECUTE=MidCombatSorcerer;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1257,3000,1250,1250,False; <- Refracting Shard/Funkelnde Scherbe
#ENDIF

#EXECUTE=MidCombatSorcerer;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1401,60000,500,False,False; <- Stamina Absorption/Ausdauerabsorption
#ENDIF

#EXECUTE=MidCombatSorcerer;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
_IFMemPtrRead=%PlayerBase,%OffsetLevel,BYTE,>64;
#EXECUTE=StigmaSorcerer;
#ENDIF

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,=0;
MemWrite=%AddrFreeMem6,1,BYTE;
#ENDIF
_IFMemPtrRead=%PlayerBase,%OffsetHP,DWORD,=0;
MemWrite=%AddrFreeMem6,1,BYTE;
#ENDIF

_UNTILMemRead=%AddrFreeMem6,BYTE,=1;

end_CombatSorcerer;


start_MidCombatSorcerer;

_MemPtrReadVar=%PlayerBase,%OffsetMaxMP,WORD,11; <-- saves max MP in %Var11
_MemPtrReadVar=%PlayerBase,%OffsetMP,WORD,12; <-- saves current MP in %Var12
_Calc11=%Var12/%Var11; <-- divides %Var12 trough %Var11 and saves the result in %Var11
_Calc11=%Var11*100; <-- multiplies %Var11 with 100 and saves the result in %Var11
MemWrite=%AddrFreeMem12,%Var11,FLOAT; <-- writes current mana percent value in %AddrFreeMem12

_IFMemRead=%AddrFreeMem12,FLOAT,<50;
SmartSkill=1203,180000,500,False,False; <- Gain Mana/Managewinn
#ENDIF

SmartSkill=1166,120000,500,False,False; <- Stone Skin/Steinhaut

SmartSkill=4449,3600000,500,False,False; <- Robe of Flame/Robe der Flamme

SmartSkill=1249,180000,500,False,False; <- Magic Assist/Magieexplosion

SmartSkill=1270,30000,500,False,False; <- Vaizel's Wisdom/Vaizels Weisheit


#IF=%Timer=999999,7000;<-- If target got no damage after 7000 milliseconds cancel combat
_IFMemPtrRead=%TargetBase,%OffsetPercentHP,BYTE,=100;
SendKey=0x1B;
MemPtrWrite=%AddrESChwnd,%OffsetESChwnd,142,BYTE;
#ENDIF

#EXECUTE=Potion;

end_MidCombatSorcerer;



start_CombatWarrior;

MemWrite=%AddrFreeMem6,0,BYTE;

CreateTimer=999999;

#DO=180000;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=2865,10000,750,1000,False; <-- Ferocious Strike
#ENDIF

#EXECUTE=MidCombatWarrior;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=2890,12000,750,False,False; <-- Body Smash
#ENDIF

Command=/attack;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,=0;
MemWrite=%AddrFreeMem6,1,BYTE;
#ENDIF
_IFMemPtrRead=%PlayerBase,%OffsetHP,DWORD,=0;
MemWrite=%AddrFreeMem6,1,BYTE;
#ENDIF

_UNTILMemRead=%AddrFreeMem6,BYTE,=1;

end_CombatWarrior;


start_MidCombatWarrior;

#IF=%Timer=999999,7000;<-- If target got no damage after 7000 milliseconds cancel combat
_IFMemPtrRead=%TargetBase,%OffsetPercentHP,BYTE,=100;
SendKey=0x1B;
MemPtrWrite=%AddrESChwnd,%OffsetESChwnd,142,BYTE;
#ENDIF

#EXECUTE=Potion;

end_MidCombatWarrior;



start_CombatScout;

MemWrite=%AddrFreeMem6,0,BYTE;

SmartSkill=3235,30000,500,False,False; <-- Devotion

SmartSkill=3195,30000,500,False,False; <-- Focused Evasion

CreateTimer=999999;

#DO=180000;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3196,16000,750,False,False; <-- Surprise Attack
#ENDIF

#EXECUTE=MidCombatScout;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3182,7000,750,1000,False; <-- Swift Edge
#ENDIF

Command=/attack;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,=0;
MemWrite=%AddrFreeMem6,1,BYTE;
#ENDIF
_IFMemPtrRead=%PlayerBase,%OffsetHP,DWORD,=0;
MemWrite=%AddrFreeMem6,1,BYTE;
#ENDIF

_UNTILMemRead=%AddrFreeMem6,BYTE,=1;

end_CombatScout;


start_MidCombatScout;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3235,30000,500,False,False; <-- Devotion
SmartSkill=3195,30000,500,False,False; <-- Focused Evasion
#ENDIF

#IF=%Timer=999999,7000;<-- If target got no damage after 7000 milliseconds cancel combat
_IFMemPtrRead=%TargetBase,%OffsetPercentHP,BYTE,=100;
SendKey=0x1B;
MemPtrWrite=%AddrESChwnd,%OffsetESChwnd,142,BYTE;
#ENDIF

#EXECUTE=Potion;

end_MidCombatScout;



start_CombatMage;

MemWrite=%AddrFreeMem6,0,BYTE;

SmartSkill=1155,120000,500,False,False; <-- Stone Skin

CreateTimer=999999;

#DO=180000;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1363,10000,2250,1000,False; <-- Ice Chain
#ENDIF

#EXECUTE=MidCombatMage;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1447,3000,500,False,False; <-- Erosion
#ENDIF

#EXECUTE=MidCombatMage;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1328,60000,500,False,False; <-- Root
#ENDIF

#EXECUTE=MidCombatMage;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1282,2000,2250,1000,False; <-- Flame Bolt
#ENDIF

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,=0;
MemWrite=%AddrFreeMem6,1,BYTE;
#ENDIF
_IFMemPtrRead=%PlayerBase,%OffsetHP,DWORD,=0;
MemWrite=%AddrFreeMem6,1,BYTE;
#ENDIF

_UNTILMemRead=%AddrFreeMem6,BYTE,=1;

end_CombatMage;


start_MidCombatMage;

SmartSkill=1155,120000,500,False,False; <-- Stone Skin

#IF=%Timer=999999,7000;<-- If target got no damage after 7000 milliseconds cancel combat
_IFMemPtrRead=%TargetBase,%OffsetPercentHP,BYTE,=100;
SendKey=0x1B;
MemPtrWrite=%AddrESChwnd,%OffsetESChwnd,142,BYTE;
#ENDIF

#EXECUTE=Potion;

end_MidCombatMage;




start_CombatPriest;

MemWrite=%AddrFreeMem6,0,BYTE;

CreateTimer=999999;

#DO=180000;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=4013,2000,1750,False,False; <-- Smite
#ENDIF

#EXECUTE=MidCombatPriest;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1814,24000,750,False,False; <-- Infernal Blaze
#ENDIF

#EXECUTE=MidCombatPriest;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
#IF=%TargetDistance,<5;
SmartSkill=1615,8000,750,False,False; <-- Hallowed Strike
#ENDIF

#EXECUTE=MidCombatPriest;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,=0;
MemWrite=%AddrFreeMem6,1,BYTE;
#ENDIF
_IFMemPtrRead=%PlayerBase,%OffsetHP,DWORD,=0;
MemWrite=%AddrFreeMem6,1,BYTE;
#ENDIF

_UNTILMemRead=%AddrFreeMem6,BYTE,=1;

end_CombatPriest;


start_MidCombatPriest;

_IFMemPtrRead=%PlayerBase,%OffsetPercentHP,BYTE,<50;
SmartSkill=1839,50,2250,False,False; <-- Healing Light
#ENDIF

#IF=%Timer=999999,7000;<-- If target got no damage after 7000 milliseconds cancel combat
_IFMemPtrRead=%TargetBase,%OffsetPercentHP,BYTE,=100;
SendKey=0x1B;
MemPtrWrite=%AddrESChwnd,%OffsetESChwnd,142,BYTE;
#ENDIF

#EXECUTE=Potion;

end_MidCombatPriest;



start_CombatTechnist;

MemWrite=%AddrFreeMem6,0,BYTE;

SmartSkill=2168,60000,750,False,False; <-- Bullet Resistance

CreateTimer=999999;

#DO=180000;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1942,24000,750,False,False; <-- Hot Shot
#ENDIF

#EXECUTE=MidCombatTechnist;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1958,16000,750,1500,False; <-- Gunshot
#ENDIF

#EXECUTE=MidCombatTechnist;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=2220,2000,750,False,False; <-- Direct Shot
#ENDIF

#EXECUTE=MidCombatTechnist;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,=0;
MemWrite=%AddrFreeMem6,1,BYTE;
#ENDIF
_IFMemPtrRead=%PlayerBase,%OffsetHP,DWORD,=0;
MemWrite=%AddrFreeMem6,1,BYTE;
#ENDIF

_UNTILMemRead=%AddrFreeMem6,BYTE,=1;

end_CombatTechnist;


start_MidCombatTechnist;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=2168,60000,750,False,False; <-- Bullet Resistance
#ENDIF

#IF=%Timer=999999,7000;<-- If target got no damage after 7000 milliseconds cancel combat
_IFMemPtrRead=%TargetBase,%OffsetPercentHP,BYTE,=100;
SendKey=0x1B;
MemPtrWrite=%AddrESChwnd,%OffsetESChwnd,142,BYTE;
#ENDIF

#EXECUTE=Potion;

end_MidCombatTechnist;



start_CombatMuse;

MemWrite=%AddrFreeMem6,0,BYTE;

CreateTimer=999999;

#DO=180000;

_IFMemPtrRead=%TargetBase,%OffsetPercentHP,BYTE,=100;
SmartSkill=4300,60000,500,False,3000; <-- Fiery Descant
#ENDIF

#EXECUTE=MidCombatMuse;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=4409,2000,1250,False,False; <-- Pulse
#ENDIF

#EXECUTE=MidCombatMuse;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=4222,12000,1250,False,False; <-- Song of Ice
#ENDIF

#EXECUTE=MidCombatMuse;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,=0;
MemWrite=%AddrFreeMem6,1,BYTE;
#ENDIF
_IFMemPtrRead=%PlayerBase,%OffsetHP,DWORD,=0;
MemWrite=%AddrFreeMem6,1,BYTE;
#ENDIF

_UNTILMemRead=%AddrFreeMem6,BYTE,=1;

end_CombatMuse;


start_MidCombatMuse;

_IFMemPtrRead=%PlayerBase,%OffsetPercentHP,BYTE,<50;
SmartSkill=4339,6000,1250,False,False; <-- Soothing Melody
#ENDIF

#IF=%Timer=999999,7000;<-- If target got no damage after 7000 milliseconds cancel combat
_IFMemPtrRead=%TargetBase,%OffsetPercentHP,BYTE,=100;
SendKey=0x1B;
MemPtrWrite=%AddrESChwnd,%OffsetESChwnd,142,BYTE;
#ENDIF

#EXECUTE=Potion;

end_MidCombatMuse;




start_StigmaGladiator;

_IFStigmaAvailable=140001103;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=696,30000,750,False,False; <-- Sure Strike // Melee // DPS // Both
#ENDIF

_IFStigmaAvailable=140001104;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=589,16000,750,False,False; <-- Spite Strike // Melee // DPS // Both
#ENDIF

#EXECUTE=MidCombatGladiator;

_IFStigmaAvailable=140001105;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=681,16000,750,1500,False; <-- Sharp Strike // Melee // DPS // Both
#ENDIF

_IFStigmaAvailable=140001106;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=617,120000,750,False,False; <-- Tendon Slice // Melee // DPS // Both
#ENDIF

#EXECUTE=MidCombatGladiator;

_IFStigmaAvailable=140001107;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=544,120000,750,2000,False; <-- Exhausting Wave // Melee // DPS // Both
#ENDIF

_IFStigmaAvailable=140001108;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=738,90000,750,False,False; <-- Severe Precision Cut // Melee // DPS // Both
#ENDIF

#EXECUTE=MidCombatGladiator;

_IFStigmaAvailable=140001109;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=582,18000,750,False,False; <-- Crippling Cut // Melee // DPS // Both
#ENDIF

_IFStigmaAvailable=140001110;
#EXECUTE=IsStumble;
_IFMemRead=%AddrFreeMem30,BYTE,=1;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=768,30000,750,False,False; <-- Draining Blow // Melee // DPS-Heal // Both
#ENDIF

#EXECUTE=MidCombatGladiator;

_IFStigmaAvailable=140001111;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=705,120000,750,False,False; <-- Earthquake Wave // Melee // DPS // Both
#ENDIF

_IFStigmaAvailable=140001115;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=507,12000,750,False,False; <-- Lockdown // Melee // DPS // Both
#ENDIF

#EXECUTE=MidCombatGladiator;

_IFStigmaAvailable=140001116;
_IFMemPtrRead=%PlayerBase,%OffsetPercentHP,BYTE,<50;
SmartSkill=570,60000,750,False,False; <-- Dauntless Spirit // - // Heal // Both
#ENDIF

_IFStigmaAvailable=140001117;
_IFMemPtrRead=%TargetBase,%OffsetPercentHP,BYTE,>85;
SmartSkill=690,300000,550,False,False; <-- Howl // - // - // Both
#ENDIF

#EXECUTE=MidCombatGladiator;

_IFStigmaAvailable=140001118;
_IFMemPtrRead=%PlayerBase,%OffsetPercentHP,BYTE,<66;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=783,60000,750,False,False; <-- Draining Sword // Melee // DPS-Heal // Both
#ENDIF

_IFStigmaAvailable=140001119;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=757,60000,750,False,False; <-- Whirling Strike // Melee // DPS // Both
#ENDIF

#EXECUTE=MidCombatGladiator;

_IFStigmaAvailable=641;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=641,90000,750,2500,False; <-- Unraveling Assault // Melee // DPS // Both
#ENDIF

_IFMemPtrRead=%PlayerBase,%OffsetData/0x10C0,CHAR[1],=D;
_IFStigmaAvailable=657;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=657,180000,750,False,False; <-- Battle Banner // - // - // Asmo
#ENDIF

#EXECUTE=MidCombatGladiator;

_IFMemPtrRead=%PlayerBase,%OffsetData/0x10C0,CHAR[1],=L;
_IFStigmaAvailable=658;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=658,180000,750,False,False; <-- Battle Banner // - // - // Elyos
#ENDIF

_IFStigmaAvailable=727;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=727,180000,750,False,3250; <-- Wind Lance // Melee // DPS // Both
#ENDIF

#EXECUTE=MidCombatGladiator;

end_StigmaGladiator;



start_StigmaTemplar;

_IFStigmaAvailable=140001122;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=2931,300000,750,False,False; <-- Prayer of Victory // - // Heal // Both
#ENDIF

_IFStigmaAvailable=140001123;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=2944,120000,950,False,False; <-- Divine Justice // Ranged // DPS // Both
#ENDIF

#EXECUTE=MidCombatTemplar;

_IFStigmaAvailable=140001124;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=2973,180000,750,False,False; <-- Punishing Wave // Melee // DPS // Both
#ENDIF

_IFStigmaAvailable=140001128;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3035,180000,750,False,False; <-- Divine Fury // - // - // Both
#ENDIF

#EXECUTE=MidCombatTemplar;

_IFStigmaAvailable=140001129;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=2966,60000,750,False,False; <-- Holy Shield // - // - // Both
#ENDIF

_IFStigmaAvailable=140001130;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3147,60000,750,False,False; <-- Punishing Thrust // Melee // DPS // Both
#ENDIF

#EXECUTE=MidCombatTemplar;

_IFStigmaAvailable=140001131;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3181,30000,750,False,False; <-- Punishment // Melee // DPS // Both
#ENDIF

_IFStigmaAvailable=140001132;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=2938,180000,750,False,False; <-- Aether Armor // - // - // Both
#ENDIF

#EXECUTE=MidCombatTemplar;

_IFStigmaAvailable=140001133;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=2960,30000,750,False,False; <-- Inquisitor's Blow // Melee // DPS // Both
#ENDIF

_IFStigmaAvailable=140001134;
_IFMemPtrRead=%PlayerBase,%OffsetPercentHP,BYTE,<66;
_IFMemPtrRead=%TargetBase,%OffsetPercentHP,BYTE,>60;
SmartSkill=2922,600000,750,False,False; <-- Empyrean Providence // - // Heal // Both
#ENDIF

#EXECUTE=MidCombatTemplar;

_IFStigmaAvailable=2919;
_IFMemPtrRead=%PlayerBase,%OffsetPercentHP,BYTE,<66;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=2919,30000,750,False,False; <-- Invigorating Strike // Melee // DPS-Heal // Both
#ENDIF

_IFStigmaAvailable=2915;
_IFMemPtrRead=%PlayerBase,%OffsetPercentHP,BYTE,<66;
_IFMemPtrRead=%TargetBase,%OffsetPercentHP,BYTE,>66;
SmartSkill=2915,180000,750,False,False; <-- Eternal Denial // - // Heal // Both
#ENDIF

#EXECUTE=MidCombatTemplar;

end_StigmaTemplar;



start_StigmaAssassin;

_IFStigmaAvailable=140001136;
_IFMemPtrRead=%TargetBase,%OffsetPercentHP,BYTE,>66;
SmartSkill=3326,180000,750,False,False; <-- Apply Lethal Venom // - // - // Both
#ENDIF

_IFStigmaAvailable=140001137;
_IFMemPtrRead=%TargetBase,%OffsetPercentHP,BYTE,>66;
SmartSkill=3254,12000,750,False,False; <-- Agony Rune // Melee // DPS // Both
#ENDIF

#EXECUTE=MidCombatAssassin;

_IFStigmaAvailable=140001138;
_IFMemPtrRead=%PlayerBase,%OffsetPercentHP,BYTE,<66;
_IFMemPtrRead=%TargetBase,%OffsetPercentHP,BYTE,>66;
SmartSkill=3319,180000,750,False,False; <-- Sensory Boost // - // - // Both
#ENDIF

_IFStigmaAvailable=140001140;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3337,180000,750,False,False; <-- Dash and Slash // Melee // DPS // Both
#ENDIF

#EXECUTE=MidCombatAssassin;

_IFStigmaAvailable=140001142;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3320,300000,750,False,False; <-- Deadly Abandon // - // - // Both
#ENDIF

_IFStigmaAvailable=140001143;
_IFMemPtrRead=%TargetBase,%OffsetPercentHP,BYTE,>66;
SmartSkill=3480,180000,750,False,False; <-- Oath of Accuracy // - // - // Both
#ENDIF

#EXECUTE=MidCombatAssassin;

_IFStigmaAvailable=140001147;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3261,180000,750,False,False; <-- Venomous Strike // Melee // DPS // Both
#ENDIF

_IFStigmaAvailable=140001149;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3269,7000,750,False,False; <-- Rune Knife // Melee // DPS // Both
#ENDIF

#EXECUTE=MidCombatAssassin;

_IFStigmaAvailable=140001151;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3248,60000,750,False,False; <-- Quickening Doom // Melee // DPS // Both
#ENDIF

_IFStigmaAvailable=3239;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3239,120000,750,False,False; <-- Fangdrop Stab // Melee // DPS // Both
#ENDIF

#EXECUTE=MidCombatAssassin;

_IFStigmaAvailable=3242;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3242,60000,750,False,False; <-- Explosive Rebranding // Melee // DPS // Both
#ENDIF

end_StigmaAssassin;




start_StigmaRanger;

_IFStigmaAvailable=140001153;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=819,24000,1150,False,False; <-- Lethal Arrow // Ranged // DPS // Both
#ENDIF

_IFStigmaAvailable=140001154;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=825,20000,750,False,False; <-- Heart Shot // Ranged // DPS // Both
#ENDIF

#EXECUTE=MidCombatRanger;

_IFStigmaAvailable=140001156;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1052,7000,750,False,False; <-- Gale Arrow // Ranged // DPS // Both
#ENDIF

_IFStigmaAvailable=140001157;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1117,18000,750,False,False; <-- Explosive Arrow // Ranged // DPS // Both
#ENDIF

#EXECUTE=MidCombatRanger;

_IFBuffAlive=813;
MemWrite=%AddrFreeMem30,1,BYTE;
#ELSE
MemWrite=%AddrFreeMem30,0,BYTE;
#ENDIF
_IFMemRead=%AddrFreeMem30,BYTE,=0;
_IFStigmaAvailable=140001159;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=813,1000,850,False,False; <-- Focused Shots // - // - // Both
#ENDIF

_IFStigmaAvailable=140001162;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=880,30000,750,False,False; <-- Dilation Arrow // Ranged // DPS // Both
#ENDIF

#EXECUTE=MidCombatRanger;

_IFMemPtrRead=%PlayerBase,%OffsetData/0x10C0,CHAR[1],=L;
_IFStigmaAvailable=140001163;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=969,120000,2250,False,False; <-- Skybound Trap // - // - // Elyos
#ENDIF

_IFMemPtrRead=%PlayerBase,%OffsetData/0x10C0,CHAR[1],=D;
_IFStigmaAvailable=140001164;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=977,120000,2250,False,False; <-- Skybound Trap // - // - // Asmo
#ENDIF

#EXECUTE=MidCombatRanger;

_IFMemPtrRead=%PlayerBase,%OffsetData/0x10C0,CHAR[1],=L;
_IFStigmaAvailable=140001165;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=985,20000,500,False,False; <-- Blazing Trap // - // - // Elyos
#ENDIF

_IFMemPtrRead=%PlayerBase,%OffsetData/0x10C0,CHAR[1],=D;
_IFStigmaAvailable=140001166;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=993,20000,500,False,False; <-- Blazing Trap // - // - // Asmo
#ENDIF

#EXECUTE=MidCombatRanger;

_IFStigmaAvailable=140001168;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1057,180000,750,False,False; <-- Bow of Blessing // - // - // Both
#ENDIF

_IFStigmaAvailable=140001171;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1134,18000,750,False,False; <-- Arrow Deluge // Ranged // DPS // Both
#ENDIF

#EXECUTE=MidCombatRanger;

_IFStigmaAvailable=140001172;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=812,24000,750,False,False; <-- Agonizing Arrow // Ranged // DPS // Both
#ENDIF

_IFStigmaAvailable=140001173;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=871,30000,750,False,False; <-- Lightning Arrow // Ranged // DPS // Both
#ENDIF

#EXECUTE=MidCombatRanger;

_IFStigmaAvailable=1006;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1006,120000,2250,False,False; <-- Ripthread Shot // Ranged // DPS // Both
#ENDIF

_IFMemPtrRead=%PlayerBase,%OffsetData/0x10C0,CHAR[1],=L;
_IFStigmaAvailable=1065;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1065,300000,500,False,False; <-- Staggering Trap // - // - // Elyos
#ENDIF

#EXECUTE=MidCombatRanger;

_IFMemPtrRead=%PlayerBase,%OffsetData/0x10C0,CHAR[1],=D;
_IFStigmaAvailable=1064;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1064,300000,500,False,False; <-- Staggering Trap // - // - // Asmo
#ENDIF

end_StigmaRanger;



start_StigmaSorcerer;

_IFStigmaAvailable=140001175;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=4604,150000,1250,False,False; <-- Arcane Thunderbolt // Ranged // DPS // Both
#ENDIF

_IFStigmaAvailable=140001176;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1356,150000,1250,False,False; <-- Summon Rock // Ranged // DPS // Both
#ENDIF

#EXECUTE=MidCombatSorcerer;

_IFStigmaAvailable=140001177;
_IFMemPtrRead=%TargetBase,%OffsetPercentHP,BYTE,>66;
SmartSkill=1525,30000,3750,False,False; <-- Flame Spray // Ranged // DPS // Both
#ENDIF

_IFStigmaAvailable=140001178;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1555,180000,750,False,False; <-- Illusion Storm // Ranged // DPS // Both
#ENDIF

#EXECUTE=MidCombatSorcerer;

_IFStigmaAvailable=140001180;
_IFMemPtrRead=%TargetBase,%OffsetPercentHP,BYTE,>66;
SmartSkill=1493,120000,4250,False,False; <-- Storm Strike // Ranged // DPS // Both
#ENDIF

_IFStigmaAvailable=140001181;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=4602,24000,1250,False,False; <-- Wind Cut Down // Ranged // DPS // Both
#ENDIF

#EXECUTE=MidCombatSorcerer;

_IFStigmaAvailable=140001186;
_IFMemPtrRead=%TargetBase,%OffsetPercentHP,BYTE,>66;
SmartSkill=1350,300000,550,False,False; <-- Boon of Quickness // - // - // Both
#ENDIF

_IFStigmaAvailable=140001187;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1183,60000,550,False,False; <-- Freeze // Ranged // DPS // Both
#ENDIF

#EXECUTE=MidCombatSorcerer;

_IFStigmaAvailable=140001189;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1383,6000,2750,False,False; <-- Ice Harpoon // Ranged // DPS // Both
#ENDIF

_IFStigmaAvailable=140001190;
_IFMemPtrRead=%PlayerBase,%OffsetPercentHP,BYTE,<20;
_MemPtrReadVar=%PlayerBase,%OffsetMaxMP,WORD,11;
_MemPtrReadVar=%PlayerBase,%OffsetMP,WORD,12;
_Calc11=%Var12/%Var11;
_Calc11=%Var11*100;
MemWrite=%AddrFreeMem12,%Var11,FLOAT;
_IFMemRead=%AddrFreeMem12,FLOAT,>60;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1327,300000,550,False,False; <-- Exchange Vitality // - // - // Both
#ENDIF

#EXECUTE=MidCombatSorcerer;

_IFStigmaAvailable=140001191;
_IFMemPtrRead=%TargetBase,%OffsetPercentHP,BYTE,>66;
#IF=%TargetDistance,<6;
SmartSkill=1307,180000,550,False,False; <-- Wintry Armor // - // - // Both
#ENDIF

_IFStigmaAvailable=140001192;
_IFMemPtrRead=%TargetBase,%OffsetPercentHP,BYTE,>66;
SmartSkill=1326,60000,4250,False,False; <-- Glacial Shard // Ranged // DPS // Both
#ENDIF

#EXECUTE=MidCombatSorcerer;

_IFStigmaAvailable=1540;
_IFMemPtrRead=%TargetBase,%OffsetPercentHP,BYTE,>66;
SmartSkill=1540,180000,550,False,False; <-- Aetherblaze // - // - // Both
#ENDIF

_IFStigmaAvailable=1420;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
_IFMemPtrRead=%PlayerBase,%OffsetPercentHP,BYTE,<33;
SmartSkill=1420,300000,550,False,False; <-- Repulsion Field // - // Heal // Both
#ENDIF

#EXECUTE=MidCombatSorcerer;

end_StigmaSorcerer;




start_StigmaSpiritmaster;

_IFStigmaAvailable=140001193;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3574,30000,1250,False,False; <-- Shackle of Vulnerability // Ranged // DPS // Both
#ENDIF

_IFStigmaAvailable=140001195;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3561,30000,1750,False,False; <-- Infernal Pain // Ranged // DPS // Both
#ENDIF

#EXECUTE=MidCombatSpiritmaster;

_IFStigmaAvailable=140001196;
_IFFrameVisible=209; spirit window
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3548,30000,1050,False,False; <-- Spirit Ruinous Offensive // Ranged // DPS // Both
#ENDIF

_IFMemPtrRead=%PlayerBase,%OffsetData/0x10C0,CHAR[1],=L;
_IFStigmaAvailable=140001197;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3807,30000,1750,False,False; <-- Summon Cyclone Servant // Ranged // DPS // Elyos
#ENDIF

#EXECUTE=MidCombatSpiritmaster;

_IFMemPtrRead=%PlayerBase,%OffsetData/0x10C0,CHAR[1],=D;
_IFStigmaAvailable=140001197;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3808,30000,1750,False,False; <-- Summon Cyclone Servant // Ranged // DPS // Asmo
#ENDIF

_IFStigmaAvailable=140001199;
_MemPtrReadVar=%TargetBase,%OffsetName,WCHAR[64],29;
Command=/select Wind Spirit;
#DO=125;
Delay=10;
#UNTIL=%TargetName,Wind Spirit;
_IFMemPtrRead=%TargetBase,%OffsetPercentHP,BYTE,<25;
SmartSkill=3590,90000,1750,False,False; <-- Healing Spirit // - // Heal // Both
Command=/select %Var29;
#ELSE
Command=/select %Var29;
#ENDIF

#EXECUTE=MidCombatSpiritmaster;

_IFStigmaAvailable=140001202;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3772,30000,550,False,3550; <-- Stone Scour // Ranged // DPS // Both
#ENDIF

_IFStigmaAvailable=140001203;
_IFFrameVisible=209; spirit window
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3836,180000,2250,False,False; <-- Spirit Burn-to-Ashes // Ranged // DPS // Both
#ENDIF

#EXECUTE=MidCombatSpiritmaster;

_IFStigmaAvailable=140001204;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3847,12000,2250,False,False; <-- Cyclone of Wrath // Ranged // DPS // Both
#ENDIF

_IFStigmaAvailable=140001205;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3581,120000,2250,False,False; <-- Withering Gloom // Ranged // DPS // Both
#ENDIF

#EXECUTE=MidCombatSpiritmaster;

_IFStigmaAvailable=140001206;
_IFFrameVisible=209; spirit window
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3531,120000,1050,False,False; <-- Spirit Wall of Protection // - // - // Both
#ENDIF

_IFStigmaAvailable=140001208;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
_MemPtrReadVar=%PlayerBase,0x30,WORD,29;
_IFMemPtrRead=%AddrFrameID[2],0x558,WORD,=%Var29; <-- if target has player as target
SmartSkill=3739,30000,550,False,False; <-- Enmity Swap // - // - // Both
#ENDIF

#EXECUTE=MidCombatSpiritmaster;

_IFStigmaAvailable=140001209;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3547,180000,1250,False,False; <-- Infernal Blight // - // - // Both
#ENDIF

_IFStigmaAvailable=140001210;
_IFFrameVisible=209; spirit window
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3796,60000,1250,False,False; <-- Armor Spirit // - // - // Both
#ENDIF

#EXECUTE=MidCombatSpiritmaster;

_IFFrameVisible=209; spirit window
MemWrite=%AddrFreeMem30,0,BYTE;
#ELSE
MemWrite=%AddrFreeMem30,1,BYTE;
#ENDIF
_IFMemRead=%AddrFreeMem30,BYTE,=1;
_IFStigmaAvailable=3541;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3541,180000,550,False,False; <-- Spirit's Empowerment // - // - // Both
#ENDIF

_IFStigmaAvailable=3549;
_IFFrameVisible=209; spirit window
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
_IFMemPtrRead=%PlayerBase,%OffsetPercentHP,BYTE,<33;
SmartSkill=3549,300000,550,False,False; <-- Command: Absorb Wounds // - // - // Both
#ENDIF

#EXECUTE=MidCombatSpiritmaster;

_IFStigmaAvailable=3849;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3849,180000,1250,False,False; <-- Blood Funnel // Ranged // DPS // Both
#ENDIF

end_StigmaSpiritmaster;



start_StigmaCleric;

_IFStigmaAvailable=140001228;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=4187,90000,1250,False,False; <-- Enfeebling Burst // Ranged // DPS // Both
#ENDIF

_IFStigmaAvailable=140001229;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=4149,180000,2250,False,False; <-- Chain of Suffering // Ranged // DPS // Both
#ENDIF

#EXECUTE=MidCombatCleric;

_IFMemPtrRead=%PlayerBase,%OffsetData/0x10C0,CHAR[1],=L;
_IFStigmaAvailable=140001230;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=4162,30000,550,False,False; <-- Summon Noble Energy // Ranged // DPS // Elyos
#ENDIF

_IFMemPtrRead=%PlayerBase,%OffsetData/0x10C0,CHAR[1],=D;
_IFStigmaAvailable=140001231;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=4163,30000,550,False,False; <-- Summon Noble Energy // Ranged // DPS // Asmo
#ENDIF

#EXECUTE=MidCombatCleric;

_IFStigmaAvailable=140001232;
_IFMemPtrRead=%PlayerBase,%OffsetPercentHP,BYTE,<66;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=4003,60000,550,False,False; <-- Splendor of Rebirth // - // Heal // Both
#ENDIF

_IFStigmaAvailable=140001233;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3997,120000,1250,False,False; <-- Ripple of Purification // - // Heal // Both
#ENDIF

#EXECUTE=MidCombatCleric;

_IFMemPtrRead=%PlayerBase,%OffsetData/0x10C0,CHAR[1],=L;
_IFStigmaAvailable=140001234;
_IFMemPtrRead=%PlayerBase,%OffsetPercentHP,BYTE,<85;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3990,60000,1250,False,False; <-- Summon Healing Servant // - // Heal // Elyos
#ENDIF

_IFMemPtrRead=%PlayerBase,%OffsetData/0x10C0,CHAR[1],=D;
_IFStigmaAvailable=140001235;
_IFMemPtrRead=%PlayerBase,%OffsetPercentHP,BYTE,<85;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3991,60000,1250,False,False; <-- Summon Healing Servant // - // Heal // Asmo
#ENDIF

#EXECUTE=MidCombatCleric;

_IFStigmaAvailable=140001236;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3931,120000,550,False,False; <-- Saving Grace // - // Heal // Both
#ENDIF

_IFSkillActive=3902;
MemWrite=%AddrFreeMem29,1,BYTE;
#ELSE
MemWrite=%AddrFreeMem29,0,BYTE;
#ENDIF
_IFStigmaAvailable=140001237;
_IFMemRead=%AddrFreeMem29,BYTE,=0;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3902,10000,550,False,False; <-- Sacrificial Power // - // - // Both
#ENDIF

#EXECUTE=MidCombatCleric;

_IFStigmaAvailable=140001238;
_IFMemPtrRead=%PlayerBase,%OffsetPercentHP,BYTE,<66;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3960,10000,2250,False,False; <-- Binding Light // - // Heal // Both
#ENDIF

_IFStigmaAvailable=140001240;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=4143,30000,550,False,False; <-- Retribution Lightning // Ranged // DPS // Both
#ENDIF

#EXECUTE=MidCombatCleric;

_IFStigmaAvailable=140001242;
_IFMemPtrRead=%PlayerBase,%OffsetPercentHP,BYTE,>75;
_MemPtrReadVar=%PlayerBase,%OffsetMaxMP,WORD,11;
_MemPtrReadVar=%PlayerBase,%OffsetMP,WORD,12;
_Calc11=%Var12/%Var11;
_Calc11=%Var11*100;
MemWrite=%AddrFreeMem12,%Var11,FLOAT;
_IFMemRead=%AddrFreeMem12,FLOAT,10-20;
SmartSkill=3904,600000,550,False,False; <-- Reverse Condition // - // Heal // Both
#ENDIF

_IFStigmaAvailable=140001243;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=4134,60000,550,False,False; <-- Festering Wound // Ranged // DPS // Both
#ENDIF

#EXECUTE=MidCombatCleric;

_IFStigmaAvailable=140001244;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=4192,180000,550,False,False; <-- Noble Grace // - // - // Both
#ENDIF

_IFStigmaAvailable=140001245;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=4166,60000,3250,False,False; <-- Call Lightning // Ranged // DPS // Both
#ENDIF

#EXECUTE=MidCombatCleric;

_IFSkillActive=3902;
MemWrite=%AddrFreeMem29,1,BYTE;
#ELSE
MemWrite=%AddrFreeMem29,0,BYTE;
#ENDIF
_IFSkillActive=3905;
MemWrite=%AddrFreeMem28,1,BYTE;
#ELSE
MemWrite=%AddrFreeMem28,0,BYTE;
#ENDIF
_IFStigmaAvailable=140001245;
_IFMemRead=%AddrFreeMem28,BYTE,=0;
_IFMemRead=%AddrFreeMem29,BYTE,=0;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3905,1000,550,False,False; <-- Benevolence // - // - // Both
#ENDIF

_IFStigmaAvailable=3932;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=3932,180000,550,False,False; <-- Restoration Relief // - // Heal // Both
#ENDIF

#EXECUTE=MidCombatCleric;

end_StigmaCleric;



start_StigmaChanter;

_IFBuffAlive=1756;
MemWrite=%AddrFreeMem30,1,BYTE;
#ELSE
MemWrite=%AddrFreeMem30,0,BYTE;
#ENDIF
_IFMemRead=%AddrFreeMem30,BYTE,=0;
_IFStigmaAvailable=140001211;
SmartSkill=1756,500,550,False,False; <-- Blessing of Stone // - // - // Both
#ENDIF

_IFStigmaAvailable=140001212;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
_IFMemPtrRead=%PlayerBase,%OffsetPercentHP,BYTE,<50;
SmartSkill=1857,10000,2250,False,False; <-- Healing Burst // - // Heal // Both
#ENDIF

#EXECUTE=MidCombatChanter;

_IFStigmaAvailable=140001213;
_SetVar30=1907;
#EXECUTE=IsStigmaAvailable;
_IFMemRead=%AddrFreeMem30,BYTE,=0;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1755,14500,550,False,False; <-- Word of Protection // - // - // Both
#ENDIF

_IFStigmaAvailable=140001214;
_IFMemPtrRead=%TargetBase,%OffsetPercentHP,BYTE,>66;
SmartSkill=1656,180000,550,False,False; <-- Blessing of Wind // - // - // Both
#ENDIF

#EXECUTE=MidCombatChanter;

_IFStigmaAvailable=140001215;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1868,60000,550,False,False; <-- Disorienting Blow // Melee // DPS // Both
#ENDIF

_IFStigmaAvailable=140001216;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1874,30000,750,False,False; <-- Mountain Crash // Ranged // DPS // Both
#ENDIF

#EXECUTE=MidCombatChanter;

_IFStigmaAvailable=140001213;
MemWrite=%AddrFreeMem29,1,BYTE;
#ELSE
MemWrite=%AddrFreeMem29,0,BYTE;
#ENDIF
_IFStigmaAvailable=1907;
MemWrite=%AddrFreeMem28,1,BYTE;
#ELSE
MemWrite=%AddrFreeMem28,0,BYTE;
#ENDIF
_IFStigmaAvailable=140001217;
_IFMemRead=%AddrFreeMem29,BYTE,=0;
_IFMemRead=%AddrFreeMem28,BYTE,=0;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1579,14500,550,False,False; <-- Word of Inspiration // - // - // Both
#ENDIF

_IFStigmaAvailable=140001218;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1647,60000,550,1500,False; <-- Annihilation // Melee // DPS // Both
#ENDIF

#EXECUTE=MidCombatChanter;

_IFStigmaAvailable=140001219;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1734,60000,550,False,False; <-- Word of Life // - // Heal // Both
#ENDIF

_IFStigmaAvailable=140001220;
#EXECUTE=IsCC;
_IFMemRead=%AddrFreeMem30,BYTE,=1;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1767,30000,550,False,False; <-- Soul Lock // Ranged // DPS // Both
#ENDIF

#EXECUTE=MidCombatChanter;

_IFStigmaAvailable=140001223;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=4629,30000,550,False,3250; <-- Leaping Flash // Melee // DPS // Both
#ENDIF

_IFStigmaAvailable=140001224;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=4638,120000,550,False,False; <-- Healing Conduit // - // Heal // Both
#ENDIF

#EXECUTE=MidCombatChanter;

_IFStigmaAvailable=140001226;
_IFMemPtrRead=%PlayerBase,%OffsetPercentHP,BYTE,<40;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1834,180000,550,False,False; <-- Elemental Screen // - // - // Both
#ENDIF

_IFStigmaAvailable=140001227;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1837,40000,550,False,False; <-- Numbing Blow // Melee // DPS // Both
#ENDIF

#EXECUTE=MidCombatChanter;

_IFStigmaAvailable=1907;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=,60000,550,False,False; <-- Word of Instigation // - // - // Both
#ENDIF

_IFStigmaAvailable=1901;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=1901,120000,550,False,False; <-- Resonant Strike // Melee // DPS // Both
#ENDIF

#EXECUTE=MidCombatChanter;

end_StigmaChanter;





start_StigmaGunslinger;

_IFStigmaAvailable=140001247;
#IF=%Timer=1981,30000;
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2800; <-- base atkspeed equals cannon
SendAction=3,4; <-- switch weapon
#ENDIF
_IFStigmaAvailable=140001247;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2250;
SmartSkill=1981,30000,550,False,False; <-- Hemorrhage Shot // Ranged // DPS // Both
#ENDIF

_IFStigmaAvailable=140001248;
#IF=%Timer=2052,30000;
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2800; <-- base atkspeed equals cannon
SendAction=3,4; <-- switch weapon
#ENDIF
_IFStigmaAvailable=140001248;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2250;
SmartSkill=2052,30000,550,False,False; <-- Pressurized Chamber // - // - // Both
#ENDIF

#EXECUTE=MidCombatGunslinger;

_IFStigmaAvailable=140001250;
#IF=%Timer=1975,30000;
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2250; <-- base atkspeed equals gun
SendAction=3,4; <-- switch weapon
#ENDIF
_IFStigmaAvailable=140001250;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2800;
SmartSkill=1975,30000,550,False,False; <-- Juggernaut Cannon // Ranged // DPS // Both
#ENDIF

_IFStigmaAvailable=140001251;
#IF=%Timer=2114,120000;
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2250; <-- base atkspeed equals gun
SendAction=3,4; <-- switch weapon
#ENDIF
_IFStigmaAvailable=140001251;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2800;
SmartSkill=2114,120000,550,False,False; <-- Paralysis Cannon // Ranged // DPS // Both
#ENDIF

#EXECUTE=MidCombatGunslinger;

_IFStigmaAvailable=140001252;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=2046,60000,550,False,False; <-- Stopping Power // - // - // Both
#ENDIF

_IFStigmaAvailable=140001253;
#IF=%Timer=2123,30000;
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2800;
SendAction=3,4;
#ENDIF
_IFStigmaAvailable=140001253;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2250;
SmartSkill=2123,30000,550,3000,False; <-- Steady Fire // Ranged // DPS // Both
#ENDIF

#EXECUTE=MidCombatGunslinger;

_IFStigmaAvailable=140001255;
#IF=%Timer=2105,16000;
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2250; <-- base atkspeed equals gun
SendAction=3,4; <-- switch weapon
#ENDIF
_IFStigmaAvailable=140001255;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2800;
SmartSkill=2105,16000,550,False,False; <-- Frozen Blitz // Ranged // DPS // Both
#ENDIF

_IFStigmaAvailable=140001256;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=2273,60000,550,False,False; <-- Sighting // - // - // Both
#ENDIF

#EXECUTE=MidCombatGunslinger;

_IFStigmaAvailable=140001257;
#IF=%Timer=2367,30000;
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2800; <-- base atkspeed equals cannon
SendAction=3,4; <-- switch weapon
#ENDIF
_IFStigmaAvailable=140001257;
_IFMemPtrRead=%PlayerBase,%OffsetPercentHP,BYTE,<75;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2250;
SmartSkill=2367,30000,550,False,False; <-- Power Grab // - // DPS-Heal // Both
#ENDIF

_IFStigmaAvailable=140001258;
#IF=%Timer=2090,30000;
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2250; <-- base atkspeed equals gun
SendAction=3,4; <-- switch weapon
#ENDIF
_IFStigmaAvailable=140001258;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2800;
SmartSkill=2090,30000,550,False,3550; <-- Fiery Blast // Ranged // DPS // Both
#ENDIF

#EXECUTE=MidCombatGunslinger;

_IFStigmaAvailable=140001259;
#IF=%Timer=2253,40000;
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2250; <-- base atkspeed equals gun
SendAction=3,4; <-- switch weapon
#ENDIF
_IFStigmaAvailable=140001259;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2800;
SmartSkill=2253,40000,550,False,3550; <-- Shock and Awe // Ranged // DPS // Both
#ENDIF

_IFStigmaAvailable=140001260;
#IF=%Timer=2295,120000;
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2250; <-- base atkspeed equals gun
SendAction=3,4; <-- switch weapon
#ENDIF
_IFStigmaAvailable=140001260;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2800;
SmartSkill=2295,120000,550,False,4250; <-- Missile Guide // Ranged // DPS // Both
#ENDIF

#EXECUTE=MidCombatGunslinger;

_IFStigmaAvailable=140001261;
#IF=%Timer=2319,24000;
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2250; <-- base atkspeed equals gun
SendAction=3,4; <-- switch weapon
#ENDIF
_IFStigmaAvailable=140001261;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2800;
SmartSkill=2319,24000,550,False,3550; <-- Blazing Bombardment // Ranged // DPS // Both
#ENDIF

_IFStigmaAvailable=140001262;
#IF=%Timer=2068,40000;
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2800; <-- base atkspeed equals cannon
SendAction=3,4; <-- switch weapon
#ENDIF
_IFStigmaAvailable=140001262;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2250;
SmartSkill=2068,40000,550,False,False; <-- Dazzling Fire // Ranged // DPS // Both
#ENDIF

#EXECUTE=MidCombatGunslinger;

_IFStigmaAvailable=140001263;
#IF=%Timer=2201,24000;
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2250; <-- base atkspeed equals gun
SendAction=3,4; <-- switch weapon
#ENDIF
_IFStigmaAvailable=140001263;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2800;
SmartSkill=2201,24000,550,False,3550; <-- Shellshock // Ranged // DPS // Both
#ENDIF

_IFStigmaAvailable=2368;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=2368,180000,550,False,False; <-- Pursuit Stance // - // - // Both
#ENDIF

#EXECUTE=MidCombatGunslinger;

_IFStigmaAvailable=2377;
#IF=%Timer=2377,120000;
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2250; <-- base atkspeed equals gun
SendAction=3,4; <-- switch weapon
#ENDIF
_IFStigmaAvailable=2377;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2800;
SmartSkill=2377,120000,550,False,4250; <-- Sequential Fire // Ranged // DPS // Both
#ENDIF

_IFStigmaAvailable=2380;
#IF=%Timer=2380,120000;
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2800; <-- base atkspeed equals cannon
SendAction=3,4; <-- switch weapon
#ENDIF
_IFStigmaAvailable=2380;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
_IFMemPtrRead=%PlayerBase,%OffsetData/0x534,WORD,=2250;
SmartSkill=2380,120000,550,1500,False; <-- Pulverizer Cannon // Ranged // DPS // Both
#ENDIF

#EXECUTE=MidCombatGunslinger;

end_StigmaGunslinger;





start_StigmaSongweaver;

_IFStigmaAvailable=140001282;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=4529,60000,1250,False,False; <-- Paean of Pain // Ranged // DPS // Both
#ENDIF

_IFStigmaAvailable=140001284;
MemWrite=%AddrFreeMem29,1,BYTE;
#ELSE
MemWrite=%AddrFreeMem29,0,BYTE;
#ENDIF
_IFSkillActive=4589;
MemWrite=%AddrFreeMem28,1,BYTE;
#ELSE
MemWrite=%AddrFreeMem28,0,BYTE;
#ENDIF
_IFStigmaAvailable=140001283;
_IFMemRead=%AddrFreeMem29,BYTE,=0;
_IFMemRead=%AddrFreeMem28,BYTE,=0;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=4589,12000,550,False,False; <-- Exultation // - // - // Both
#ENDIF

#EXECUTE=MidCombatSongweaver;

_IFSkillActive=4590;
MemWrite=%AddrFreeMem29,1,BYTE;
#ELSE
MemWrite=%AddrFreeMem29,0,BYTE;
#ENDIF
_IFStigmaAvailable=140001284;
_IFMemRead=%AddrFreeMem29,BYTE,=0;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=4590,12000,550,False,False; <-- Impassion // - // - // Both
#ENDIF

_IFStigmaAvailable=140001285;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
_IFMemPtrRead=%PlayerBase,%OffsetPercentHP,BYTE,<45;
SmartSkill=4518,3000,550,False,3550; <-- Soothing Hymn // - // Heal // Both
#ENDIF

#EXECUTE=MidCombatSongweaver;

_IFStigmaAvailable=140001286;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
_IFMemPtrRead=%PlayerBase,%OffsetPercentHP,BYTE,<70;
SmartSkill=4367,24000,550,False,False; <-- Joyous Carol // - // Heal // Both
#ENDIF

_IFStigmaAvailable=140001288;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=4550,30000,550,False,False; <-- Stinging Note // Ranged // DPS // Both
#ENDIF

#EXECUTE=MidCombatSongweaver;

_IFStigmaAvailable=140001289;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
_IFMemPtrRead=%PlayerBase,%OffsetPercentHP,BYTE,<75;
SmartSkill=4537,60000,550,False,False; <-- Hymn of Rejuvenation // - // Heal // Both
#ENDIF

_IFStigmaAvailable=140001291;
_MemPtrReadVar=%TargetBase,%OffsetData/0x30,WORD,29;
_IFMemPtrRead=%AddrFrameID[20],0x710,WORD,=%Var29;
_IFMemPtrRead=%AddrFrameID[20],0x758,DWORD,>0; has buffs
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=4542,30000,550,False,False; <-- Half-Stop // - // - // Both
#ENDIF

#EXECUTE=MidCombatSongweaver;

_IFStigmaAvailable=140001294;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
_MemPtrReadVar=%PlayerBase,%OffsetMaxMP,WORD,11;
_MemPtrReadVar=%PlayerBase,%OffsetMP,WORD,12;
_Calc11=%Var12/%Var11;
_Calc11=%Var11*100;
MemWrite=%AddrFreeMem12,%Var11,FLOAT;
_IFMemRead=%AddrFreeMem12,FLOAT,<20;
SmartSkill=4391,60000,550,False,False; <-- Resonant Hymn // - // - // Both
#ENDIF

_IFStigmaAvailable=140001295;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=4579,60000,550,False,False; <-- Combustible Cacophony // Ranged // DPS // Both
#ENDIF

#EXECUTE=MidCombatSongweaver;

_IFStigmaAvailable=140001296;
_IFMemPtrRead=%TargetBase,%OffsetPercentHP,BYTE,>66;
SmartSkill=4489,60000,550,False,False; <-- Treble Cleave // Ranged // DPS // Both
#ENDIF

_IFStigmaAvailable=140001297;
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
_IFMemPtrRead=%PlayerBase,%OffsetPercentHP,BYTE,<75;
SmartSkill=4486,60000,550,False,False; <-- Chorus of Blessing // - // Heal // Both
#ENDIF

#EXECUTE=MidCombatSongweaver;

_IFStigmaAvailable=4483;
_IFMemPtrRead=%AddrFrameID[168],0x75C,DWORD,>0; has debuffs
_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;
SmartSkill=4483,30000,550,False,False; <-- Purging Paean // - // - // Both
#ENDIF

_IFStigmaAvailable=4474;
_IFMemPtrRead=%TargetBase,%OffsetPercentHP,BYTE,>66;
SmartSkill=4474,60000,3550,False,False; <-- Blazing Requiem // Ranged // DPS // Both
#ENDIF

#EXECUTE=MidCombatSongweaver;

end_StigmaSongweaver;









start_IsCC;

MemWrite=%AddrFreeMem29,0,BYTE;

#EXECUTE=IsStun;
_IFMemRead=%AddrFreeMem30,BYTE,=1;
MemWrite=%AddrFreeMem29,1,BYTE;
#ENDIF

#EXECUTE=IsAerial;
_IFMemRead=%AddrFreeMem30,BYTE,=1;
MemWrite=%AddrFreeMem29,1,BYTE;
#ENDIF

#EXECUTE=IsStumble;
_IFMemRead=%AddrFreeMem30,BYTE,=1;
MemWrite=%AddrFreeMem29,1,BYTE;
#ENDIF

_IFMemRead=%AddrFreeMem29,BYTE,=1;
MemWrite=%AddrFreeMem30,1,BYTE;
#ENDIF

end_IsCC;





start_IsAerial; <-- debuff IDs need to be updated

MemWrite=%AddrFreeMem30,0,BYTE;

_IFTargetDebuffAlive=8218;
MemWrite=%AddrFreeMem30,1,BYTE;
#ENDIF

_IFTargetDebuffAlive=8219;
MemWrite=%AddrFreeMem30,1,BYTE;
#ENDIF

_IFTargetDebuffAlive=8676;
MemWrite=%AddrFreeMem30,1,BYTE;
#ENDIF

_IFTargetDebuffAlive=8635;
MemWrite=%AddrFreeMem30,1,BYTE;
#ENDIF

_IFTargetDebuffAlive=8636;
MemWrite=%AddrFreeMem30,1,BYTE;
#ENDIF

_IFTargetDebuffAlive=8637;
MemWrite=%AddrFreeMem30,1,BYTE;
#ENDIF

end_IsAerial;




start_IsStun; <-- debuff IDs need to be updated

MemWrite=%AddrFreeMem30,0,BYTE;

_IFTargetDebuffAlive=8218;
MemWrite=%AddrFreeMem30,1,BYTE;
#ENDIF

_IFTargetDebuffAlive=8219;
MemWrite=%AddrFreeMem30,1,BYTE;
#ENDIF

_IFTargetDebuffAlive=8676;
MemWrite=%AddrFreeMem30,1,BYTE;
#ENDIF

_IFTargetDebuffAlive=8635;
MemWrite=%AddrFreeMem30,1,BYTE;
#ENDIF

_IFTargetDebuffAlive=8636;
MemWrite=%AddrFreeMem30,1,BYTE;
#ENDIF

_IFTargetDebuffAlive=8637;
MemWrite=%AddrFreeMem30,1,BYTE;
#ENDIF

end_IsStun;




start_IsStumble; <-- debuff IDs need to be updated

MemWrite=%AddrFreeMem30,0,BYTE;

_IFTargetDebuffAlive=8218;
MemWrite=%AddrFreeMem30,1,BYTE;
#ENDIF

_IFTargetDebuffAlive=8219;
MemWrite=%AddrFreeMem30,1,BYTE;
#ENDIF

_IFTargetDebuffAlive=8676;
MemWrite=%AddrFreeMem30,1,BYTE;
#ENDIF

_IFTargetDebuffAlive=8635;
MemWrite=%AddrFreeMem30,1,BYTE;
#ENDIF

_IFTargetDebuffAlive=8636;
MemWrite=%AddrFreeMem30,1,BYTE;
#ENDIF

_IFTargetDebuffAlive=8637;
MemWrite=%AddrFreeMem30,1,BYTE;
#ENDIF

end_IsStumble;


start_Potion;

_IFMemRead=%AddrFreeMem4,BYTE,=1;
MemPtrWrite=%PlayerBase,%OffsetAnim,300,WORD; <-- Activate NoAnim
#ENDIF


_MemPtrReadVar=%PlayerBase,%OffsetMaxMP,WORD,11; <-- saves max MP in %Var11
_MemPtrReadVar=%PlayerBase,%OffsetMP,WORD,12; <-- saves current MP in %Var12
_Calc11=%Var12/%Var11; <-- divides %Var12 trough %Var11 and saves the result in %Var11
_Calc11=%Var11*100; <-- multiplies %Var11 with 100 and saves the result in %Var11
MemWrite=%AddrFreeMem12,%Var11,FLOAT; <-- writes current mana percent value in %AddrFreeMem12
MemWrite=%AddrFreeMem10,%Var3,WCHAR[1];

_IFMemRead=%AddrFreeMem10,BYTE,65-122;
_IFMemRead=%AddrFreeMem12,FLOAT,<50; <-- If mana below 50%
#IF=%Timer=162000124,30000;
Command=/Use %Var3;
CreateTimer=162000124;
#ENDIF


_IFMemRead=%AddrFreeMem10,BYTE,65-122;
_IFMemPtrRead=%PlayerBase,%OffsetPercentHP,BYTE,<40;
#IF=%Timer=162000124,30000;
Command=/Use %Var3;
CreateTimer=162000124;
#ENDIF

end_Potion;
Doesnot work too

Tried it and just work for the first mob killed, after it it take tooooooooooo longggggggggggg (3 minutes) to back follow my main...

and it atack so sloweerrr at the first mob (when it is almost killed he start attack)

well, if you canot do a stable script maybe do you have an script for cleric or chanter support my main while im cleaning the room?

do you have an script to do the weekly plus dayle quest?


kk.k is offline  
Old 08/15/2018, 10:26   #2013
 
elite*gold: 77
Join Date: Sep 2009
Posts: 4,741
Received Thanks: 1,408
Quote:
Originally Posted by kk.k View Post
Doesnot work too

Tried it and just work for the first mob killed, after it it take tooooooooooo longggggggggggg (3 minutes) to back follow my main...

and it atack so sloweerrr at the first mob (when it is almost killed he start attack)

well, if you canot do a stable script maybe do you have an script for cleric or chanter support my main while im cleaning the room?

do you have an script to do the weekly plus dayle quest?
Paraly is offline  
Old 08/19/2018, 06:30   #2014
 
elite*gold: 0
Join Date: Jul 2009
Posts: 28
Received Thanks: 3
Hi

Paraly,

I'm still having issues with the weekly LUNA scrit,

I put to do in 8 character but he ends up picking up the quest item in 3 or 4 character, the others he uses the entry but does not collect the item ...

some help?


kk.k is offline  
Old 08/19/2018, 10:37   #2015
 
elite*gold: 77
Join Date: Sep 2009
Posts: 4,741
Received Thanks: 1,408
Quote:
Originally Posted by kk.k View Post
Hi

Paraly,

I'm still having issues with the weekly LUNA scrit,

I put to do in 8 character but he ends up picking up the quest item in 3 or 4 character, the others he uses the entry but does not collect the item ...

some help?
Did you use the latest version 1.31 of the luna script?
Paraly is offline  
Old 08/19/2018, 16:42   #2016
 
elite*gold: 0
Join Date: Jul 2009
Posts: 28
Received Thanks: 3
Quote:
Originally Posted by Paraly View Post
Did you use the latest version 1.31 of the luna script?
had not seen that there was a new version, but in the other version this problem exists?
kk.k is offline  
Old 08/24/2018, 18:10   #2017
 
elite*gold: 0
Join Date: Oct 2016
Posts: 108
Received Thanks: 2
I dont know if anyone has noticed, but in the Starter Classes script, you must choose option 1 (AT) if you want to be a gunner!
nickjaspion is offline  
Old 08/25/2018, 00:16   #2018
 
elite*gold: 0
Join Date: Apr 2013
Posts: 93
Received Thanks: 13
@

is there any code that i can use to check if a character is a Mentor or not?

Im planning to use on something like this:
Code:
IF Mentor
#EXECUTE=something;
#ELSE
#EXECUTE=something;
#ENDIF
xndinlove is offline  
Old 08/25/2018, 05:33   #2019
 
elite*gold: 77
Join Date: Sep 2009
Posts: 4,741
Received Thanks: 1,408
Quote:
Originally Posted by xndinlove View Post
@

is there any code that i can use to check if a character is a Mentor or not?

Im planning to use on something like this:
Code:
IF Mentor
#EXECUTE=something;
#ELSE
#EXECUTE=something;
#ENDIF
Code:
_IFMemPtrRead=%AddrFrameID[21],0x514,WORD,=57410;
WaitForResponse=Is Mentor;
#ELSE
WaitForResponse=Is not Mentor;
#ENDIF
Paraly is offline  
Thanks
1 User
Old 08/29/2018, 20:49   #2020
 
elite*gold: 0
Join Date: Nov 2007
Posts: 73
Received Thanks: 20
Hi Paraly, are there any plans for a script for the new Alchemy event?.
thekiller258 is offline  
Old 08/30/2018, 06:46   #2021
 
elite*gold: 0
Join Date: Jul 2010
Posts: 313
Received Thanks: 54
Quote:
Originally Posted by thekiller258 View Post
Hi Paraly, are there any plans for a script for the new Alchemy event?.
This is a rather "simple" one, it is similar to snowballs event, but I made mine, if you are an asmodian in NA, this would work (no elyos and no EU in general, it is for my chars)

It also has a few securities like check if we got the pouch, sometimes the DialogClick=select1; for example bugs the NPC dialog so I have this check and if it bugs you have to manually get the quest and click ok in the WaitForResponse window, the script will continue.

Also it checks if there is a key (copper/gold) in the inventory ten times because sometimes he selects a box and tries to open it BUT another person is opening it before us, thus he won't use his key, so as long as he has a key he will keep trying to open a chest for 10 times.

The script below is meant for a highly pinged connection (like mine), it will do it with the Norsvold npcs and also my chars are all bound there so it uses the "return" skill, you could change this and make it use the norsvold scroll instead.

Paraly will prollly make a global one both functions and servers EU/NA

But here is mine

Code:
#IF=%FirstTime,;

DelayGlobal=1.4;
UseSpeedGlobal=1.4;

#SmoothBackground
MemPtrWrite=%AddrFPS,%OffsetFPS1,24,BYTE;
MemPtrWrite=%AddrFPS,%OffsetFPS2,24,FLOAT;
UseSpeed=1;
#UseLoop
#SetVar10=How much characters you have?;

_SetVar11=0;
Command=;

_Calc15=%Var10*14;
_Calc15=%Var15+3;

#ENDIF


_IFMemPtrRead=%PlayerBase,%OffsetLevel,BYTE,>29;
SendAction=3,2; jumps to get out of hide mode
Delay=1000;
_MemPtrReadVar=%PlayerBase,%OffsetName,WCHAR[32],20; <-- saves the playername in %Var20
#EXECUTE=AlchemyEvent;
#ENDIF


_Calc11=%Var11+1;
MemWrite=%AddrFreeMem3,%Var11,BYTE;
_IFMemRead=%AddrFreeMem3,BYTE,=%Var10;

#UseNoLoop
#EndScript
#ENDIF

MemWrite=%AddrFreeMem1,%Var10,BYTE;

_IFMemRead=%AddrFreeMem1,BYTE,>1;
#EXECUTE=ChangeCharacter;
#ELSE
WaitForResponse=%Var20 finished Alchemy script;
#UseNoLoop
#EndScript
#ENDIF


start_AlchemyEvent;

_IFMemRead=%AddrMap,DWORD,=220110000; <- Norsvold
#ELSE
Command=/skill Return;
Delay=6000;
#DO=30000; <--wait until we are in Norsvold Obelisk
Command=/select Eli;
Delay=500;
#UNTIL=%TargetName,Eli; <--we see the npc
Delay=1000;
FlySmooth=1805.488,1951.127,199.197; Go near the Alchemist
FlySmooth=1805.488,1951.127,199.197;
Delay=1000;
Command=/select Suspicious Alchemist;
#ENDIF

Delay=500;
Command=/select Suspicious Alchemist;
Delay=1000;

#IF=%TargetName,Suspicious Alchemist;
#DO=20000;
FlySmooth=1805.488,1951.127,199.197;
FlySmooth=1805.488,1951.127,199.197;
Delay=1000;
Command=/select Suspicious Alchemist;
#UNTIL=%Position,1805.488/1951.127/199.197;

#ELSE
Command=/skill Return;
Delay=6000;
#DO=30000; <--wait until we are in Norsvold Obelisk
Command=/select Eli;
Delay=500;
#UNTIL=%TargetName,Eli; <--we see the npc
FlySmooth=1805.488,1951.127,199.197;
FlySmooth=1805.488,1951.127,199.197;
Delay=1000;
Command=/select Suspicious Alchemist;
#ENDIF

Delay=500;
Command=/attack; open dialog
Delay=100;
Command=/attack; open dialog
Delay=2000;

DialogClick=QuestSelect80344; Alchemist's Gift
Delay=1000;
DialogClick=select1;
Delay=1000;
Mouse=194,391; Accept
Delay=1000;
DialogClick=select1;
Delay=1000;
Mouse=194,391; OK
Delay=1000;


_IFInventoryContains=188052640,1; Event Key pouch
#ELSE
WaitForResponse=%Var20 has no pouches;
#ENDIF

UseID=188052640;
Delay=7000;


_IFInventoryContains=185000186,1; copper key
#EXECUTE=SmallChest;
#ENDIF
_IFInventoryContains=185000186,1; copper key
#EXECUTE=SmallChest;
#ENDIF
_IFInventoryContains=185000186,1; copper key
#EXECUTE=SmallChest;
#ENDIF
_IFInventoryContains=185000186,1; copper key
#EXECUTE=SmallChest;
#ENDIF
_IFInventoryContains=185000186,1; copper key
#EXECUTE=SmallChest;
#ENDIF
_IFInventoryContains=185000186,1; copper key
#EXECUTE=SmallChest;
#ENDIF
_IFInventoryContains=185000186,1; copper key
#EXECUTE=SmallChest;
#ENDIF
_IFInventoryContains=185000186,1; copper key
#EXECUTE=SmallChest;
#ENDIF
_IFInventoryContains=185000186,1; copper key
#EXECUTE=SmallChest;
#ENDIF


_IFInventoryContains=185000185,1; gold key
#EXECUTE=BigChest;
#ENDIF
_IFInventoryContains=185000185,1; gold key
#EXECUTE=BigChest;
#ENDIF
_IFInventoryContains=185000185,1; gold key
#EXECUTE=BigChest;
#ENDIF
_IFInventoryContains=185000185,1; gold key
#EXECUTE=BigChest;
#ENDIF
_IFInventoryContains=185000185,1; gold key
#EXECUTE=BigChest;
#ENDIF
_IFInventoryContains=185000185,1; gold key
#EXECUTE=BigChest;
#ENDIF
_IFInventoryContains=185000185,1; gold key
#EXECUTE=BigChest;
#ENDIF
_IFInventoryContains=185000185,1; gold key
#EXECUTE=BigChest;
#ENDIF
_IFInventoryContains=185000185,1; gold key
#EXECUTE=BigChest;
#ENDIF
_IFInventoryContains=185000185,1; gold key
#EXECUTE=BigChest;
#ENDIF

Delay=1500;


end_AlchemyEvent;


start_SmallChest;

Command=/select common treasure box;
Delay=700;
Command=/attack;
Delay=5000;
SendKey=0x43;
Delay=500;
SendKey=0x43;
Delay=500;
SendKey=0x43;
Delay=500;
SendKey=0x43;
Delay=500;
SendKey=0x43;
Delay=500;
SendKey=0x43;
Delay=500;
SendKey=0x43;
Delay=500;

end_Smallchest;


start_BigChest;

Command=/select premium treasure box;
Delay=700;
Command=/attack;
Delay=5000;
SendKey=0x43;
Delay=500;
SendKey=0x43;
Delay=500;
SendKey=0x43;
Delay=500;
SendKey=0x43;
Delay=500;
SendKey=0x43;
Delay=500;
SendKey=0x43;
Delay=500;
SendKey=0x43;
Delay=500;

end_BigChest;

start_ChangeCharacter; --------------------------------------------------------------------------

Command=/logout;
Delay=25000;
#EXECUTE=SelectSlot;
Delay=1500;
Mouse=400,571; <-- Start
Delay=20000;

end_ChangeCharacter;



start_SelectSlot; ------------------------------------------------------------------------------

MemWrite=%AddrFreeMem1,%Var10,BYTE;

_IFMemRead=%AddrFreeMem1,BYTE,=2;
Mouse=675,200;
#ENDIF

_IFMemRead=%AddrFreeMem1,BYTE,=3;
Mouse=675,241;
#ENDIF

_IFMemRead=%AddrFreeMem1,BYTE,=4;
Mouse=675,276;
#ENDIF

_IFMemRead=%AddrFreeMem1,BYTE,=5;
Mouse=675,313;
#ENDIF

_IFMemRead=%AddrFreeMem1,BYTE,=6;
Mouse=675,357;
#ENDIF

_IFMemRead=%AddrFreeMem1,BYTE,=7;
Mouse=675,397;
#ENDIF

_IFMemRead=%AddrFreeMem1,BYTE,=8;
Mouse=675,436;
#ENDIF

end_SelectSlot;



start_AntiAFK; ---------------------------------------------------------------------------------

#DO=100000000;
Command=/skill %Var9; 412
Delay=30000;
#UNTIL=%TargetName,---;

end_AntiAFK;
ATTENTION: there are TWO npcs with the same name next to each other, (the alchemist I mean), you HAVE to be near the right one for the Command=/select Suspicious Alchemist to work with the correct npc, otherwise the command might use the wrong npc and there is no Q there.

I think this is a lame way for NCSoft to trick bots, wtf!
Diavolakos is offline  
Thanks
2 Users
Old 08/30/2018, 19:38   #2022
 
elite*gold: 0
Join Date: Jan 2008
Posts: 408
Received Thanks: 75
Quote:
Originally Posted by Diavolakos View Post
ATTENTION: there are TWO npcs with the same name next to each other, (the alchemist I mean), you HAVE to be near the right one for the Command=/select Suspicious Alchemist to work with the correct npc, otherwise the command might use the wrong npc and there is no Q there.

I think this is a lame way for NCSoft to trick bots, wtf!
You can always use this

This is the asmo Norsvold Version

Code:
MemWrite=%AddrTargetID,65407,WORD;
Delay=500;
Command=/attack;
Delay=1000;
This is the Elyos Illuma Version

Code:
MemWrite=%AddrTargetID,65400,WORD;
Delay=500;
Command=/attack;
Delay=1000;
With this code, it will never fail selecting the Questing NPC. Try it out
JoshuaPL is offline  
Old 08/31/2018, 18:50   #2023
 
elite*gold: 0
Join Date: Jul 2010
Posts: 313
Received Thanks: 54
Quote:
Originally Posted by JoshuaPL View Post
You can always use this

This is the asmo Norsvold Version

Code:
MemWrite=%AddrTargetID,65407,WORD;
Delay=500;
Command=/attack;
Delay=1000;
This is the Elyos Illuma Version

Code:
MemWrite=%AddrTargetID,65400,WORD;
Delay=500;
Command=/attack;
Delay=1000;
With this code, it will never fail selecting the Questing NPC. Try it out
Well it didn't select any NPC in my case, and this kinda made my script unplayable since the character never got any target.

I am not sure if this is supposed to memory select only and not show in client, but the below command:
#IF=%TargetName,Suspicious Alchemist;

also never proced so I guess it wasn't selected in memory either.

~~~~

Also there is a SUPER weird thing in my script, for a strange reason when a new char enters, he tries to loot one box althought there is absolutely no call anywhere for that function at that point of the script. He first needs to go to spot, get the quest, open the pouch and there is a call on opening chests there if there is a key, the command is being executed even if there is no key, pretty weird stuff, ti si the things that make programmers go crazy.

the only spots opening a small chest is called is in this code:

Code:
_IFInventoryContains=185000186,1; copper key
#EXECUTE=SmallChest;
#ENDIF
and the small chest function is being run by itself once the new char enters without any keys.

I am more than sure I probably did something wrong but I prefer to pretend this is a ghost that screws my script than to try to debug it which sometimes is impossible.

~~~
EDIT2: instead of calling a function to open chests, I simply put the code of the function in the main script and now it doesn't do that.

Which means this was somehow a glitch of the script editor, playing a function that was never called.
Diavolakos is offline  
Old 09/01/2018, 13:18   #2024
 
elite*gold: 77
Join Date: Sep 2009
Posts: 4,741
Received Thanks: 1,408
Quote:
Originally Posted by Diavolakos View Post
EDIT2: instead of calling a function to open chests, I simply put the code of the function in the main script and now it doesn't do that.

Which means this was somehow a glitch of the script editor, playing a function that was never called.
If functions doesn't get executed in the proper way it's an issue in the code, whether in the "start_", "end_" or in the "#EXECUTE" line, in the code above a function name doesn't have the correct name at "start_" and "end_", it's case sensitive
Paraly is offline  
Thanks
1 User
Old 09/02/2018, 14:55   #2025
 
elite*gold: 0
Join Date: Dec 2008
Posts: 52
Received Thanks: 2
Hi paraly, i tried to load the everglade script to do battle but the script stay stuckl at the GM window and does send me to the battle, setting at 100% so i wonder if the script still works ?

if so what can i do to fix it ?


DaVv09 is offline  
Reply

Tags
aion, autocomplete instance, script, vanillatool



« Shugo Console 1.1.1 (can be used in Aion 6.2) | Aion JP english translation, help!. »

Similar Threads
Script para todos os Lastchaos - Autohokey
01/29/2012 - Last Chaos - 1 Replies
I got a script that clicks several times with the click right mouse clicks when monster picks up the tarjeta. so he just throws the skill. I used AutoHotkey program. in AutoHotkey - Free Mouse and Keyboard Macro Program with Hotkeys and AutoText Needs improvement. I accept any help. I'm from Brazil. ---------------------------------------------------------------------------
[Release]Big Script Library
07/25/2010 - SRO PServer Guides & Releases - 0 Replies
I think its a good idea to open this Topic. I need Your Help. Sent me your own made Scripts and i upload them here. It does not matter if there is already a script by the mob. Only Self made scripts!!! What To Post? Post me not the text file.Post me the script!!! Scorpion 1 by Th3Stalker



All times are GMT +1. The time now is 08:13.


Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2018 elitepvpers All Rights Reserved.