News:

SMF - Just Installed!

TP Attack Power double-click auto-cast

Started by Joshex, Dec 10, 2024, 03:38 PM

Previous topic - Next topic

Joshex

so, many times I have trouble with the target recticle for [electrical Melee.Lightning rod] not only does it detect things like trees and stair railings that are not in mouseover-line-of-sight (or are completely out of view at some tangent behind the camera) causing a red recticle which returns "this power cannot be cast here" errors. but sometimes it also glitches while the recticle is white and will not cast till you move it around and find the sweetspot.

So I'm suggesting a feature to counteract that. how about mouse double-click causes it to cast at the closest valid casting point to the point clicked? and if there is no valid spot where clicked it will auto cast from the player-character position.
Ye cannie be dividin by zero! However, ye can be dividing 0.0 by a non-zero! that'd be a float.
always Decimal(str(your float)) before you int( your float).