Mage AoE spell tweak?
#1
Posté 16 avril 2011 - 06:00
As in, press fireball, and the fireball would launch to your current target. As in, your target would be the center of the AoE.
I know it isn't much effort to just press it with my mouse, but it would be a nice tweak, one I'm sure a lot of other lazy mages out there would want, were it possible.
#2
Posté 21 avril 2011 - 06:42
Signo Vir wrote...
It might be a script limitation then. the script involved is dae_mage_aoe_instant.ncs, but that doesn't help much... AFAIK all AOE spells require targeting.
*opens GDApp*
hmm.. actually, what you probably also need to change is the target type.Mind Blast, for example, uses the same script but doesn't require targeting. In that case, target_type is 1 (casting character), and target_auto is also 1 (true). However, by contrast fireball and cone of cold are target_type 12 (probably the code for AOE targeting). Since Winter's Grasp is kind of similar to what you're looking for, you could try that target_type (4).
From what I can tell, these are the target types available:
1 (self) -- arcane shield, mind blast,..
2 (party member but not self) -- sacrifice (bloodmage)
3 (party member or self) -- force field
4 (targeted enemy) -- winter's grasp, stonefist, crushing prison, etc
5 (default attack)
12 (AOE designated) -- fireball, cone of cold
15 (AOE unknown. might be a mix of 4 and 12) Dispel, glyph of repulsion, smokescreen
There also seem to be some target_types only used by monsters,
8 (unknown) -- stone golem hurl
9 (unknown) -- rock wraith teleport
Unused values (filling in the gaps)
6
7
10
11
13
14
I'm guessing there is only a total of 16 target types, 0 to 15. (0, of course, being no target)
I'd recommend trying 15 and if that fails, try 4. My only concern with 4 might be that you (probably) lose the ability to designate the area -- you would have to choose a target.
Those are bit flags. We use that for a number of things.
1 = self
2 = friendly
4 = hostile
8 = location





Retour en haut






