Magic weapon spell effects
I doubt if anyone will remember me, but I was around about a year ago (primarily did some quest work) before a new job took hold of all my free time. But I decided to jump in again with a fairly minor code revision.
This allows characters under the effect of a magic weapon buff to hit creatures that are immune to nonmagical weapons. To the best of my knowledge, the bard song Magical Monologue is the only spell with this effect, but I thought it might be useful to custom servers as well. I tested it locally and it seems to work. I also structured it so that the additional buff checks are only made if a magic weapon is not present, so it shouldn't make the server do too much extra work. .diff file against revision 360 Code:
Index: zone/attack.cpp |
Nice work! It is great to see more spell effects get added. And it is nice to see more code submissions too. Welcome back :)
I don't really have the time to test this right now, but hopefully someone can and get it added to the SVN soon if all goes well with the testing. |
This seems to work great. I'll put it up on TGC and let them have at it before committing. Thanks!
|
All times are GMT -4. The time now is 12:36 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.