|
Post by Boaster on Mar 26, 2005 22:07:50 GMT -6
After having completed the Multi-shot spells for artifact abilities, I knew it would be possible to create a spell to reflect back the same missile type a unit fires. What did it require? Several new spells, changing of the Reflect Spell itself, change in spell tooltip, and one new artifact (which actually procs the reflecting). What the spell does is grant missile attack resistance, and then it also creates a dummy artifact, which is destroyed after combat. Within the artifact, I had to create nearly two dozen individual spells for the different missile types, ranging from the shade blobs, to crossbow bolts, to lava rocks. I also had to establish several different conditions inside the artifact to choose which spell to cast on the attacker. The dummy artifact took the most coding and work, then as well as creating each of the spells with the different projectile art was also time consuming. The damage each return projectile does is a random variation between 0 and some number, the highest is probably 7, and the lowest is 2. And finally, I changed the mana cost of reflect shield to better fit the spell so it wouldn't be too overpowering. I did not set it to 8 mana like lightning charge, because Reflection Shield will only damage missile units Took a lot of work, virtually all day between doing stuff at home. Another incentive to play my mod I suppose
|
|