I've been farming imbuing ingredients with a Mysticism Mage using alot of SDI & Splayer spellbooks & it occurred to me that I could most definately write a script for this. I can quite resonably simply Cast spells like Nether Cyclone and Target myself effecting everything in 2 tile Radius, but there's gotta be a better way to do it!!
IDEAS:
1) Target self and Nether cyclone is basically just a 2 tile wither in this case. You lose the time it takes for Mobs to walk up to you.
2) Target yourself & if nothing's near target the nearest Mob.. this is a bit better bc your not waiting for stuff to walk up to you all the time, but the "nearest mob" isn't usually the best spot to click your ranged AoE.
3) I'm looking for a better method of Scanning the nearby area (10 tile range for spell casting) & determining where the "Target Tile" is that includes the most Mobs in it's area of effect..
What I can think of so far is this... (if your farming area is static)
-The sub would basically scan through each valid Target Tile & finditem the mobs at that point in time keeping track of how many of them are within range of the AoE if you targetted that tile. The sub would scan all the tiles like this resulting in a specific spot or spots that maximizes the # of mobs hit. I know I need to find a sub that computes relative distances in uo geometry for given x/y comparisons... & I don't know if scanning an area like this can be done fast enough (considering that everything is moving) to even be worth it...
In short... your standing there with a nether cyclone Cursor up. 3 Ratmen spawn... some near some far... Is there a spot to click that kills all 3? 2? etc.. gotta be a way heh...
I'm not looking for someone to write this for me..... Just some ideas on how it might be done and I'll figure the rest out... or if you have the urge feel free!
thx