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

Skill modification

keganaraujo

New Member
Joined
Apr 30, 2014
Messages
29
Reaction score
0
hey all

id like to make my crusader use steed charge when he has 35% life left. i tried to modify the code but it doesnt seem to be working. can you guys help me out? this is how i have it

private static bool CanCastSteedCharge()
{
return CombatBase.CanCast(SNOPower.X1_Crusader_SteedCharge)
&& (TargetUtil.ClusterExists(CrusaderSettings.SteedChargeMinRange, 3) || TargetUtil.EliteOrTrashInRange(CrusaderSettings.SteedChargeMinRange) || Player.CurrentHealthPct <= 0.25);
 
hey all

id like to make my crusader use steed charge when he has 35% life left. i tried to modify the code but it doesnt seem to be working. can you guys help me out? this is how i have it

private static bool CanCastSteedCharge()
{
return CombatBase.CanCast(SNOPower.X1_Crusader_SteedCharge)
&& (TargetUtil.ClusterExists(CrusaderSettings.SteedChargeMinRange, 3) || TargetUtil.EliteOrTrashInRange(CrusaderSettings.SteedChargeMinRange) || Player.CurrentHealthPct <= 0.25);


there's a space between (SNOPower.X1_Crusader_SteedCharg e) not sure if thats ur issue haha but that looks like it'd work otherwise I'm confused.
 
:( dang i really want this damn thing to work! im tired of letting the bot kill me
 
after reading the guide found here: http://www.thebuddyforum.com/demonb...ll-activation-criteria-range-etc-dummies.html.

it seems that i am missing an additional ) before the ; at the end of the sentence. it should look like this?

private static bool CanCastSteedCharge()
{
return CombatBase.CanCast(SNOPower.X1_Crusader_SteedCharg e)
&& (TargetUtil.ClusterExists(CrusaderSettings.SteedCh argeMinRange, 3) || TargetUtil.EliteOrTrashInRange(CrusaderSettings.St eedChargeMinRange) || Player.CurrentHealthPct <= 0.25));

please someone chime in. would love to get this working
 
change

TrinityPower power = null;

if (!UseOOCBuff && IsCurrentlyAvoiding)
{
if (CanCastSteedCharge())
{
return new TrinityPower(SNOPower.X1_Crusader_SteedCharge);
}


to




TrinityPower power = null;

if (!UseOOCBuff && Player.CurrentHealthPct <= 0.25)
{
if (CanCastSteedCharge())
{
return new TrinityPower(SNOPower.X1_Crusader_SteedCharge);
}


should work
 
Back
Top