View Single Post
  #10  
Old May 16th, 2010, 11:39 PM
Foodstamp's Avatar
Foodstamp Foodstamp is offline
Major General
 
Join Date: Oct 2006
Location: Tennessee USA
Posts: 2,059
Thanks: 229
Thanked 106 Times in 71 Posts
Foodstamp is on a distinguished road
Default Re: Moding a Goneberserk Unit..

Quote:
Originally Posted by elmokki View Post
Quote:
Originally Posted by Swan View Post
maybe, create a new spell with #copyspell "touch of madness" and setting aoe/range 0, that should give a single target "touch" on yourself only; maybe.
You can't #onebattlespell custom spells.
Sure you can.

You #copyspell an existing spell to a custom slot, then overwrite the original.

For example I used this code in my Rohan mod:

-------------One Battle Spell for King of Rohan---------------

#newspell
#copyspell 166
#end

#selectspell 166
#clear
#school -1
#researchlevel 0
#damage 2321
#nreff 4
#range 1
#effect 1
#end

---------------------------------------------------

The end result was that the original spell in slot 166 worked fine and I was able to use #onebattlespell to spawn a group of royal guards for the King of Rohan.
__________________
BLAH BLAH BLAH BLAH NEXT TURN.
Reply With Quote