Spells in Colstone

I have been building my game off the Medieval plug-in, and I will eventually change it to be a completely different game. While in the process of doing this, I have encountered a few problems with spell casting.

  1. Whenever I select a spell from my spell book (still the plug-in default) and press cast, I find that my character will cast the spell and then run to the target, as he would with a normal click. If I send a ball of flame at my opponent, and I run with it towards him each time, I will go crazy. How do I cast a spell and stand still in one place?

  2. The spell casting by choosing from a spellbook is a very slow method, and you need to do it each time you want to cast the spell. Is there a way to have a spell set to a quick key so each time I, say, right-click, it will cast at the target I clicked without any dialog?

These may be difficult questions, but I appreciate any feedback.

I'm not sure how you prevent the player from running after the spell. This happens with other's spells too. You can hold down the Z key (defend) which keeps the player from running, but that is a bit of a nuisance. Perhaps someone here has worked out a way around this.

Once you have selected a spell, you can re-cast it as many times as you wish with the C key as long as there are enough magic points to do so.

There, I got half your questions covered. 🙂

------------------
My Doctor said I was having too much wine, women, and song - so I gave up singing because 2 out of 3 is not so bad.
The (url="http://"http://www.evula.org/rduck/")Kingdom of Garendall(/url) sectional map is easily printed from gif format pages.
(url="http://"http://www.ambrosiasw.com/cgi-bin/vftp/dl-redirect.pl/damsels.sit?path=pog/addons&file;=damselsV1.1.sit")Damsels in Distress(/url) - A plugin for PoG. (url="http://"http://www.evula.org/rduck/RD-DEL.jpg")RD-DEL(/url)

The C key is a feature in only PoG, you have to make a keydown event for a quick spellcast. For instance:
Key: C
Event: Cast Last Spell
or
Key: F
Event: Spell Wizard: Cast Spell Fireball

The latter would be for hotkeyed spells. As with standing still, there have been various methods proposed, and I THINK that if you make a long enough Cast animation for the player icon, he won't run to the target. Think.

------------------
"Stiney! Get me a danish!"
Check out teh 1337 sig: (url="http://"http://server4.uploadit.org/files2/130104-Ogre_Bobfinal.jpg")Teh 1337 sig(/url)
Proud Shaman of (url="http://"http://forums.evula.com/viewforum.php?f=52")Clan EVW(/url)