I think this should work, provided your if-check is in the correct
place (one_hit) and does the correct thing after the if check (set
dam_type and possibly dt).
On 5/1/06, Alderon <[EMAIL PROTECTED]> wrote:
Hello,
Ok. I've searched through the archives, and I may have very well overlooked
the solution to my problem, but I'm going to post this anyhow. Thanks to
anyone in advance for their comments/suggestions.
So, I have stances on my mud. Currently, I only have STANCE_AGGRESIVE, and
STANCE_DEFENSIVE. These were added by a previous coder, and are currently
unused in the code. I want to expand the use of stances like so many others
have done to enhance their monk class, but I wish to take a slightly
different path.
I'm a monk, my unarmed damage gets a slight damage modifier, but I'm stuck
with the simple punch damage noun. This is where stances come in. I want to
be able to assume a stance, and change my default damage type. Such as:
Dragon stance = fire damage
Tiger Stance = slash damage
Crane Stance = pierce damage
So on, and so forth. The problem I have is that I don't know exactly where
to add the if-checks into, or how to properly put it into the code....my
basic attempt failed. I made a test if-check just to see if I could change
the damage type based upon an unarmed combat stance...it looked like this:
if (ch->class == class_lookup("Monk")
&& wield == NULL
&& ch->stance == STANCE_AGGRESIVE)
That's when I figured out I don't know exactly what to change to change my
char's damage type, and I don't exactly know where to put the above
if-check....any help??
Heck, I could have the if-check all wrong, too. :P
--
ROM mailing list
[email protected]
Unsubscribe here ->>> http://www.rom.org/cgi-bin/mailman/listinfo/rom
--
ROM mailing list
[email protected]
Unsubscribe here ->>> http://www.rom.org/cgi-bin/mailman/listinfo/rom