[Home] [Downloads] [Search] [Help/forum]

Gammon Software Solutions forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  SMAUG
. -> [Folder]  SMAUG coding
. . -> [Subject]  Stun affect?

Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?
(New message)
Subject: Stun affect?
Name:
Your forum user name.
Register forum user name
Password:
Your forum password.
Forgotten password?
Message:
Message to be posted (in English, please).
Forum codes:
Check this if your message uses 'forum codes' or templates (auto-detected for new posts).
Forum codes Templates

Save this message ...


Subject review (reverse sequence)

Posted by Zeno   USA  (2,867 posts)  [Biography] bio   Moderator
Date Tue 13 Dec 2005 05:20 PM (UTC)  quote  ]
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
[Go to top] top

Posted by Camulos   Canada  (17 posts)  [Biography] bio
Date Tue 13 Dec 2005 05:33 AM (UTC)  quote  ]
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.
[Go to top] top

Posted by Zeno   USA  (2,867 posts)  [Biography] bio   Moderator
Date Mon 12 Dec 2005 11:54 AM (UTC)  quote  ]

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
[Go to top] top

Posted by Camulos   Canada  (17 posts)  [Biography] bio
Date Mon 12 Dec 2005 05:11 AM (UTC)  quote  ]
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?
[Go to top] top

Posted by Zeno   USA  (2,867 posts)  [Biography] bio   Moderator
Date Sat 10 Dec 2005 02:15 PM (UTC)  quote  ]
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
[Go to top] top

Posted by Camulos   Canada  (17 posts)  [Biography] bio
Date Sat 10 Dec 2005 06:50 AM (UTC)  quote  ]
Message
Yeah, it works fine IN combat... It's when combat ends during the stun affect that it messes up.
[Go to top] top

Posted by Zeno   USA  (2,867 posts)  [Biography] bio   Moderator
Date Fri 09 Dec 2005 01:47 PM (UTC)  quote  ]

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
[Go to top] top

Posted by Camulos   Canada  (17 posts)  [Biography] bio
Date Fri 09 Dec 2005 05:06 AM (UTC)  quote  ]
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.
[Go to top] 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.


1,624 views.

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

[Home]

Written by Nick Gammon - 5K

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Internet Contents Rating Association (ICRA) - 2K]    [Web site powered by FutureQuest.Net]