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

[Monk] CC ReWrite

guys what skills are u using for monk in Sarkoth Farm ?
 
possible to make it use dashing strike ? I want to keep Fists of Thunder as the primary, it does good aoe, teleports a bit around.. but dashing strike here and there speeds things up with the movement buff rune!
 
I fixed it :)

You need to use

Spell.CastOnUnit(SNOPower.Monk_FistsofThunder, 1, ctx => ((DiaUnit)ctx).ACDGuid)

Instead of

Spell.CastAtLocation(SNOPower.Monk_FirstsofThunder, ret => CombatTargeting.Instance.FirstNpc.Position)

The Constructor for CastOnUnit is

public static Composite CastAtLocation(SNOPower power, ValueRetriever<Vector3> position, ValueRetriever<bool> extraRequirements = null)
{
return Cast(power, position, 2, null, extraRequirements);
}

But I can't add the extraRequirements for CastOnUnit like you could with CastAtLocation, dunno why, don't care though it works now :D
 
it supports already dashing strike. But it wastes way to much spirit, would be nice if it can changed to only use if there is NO enemy in a lets say 25 Radius so it only "charges" enemies far away to save time
 
Where did you find this? Good catch...

I found it in the Routines\Belphegor\Routines\Spell.cs file.

I noticed the CastOnUnit, so I looked though all the .cs files in the Belphegor folder and noticed that Wizards(I think) were using this for some of their spells, so I just tried it on FirstofThunder ;>

EDIT: Would be really nice with a full API documentation at some point, alot easier than guessing ;>
 
Last edited:
Spell.CastOnUnit(SNOPower.Monk_FistsofThunder, 1,
ret => CombatTargeting.Instance.FirstNpc.ACDGuid,
extra => CombatTargeting.Instance.FirstNpc.Distance > 20f),

Can you see if that works?

The value needs to be tweaked.
 
Last edited:
Spell.CastOnUnit(SNOPower.Monk_FistsofThunder, 1,
ret => CombatTargeting.Instance.FirstNpc.ACDGuid,
extra => CombatTargeting.Instance.FirstNpc.Distance > 20f),

Can you see if that works?

The value needs to be tweaked.

Yup, that works :). Dunno why that did not work when I tried it before ( or atleast that's what I thought I wrote ) :S .. must have been a Syntax error ;<
 
Yup, that works :). Dunno why that did not work when I tried it ( or atleast that's what I thought I wrote ) :S .. must have been a Syntax error ;<

Feel free to update the file when u get it working :)
 
Spell.CastOnUnit(SNOPower.Monk_FistsofThunder, 1,
ret => CombatTargeting.Instance.FirstNpc.ACDGuid,
extra => CombatTargeting.Instance.FirstNpc.Distance > 20f),

Can you see if that works?

The value needs to be tweaked.

Now we are talking *grin*

Indeed some API Manual would be welcome....:)
 
Yup, that works :). Dunno why that did not work when I tried it before ( or atleast that's what I thought I wrote ) :S .. must have been a Syntax error ;<

Updated then :)
 
I am also making a Monk combat class, trial and error....but I am moving in the right direction, I want to be ready for PVP, with my killer monk... :)
 
"
Invalid Attachment specified. If you followed a valid link, please notify the
administrator"

Getting that while trying to download :(
 
It's only doing it for objects.......so wait....let us test it...
 
It's only doing it for objects.......so wait....let us test it...


That because
// Primary Skills.
Spell.CastAtLocation(SNOPower.Monk_DeadlyReach, ret => CombatTargeting.Instance.FirstNpc.Position),
Spell.CastAtLocation(SNOPower.Monk_CripplingWave, ret => CombatTargeting.Instance.FirstNpc.Position),
Spell.CastAtLocation(SNOPower.Monk_WayOfTheHundredFists, ret => CombatTargeting.Instance.FirstNpc.Position),
Spell.CastAtLocation(SNOPower.Monk_FistsofThunder, ret => CombatTargeting.Instance.FirstNpc.Position)
)

Have not been changed to

Spell.CastOnUnit(SNOPower.Monk_FistsofThunder, 1, ctx => ((DiaUnit)ctx).ACDGuid)

So when it's not above 20f, it's still executing it the old way..
 
That because


Have not been changed to



So when it's not above 20f, it's still executing it the old way..

I guess i should swap them all over.

Done, let me know if there's an errors.
 
Last edited:
after the update to make FoT - Thunderclap works, my gph increased by a lot. thanks for fixing FoT-Thunderclap works, loving it.
 
Back
Top