Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ SMAUG ➜ SMAUG coding ➜ Stun affect?

Stun affect?

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Camulos   Canada  (17 posts)  Bio
Date Fri 09 Dec 2005 05:06 AM (UTC)
Message
I've recently created a 'blindside' skill which works like backstab but stuns instead of deals damage.

I've run into one small snag though, and upon further testing I've found that the actual stun skill has the same issue.

When you stun someone, if you leave combat, even after stun wears off they can't move/interact for some time - they're given the 'You're too stunned to do that.' message.

It's not a -big- deal, but if it's fixable I'd appreciate some help in doing so.

I should note we're using SmaugFUSS 1.6, with some modifications - though none of those should affect this skill and I found the same issue with stun on stock Smaug.
Top

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #1 on Fri 09 Dec 2005 01:47 PM (UTC)

Amended on Fri 09 Dec 2005 04:46 PM (UTC) by Zeno

Message
Even after the affect wears off? I'm pretty sure that doesn't happen to me. I'm also using FUSS. When the affect wears off, it's fine. I'll check into it when I get home.

[EDIT] It's fine for me on stock FUSS.

<31711hp 210m 367mv> 
Zeno smashes into you, leaving you stunned!

<31711hp 210m 367mv> 
l
You are too stunned to do that.

<31674hp 210m 367mv> 
l
You are too stunned to do that.

<31674hp 210m 367mv> 
l
You are too stunned to do that.

<31674hp 210m 367mv> 
l
You are too stunned to do that.

<31674hp 210m 367mv> 
l
You are too stunned to do that.

<31649hp 210m 367mv> 
l
You are too stunned to do that.

<31649hp 210m 367mv> 
l
You are too stunned to do that.

<31649hp 210m 367mv> 
l
You are too stunned to do that.

<31621hp 210m 368mv> 
aff
You are too stunned to do that.

<31621hp 210m 368mv> 
l
You are too stunned to do that.

<31621hp 210m 368mv> 
You regain consciousness.
Zeno brushes you.

<31620hp 210m 368mv> 
l
Zeno's Office

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
Top

Posted by Camulos   Canada  (17 posts)  Bio
Date Reply #2 on Sat 10 Dec 2005 06:50 AM (UTC)
Message
Yeah, it works fine IN combat... It's when combat ends during the stun affect that it messes up.
Top

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #3 on Sat 10 Dec 2005 02:15 PM (UTC)
Message
After the fight:
Testing the Overlord is lying here stunned.


Like you said, it's still stunned after the affect wears off. But the affect is not the only thing that stun adds. It also changes the players position. And the players position doesn't update until a tick outside of battle, where in combat it instantly sets the position to fighting.

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
Top

Posted by Camulos   Canada  (17 posts)  Bio
Date Reply #4 on Mon 12 Dec 2005 05:11 AM (UTC)
Message
Hmm, so it should be easy enough to add a line that changes the player's position back when the effect wears off, right?
Top

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #5 on Mon 12 Dec 2005 11:54 AM (UTC)

Amended on Mon 12 Dec 2005 01:45 PM (UTC) by Zeno

Message
I'm not sure that could cause problems, but yes. There should be a function that stops fights, you could add it in there.

[EDIT] I have a feeling it will cause big problems. The stun position is also used when a person gets below 1 health.

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
Top

Posted by Camulos   Canada  (17 posts)  Bio
Date Reply #6 on Tue 13 Dec 2005 05:33 AM (UTC)
Message
Could add a new effect with the same results maybe, call it 'paralyzed' or something? That way there'd be no conflict. I just have absolutely no clue how to go about this.
Top

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #7 on Tue 13 Dec 2005 05:20 PM (UTC)
Message
Yes, that'll work. I've never added a new position before though. You'd start with adding it to mud.h first.

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


24,080 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.