Page 1 of 1

NPC bashes affecting their number of autoattacks

PostPosted: Mon Sep 10, 2018 10:11 pm
by Lennya
Apparently not just the Hill Giant Chief gets extra autos when he succeeds (or fails) a bash:

Code: Select all
H:401/406 M:229/319 V:91/250 {xp: 99750843} [gold: 992878] DSTY (few scratches few scratches) 12am>
The Lord of Eternal Night suddenly appears!
The Lord of Eternal Night sends you sprawling
Your blade barrier whirls wildly, slashing The Lord of Eternal Night!
The Lord of Eternal Night bruises you as he cleaves your chest.
The Lord of Eternal Night bruises you as he stabs your head.
The Lord of Eternal Night bruises you as he hits your right leg.
The Lord of Eternal Night bruises you as he cleaves your chest.
Your resistances help protect you from The Lord of Eternal Night's attack with a sword of eternal blackness.
The Lord of Eternal Night stops using a sword of eternal blackness.
You barely smash The Lord of Eternal Night in his left hand.
You barely smash The Lord of Eternal Night in his left arm.
You barely smash The Lord of Eternal Night in his shoulder.
You bruise The Lord of Eternal Night as you smash him in his left foot.
You barely smash The Lord of Eternal Night in his right foot.
An ancient silver shield glimmers with a silvery light and moves to better protect you!
The Lord of Eternal Night suddenly appears!
The Lord of Eternal Night bruises you as he hits your right arm.
Your blade barrier whirls wildly, slashing The Lord of Eternal Night!
An ancient silver shield glimmers with a silvery light and moves to better protect you!
The Lord of Eternal Night bruises you as he hits your stomach.
Your blade barrier whirls wildly, slashing The Lord of Eternal Night!
An ancient silver shield glimmers with a silvery light and moves to better protect you!
The Lord of Eternal Night bruises you as he hits your head.
Your blade barrier whirls wildly, slashing The Lord of Eternal Night!

H:377/406 M:229/319 V:86/250 {xp: 99750843} [gold: 992878] DSTY (few scratches small wounds) 12am>

Note how the added four attacks do not trigger blade barrier or the ancient silver shield procedure.

Re: NPC bashes affecting their number of autoattacks

PostPosted: Sat Sep 15, 2018 6:16 am
by Zax
Yes, this is repeatable vs. any mob with WARRIOR flag set. If such a mob has the initiative in a round, it's allowed to bash then immediately get in it's normal number of attacks without any lag/delay.

I think I've isolated the problem and will discuss with the other immorts about how best to resolve it.

EDIT: After some more thought on the matter, I believe these to be phantom attacks with no actual damage resulting from them. I believe the code is throwing phony damage messages on non_attacks. I'll keep looking at this and report back.

Re: NPC bashes affecting their number of autoattacks

PostPosted: Sun Sep 16, 2018 3:14 am
by Zax
I did confirm these were phantom damage messages and cleaned up the code to prevent them. Should go out in the next port.

EDIT: Brainfart. Ignore what was here previously. It's all good now.