Jump to content

Frost Mage's Prismatic Crystal


Recommended Posts

Hiya Droidz I wonder if there is a possibility to add something like this into rotation and if so how.


If Prismatic Crystal detected within X yards attack Prismatic Crystal




If Prysmatic Crystal detected within X yards from target attack Prismatic Crystal.

Link to comment
Share on other sites



Try this code:


Distance from you:

(ObjectManager.GetWoWUnitByEntry(76933).Count(u => u.GetDistance < 30 && u.IsMyPet) > 0)            

Distance from target:

(ObjectManager.Target.IsValid && ObjectManager.GetWoWUnitByEntry(76933).Count(u => u.Position.DistanceTo(ObjectManager.Target.Position) < 30 && u.IsMyPet) > 0)

- Replace 30 by distance.

- If this don't works try to remove code: 

 && u.IsMyPet

- I have found entry id of crystal (76933) in wowhead ( http://www.wowhead.com/npc=76933/prismatic-crystal ), if id is not correct you can found it with Dev tools (tab Tools).


Use spell condition type "C Sharp Code" and put code in "Value".

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...