Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ SMAUG ➜ SMAUG coding ➜ Unused Spells in SMAUG 1.4a Code?

Unused Spells in SMAUG 1.4a Code?

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Gatewaysysop2   USA  (146 posts)  Bio
Date Tue 03 Jun 2003 07:47 PM (UTC)
Message
I was just perusing through some of the .c files while fixing my aforementioned mpadvance problem, and I came across a few things that were apparently in magic.c that are not present in the game. From memory, these are/were:

Mind Wrack
Mind Wrench
Disenchant Weapon

There may be others, but those are the ones I can distinctly remember. They seem to be fully coded and even have entries in tables.c and mud.h so I'm wondering why these are not setup as skills/spells in the .dat files so that they can be used in game? I am leary of enabling them without knowing why they were left unused to begin with, so if anyone has a clue I would certainly like to know what's going on with these. If nothing else they are just a waste of space in the code at the present time, but they certainly looked interesting if they would work.

I may end up checking these myself later on if time permits and nobody responds, and I'll post back with what I find. Just thought I'd ask incase anyone else had already run into it though.

Thanks!

"The world of men is dreaming, it has gone mad in its sleep, and a snake is strangling it, but it can't wake up." -D.H. Lawrence
Top

Posted by Meerclar   USA  (733 posts)  Bio
Date Reply #1 on Tue 03 Jun 2003 09:41 PM (UTC)
Message
Usually such things are meant to be used as either spec function calls or as part of a weapon flag. You'll probably find several breath weapon style attacks as well that arent represented as castable spells but are used as mob special attacks.

Meerclar - Lord of Cats
Coder, Builder, and Tormenter of Mortals
Stormbringer: Rebirth
storm-bringer.org:4500
www.storm-bringer.org
Top

Posted by Nick Gammon   Australia  (23,158 posts)  Bio   Forum Administrator
Date Reply #2 on Tue 03 Jun 2003 09:42 PM (UTC)
Message
Being coders they probably didn't want to throw away their code, so they left it there just in case.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Boborak   USA  (228 posts)  Bio
Date Reply #3 on Wed 04 Jun 2003 01:24 AM (UTC)
Message
*GASP* There's coders that discard code!? *faints*

;-)
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


16,331 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.