I need someone to design a 2 handed weapons script.

I would do it myself, but my lua skills leave much to be desired.

Basically, what I want is as follows.

1. A skill that handles two handed weapons, the higher the skill the better it works

2. The ability to wield a weapon in the shield slot, and have it actually attack, if the player has a point in the two handed skill

3. A yes/no dialog asking whether the player wants to wield dual weapons

4. Finally, if the player has two or three wield slots, that they would both do their attacks

Chatter

NeilStevens: Ah ah ah, no C here, heh.

#4 has to wait for ToME 3, the other three can be done in ToME 2.

For #1 You implement that with a CALC_BONUSES hook.

For #2 You want the SLOT hook which determines where an item can be wielded.

For #3 I'm pretty sure there's a WIELD hook.

TheFury: OK, question 2. Would anyone be willing to program that script for me?

Module Developers Discussion/Two handed weapon script (last edited 2005-10-10 11:30:09 by TheFury)