Shattered Kingdoms https://shatteredkingdoms.org/forums/ |
|
BUG: Barb NPCs counterattacking automatically after stun https://shatteredkingdoms.org/forums/viewtopic.php?f=26&t=22458 |
Page 1 of 1 |
Author: | Ayero [ Sun Apr 01, 2012 7:46 am ] |
Post subject: | BUG: Barb NPCs counterattacking automatically after stun |
Quote: You slash Tobias Durol's jaw, breaking it with a loud *SNAP* Tobias Durol slams into you and sends you sprawling! Tobias Durol's bash knocks the wind out of you. Tobias Durol punches at your chest, you start to cough up blood! Tobias Durol punches at your left arm, tearing open a big bleeding wound! You parry Tobias Durol's bare fist! You slash at Tobias Durol's right arm, cutting a painful wound across it! Tobias Durol is stunned, but will probably recover. [HP: 36%] [ME: 22%] [PE: 69%] The wailing screams of past sacrifices echo into your ears. Tobias Durol regains consciousness and rises unsteadily to his feet. [HP: 39%] [ME: 24%] [PE: 69%] l Before a large rickety wooden wall with vines intertwined Weakened by prolonged submersion in the murky waters of the surrounding swamp, this cypress wall looks to be more for show than actual use as a defensive position. Thick dark vines entwine their way through the gaps and holes in the structure giving it a surprising amount of its structural integrity, without which it might not stand at all. The surrounding ground is still completely damp despite the apparent receding of the flood water. Various muddy footprints and markings litter the ground from the new found traffic treading through the area. It's raining lightly, hot, and breezy. Obvious exits: e w (Charmed) A silver-winged pegasus stands here looking majestic. A pale male human is here expounding on the virtues of his slaves. [HP: 39%] [ME: 24%] [PE: 69%] Tobias Durol counters your attack! Tobias Durol's counterstrike devastates you. You slash Tobias Durol's head. Tobias Durol falls with a blank look on his face! Tobias Durol is DEAD!! Tobias Durol's head is skillfully severed from his body. You get 4 gold coins from a corpse of Tobias Durol. You get 9 silver coins from a corpse of Tobias Durol. You get 7 copper coins from a corpse of Tobias Durol. You junk a corpse of Tobias Durol. [HP: 27%] [ME: 24%] [PE: 69%] The code must make the player attack, instead of the angry NPCs, after the latter comes to. I'm not sure if this is a bug, or if it has been reported before, but alas. Here you go! |
Author: | patrisaurus [ Sun Apr 01, 2012 1:49 pm ] |
Post subject: | Re: BUG: Barb NPCs counterattacking automatically after stun |
That is very wierd. I've had the opposite happen to me recently (my barb's counterattacked NPCs that rise unsteadily to their feet and engage him after being stunned) so I wonder if it's just something to do with Tobias. |
Author: | shadow [ Mon Apr 02, 2012 9:41 pm ] |
Post subject: | Re: BUG: Barb NPCs counterattacking automatically after stun |
Ayero wrote: [HP: 36%] [ME: 22%] [PE: 69%] The wailing screams of past sacrifices echo into your ears. Tobias Durol regains consciousness and rises unsteadily to his feet. [HP: 39%] [ME: 24%] [PE: 69%] I believe that here's your answer. A tick happened, and since the NPC was stunned during the tick, it considers it being out of combat now. Thus, he is able to counter your attack, since it's an attack that you started anew (considering he was out of combat). |
Author: | jhorleb [ Tue Apr 03, 2012 8:21 am ] |
Post subject: | Re: BUG: Barb NPCs counterattacking automatically after stun |
Quote: I believe that here's your answer. A tick happened, and since the NPC was stunned during the tick, it considers it being out of combat now. Thus, he is able to counter your attack, since it's an attack that you started anew (considering he was out of combat). Sure he's out of combat, he's stunned. But the question for me is how is it that the NPC initiated the comabt (PC seems to have made no active effort to type "kill NPC") and still got the counterstrike? And it's probably because the NPC can technically initiate combat with 0% PE, but since he got no attacks, the counterstrike trigger remains set and fires when the PC swings back. Alternatively, the PC was on mode kill here and still managed to stun the NPC before striking the killing blow. Then with the tick happenening between those two events, the pc's attempt to finish off the NPC would result in a counterstrike like Shadow said. |
Author: | Edoras [ Tue Apr 03, 2012 8:25 am ] |
Post subject: | Re: BUG: Barb NPCs counterattacking automatically after stun |
Actually, he probably just was unlucky enough to stun him on the combat round right before the tick and was thus still in combat the entire time, indicated by the fact that he was on mode kill. |
Author: | jhorleb [ Tue Apr 03, 2012 8:26 am ] |
Post subject: | Re: BUG: Barb NPCs counterattacking automatically after stun |
Edoras wrote: Actually, he probably just was unlucky enough to stun him on the combat round right before the tick and was thus still in combat the entire time, indicated by the fact that he was on mode kill. Jerk. I just edited my post while you were proving me wrong. |
Author: | Baldric [ Tue Apr 03, 2012 9:13 am ] |
Post subject: | Re: BUG: Barb NPCs counterattacking automatically after stun |
Jhorleb wrote: And it's probably because the NPC can technically initiate combat with 0% PE, but since he got no attacks, the counterstrike trigger remains set and fires when the PC swings back. Jhorleb I don't know if you took a close look at the log but the tick happens right as the NPC is stunned. It looks to me like the game never took the PC out of combat. He wouldn't be taken out of combat considering that he was on mode kill. The NPC got the chance to counterstrike because having been stunned, he had been taken out of combat (unlike the PC). Also notice that the PC gains no PE at the tick, suggesting that the game considers him to still be in combat. You're offering an incredibly unlikely and complicated explanation here involving 0% PE. How would this NPC wind up with 0% PE anyways? Do you think it took the PC 50 rounds to kill him? I think you are wrong on this one Jhorleb. |
Author: | jhorleb [ Tue Apr 03, 2012 10:02 am ] |
Post subject: | Re: BUG: Barb NPCs counterattacking automatically after stun |
You guys are mean. |
Author: | Baldric [ Tue Apr 03, 2012 10:59 am ] |
Post subject: | Re: BUG: Barb NPCs counterattacking automatically after stun |
<3 |
Author: | Ayero [ Tue Apr 03, 2012 11:30 am ] |
Post subject: | Re: BUG: Barb NPCs counterattacking automatically after stun |
Thanks for the input, folks. I hadn't considered the tick having an effect on things. |
Page 1 of 1 | All times are UTC - 8 hours |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |