Re: [CODE] Question about LordKaT's dual-wield patch.

From: Adam Scriven (scriven@lore.com)
Date: 10/01/00


On Sun, Oct 01, 2000 at 02:16:36PM -0400, Jason Pullara wrote:
> In all honesty the patch I submitted isnt very good, it needs some tweaking,
> but hey, at least its a start ;)

Actually, it's been running no problems, with the changes I mentioned before.
I think it works great.
8-)

> > So that if you wiff with the first one, you wiff with the second
> > automatically.
>
> I actually have a double_hit skill, and I failed to mention that in my code,
> when you hit and miss, the double hit SKILL will miss automatically
> I guess I kinda fudged up on the dual wield eh?

Actually, no, I like how it works.
It's not too hard to change, but I like the fact that if you miss the first one,
you miss the 2nd.
Personally.

> Thanks for pointing that out, I still ahvent fixed that on my server, yechk!

Daijobu.

> > So, my question is, Did I have to do this because *wielded was set by
> > the hit() function, which is the parent of the double_hit function?
> > My c's very rusty (PERL munger for years), so I'm not sure why.
>
> I think this is because *wielded already has the message stored in it?? Im
> nto sure, im only 18 and dumber than cow poop ;)

That's what I was thinking too, hense my question.
8-)

> Anyway, heres a descriptiopn of what needs to be worked out:
> 1) ACMD(do_dwield) is not needed. I dont know why in god's name I left it in
> there, its never called.

I was wondering about that!
*laugh*

> 2) its all about positions, so you will probably want to make a remove
> function remove wield or dwield, because all it does right now is remove
> both weapons, this could probably be done by  setyting on/off flags to each
> position and when somone tries a 'remove whatever' utl remove it and ect...
> blah blah blah.. thats only an idea though =P

Again, I don't mind that, personally.

> 3) the giants need to put up 21 points in the next half or else im going to
> go insane and kill everyone.

The Bills are winning, and that's all I care about.
8-)

Adam


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 04/10/01 PDT