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

Please help me. Wave of force(Talasha+Firebird)

hasasin89

New Member
Joined
Jan 21, 2016
Messages
7
Reaction score
0
I try fix my wizardcombat.cs file, but it didn't work.

I want to get buff(Arcanedynamo) before I cast wave of force

I don't know how to fix the file. Please help me. Thank you for your click.





Orginal script
// Wave of force
if (!Player.IsIncapacitated && Player.PrimaryResource >= 25 && CanCast(SNOPower.Wizard_WaveOfForce, CanCastFlags.NoTimer) &&
!ShouldWaitForConventionElement(Skills.Wizard.WaveOfForce))
{
return new TrinityPower(SNOPower.Wizard_WaveOfForce, 15f, CurrentTarget.Position);
}


I fixed
// Wave Of Force: Arcane Dynamo
bool arcaneDynamoPassiveReady = (Passives.Wizard.ArcaneDynamo.IsActive && GetBuffStacks(SNOPower.Wizard_Passive_ArcaneDynamo) == 5);
if (!Player.IsIncapacitated && arcaneDynamoPassiveReady && CanCast(SNOPower.Wizard_WaveOfForce, CanCastFlags.NoTimer) && !ShouldWaitForConventionElement(Skills.Wizard.Meteor) && Player.PrimaryResource >= 30)
{
var bestWaveOfForceClusterUnit = TargetUtil.GetBestClusterUnit();
return new TrinityPower(SNOPower.Wizard_Meteor, 15f, bestWaveOfForceClusterUnit.Position);
}


// Wave Of Force - no arcane dynamo
if (!Player.IsIncapacitated && !Passives.Wizard.ArcaneDynamo.IsActive && CanCast(SNOPower.Wizard_WaveOfForce, CanCastFlags.NoTimer) &&
!ShouldWaitForConventionElement(Skills.Wizard.Meteor) && (!Legendary.EtchedSigil.IsEquipped || Sets.TalRashasElements.IsFullyEquipped) &&
Player.PrimaryResource >= 30)
{
return new TrinityPower(SNOPower.Wizard_WaveOfForce, 15f, TargetUtil.GetBestClusterPoint());
}
 
Back
Top