AwakenedLands Forums

Full Version: New Combat code question Zenith.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

LuparKoor

I've noticed that you don't see what the defender attacks you with anymore. does each counterattack by the defender use a seperate random weapon, or does it randomly choose which weapon the defender uses in the first round, and use the same weapon every turn after that?

Or does the code just choose whatever weapon the defender is going to do the most damage with?

OttoOC

LuparKoor Wrote:Or does the code just choose whatever weapon the defender is going to do the most damage with?

If not, I wish it would.

LuparKoor

well if that's the case Otto, you can just unequip your melee weapon if you are a pistoleer, or vice versa.

OttoOC

LuparKoor Wrote:well if that's the case Otto, you can just unequip your melee weapon if you are a pistoleer, or vice versa.

I don't have a melee weapon and afaik I attack randomly with my fists.
You don't attack randomly with fists. Only one way to attack with fists now. That's if you select it. If you are attacked, you will only attack with fists if you don't have anything equipped.

OttoOC

zenith Wrote:You don't attack randomly with fists. Only one way to attack with fists now. That's if you select it. If you are attacked, you will only attack with fists if you don't have anything equipped.

Really? I could have sworn I'd attacked someone and seen fists come up randomly.
Attackers only use the weapon picked from the dropdown. Sometimes this damage is 1 due to armor and/or resistance.

Defenders only used weapons that are equipped. If none are equipped, you box.

matt5250

ya, but if the defender has two weapons equipped, how does it choose which one to use?
Reference URL's