Tekkamaaan
Active Member
First off I'd like to thank Farmer for this script. Farmer, I wish your daughter well and hope that she is not sick anymore.
Well, I know many have wondered about putting Reactionary attacks in and whatnot... I have found a solution to this! I just started looking at scripts yesterday so excuse me if this coding is not good at all (aka nubcakes).
I created a new function like this for my Cleric:
function Chains()
{
if ${Me.Target.Distance} < 4
call CastSpell "Fist of Rebuke" ISMOBBUFF
}
Then I put these lines in on the bottom (along with the other code):
Face ${Me.Target.X} ${Me.Target.Y}
call CombatBuffs
call Chains
call DebuffMob
call Chains
if ${LavishScript.RunningTime}>${TimeTillHeal}&&${Me.HealthPct}<${MinHealthPct}
{
call CheckHeals
TimeTillNextHeal:Set[${Math.Calc[${LavishScript.RunningTime}+(1000*TIMEBETWEENHEALS)]}]
}
call CheckHeals
call Chains
;call NukeMob
call Chains
call MeleeAttacks
call Chains
This works for me, however I think sometimes it tries to do the Chains too much and it messed up my heals.
I hope this helps everyone with these critical chains and whatnot. Good day!
Well, I know many have wondered about putting Reactionary attacks in and whatnot... I have found a solution to this! I just started looking at scripts yesterday so excuse me if this coding is not good at all (aka nubcakes).
I created a new function like this for my Cleric:
function Chains()
{
if ${Me.Target.Distance} < 4
call CastSpell "Fist of Rebuke" ISMOBBUFF
}
Then I put these lines in on the bottom (along with the other code):
Face ${Me.Target.X} ${Me.Target.Y}
call CombatBuffs
call Chains
call DebuffMob
call Chains
if ${LavishScript.RunningTime}>${TimeTillHeal}&&${Me.HealthPct}<${MinHealthPct}
{
call CheckHeals
TimeTillNextHeal:Set[${Math.Calc[${LavishScript.RunningTime}+(1000*TIMEBETWEENHEALS)]}]
}
call CheckHeals
call Chains
;call NukeMob
call Chains
call MeleeAttacks
call Chains
This works for me, however I think sometimes it tries to do the Chains too much and it messed up my heals.
I hope this helps everyone with these critical chains and whatnot. Good day!