Go Back   RunUO - Ultima Online Emulation > RunUO > Script Support

Script Support Get support for modifying RunUO Scripts, or writing your own!

Reply
 
Thread Tools Display Modes
Old 10-19-2003, 12:36 AM   #1 (permalink)
Forum Expert
 
wstsdwgrrr's Avatar
 
Join Date: Oct 2003
Location: Virginia
Age: 22
Posts: 261
Send a message via ICQ to wstsdwgrrr Send a message via AIM to wstsdwgrrr Send a message via MSN to wstsdwgrrr
Default Stam regen?

Is it possible to set stamina regeneration to zero? If so, how?
wstsdwgrrr is offline   Reply With Quote
Old 10-19-2003, 11:01 PM   #2 (permalink)
Forum Expert
 
wstsdwgrrr's Avatar
 
Join Date: Oct 2003
Location: Virginia
Age: 22
Posts: 261
Send a message via ICQ to wstsdwgrrr Send a message via AIM to wstsdwgrrr Send a message via MSN to wstsdwgrrr
Default

anybody know if it's possible?
wstsdwgrrr is offline   Reply With Quote
Old 10-19-2003, 11:05 PM   #3 (permalink)
Master of the Internet
 
Quantos's Avatar
 
Join Date: Apr 2003
Location: Edmonton, AB
Age: 41
Posts: 6,867
Send a message via ICQ to Quantos Send a message via AIM to Quantos Send a message via MSN to Quantos Send a message via Yahoo to Quantos
Default

Do you mean the time delay?
__________________
Paranoia is what happens when you finally have all of the facts.
Quantos is offline   Reply With Quote
Old 10-19-2003, 11:06 PM   #4 (permalink)
Forum Expert
 
wstsdwgrrr's Avatar
 
Join Date: Oct 2003
Location: Virginia
Age: 22
Posts: 261
Send a message via ICQ to wstsdwgrrr Send a message via AIM to wstsdwgrrr Send a message via MSN to wstsdwgrrr
Default

is player stamina regeneration determined by a time delay?
wstsdwgrrr is offline   Reply With Quote
Old 10-19-2003, 11:12 PM   #5 (permalink)
Master of the Internet
 
Quantos's Avatar
 
Join Date: Apr 2003
Location: Edmonton, AB
Age: 41
Posts: 6,867
Send a message via ICQ to Quantos Send a message via AIM to Quantos Send a message via MSN to Quantos Send a message via Yahoo to Quantos
Default

According to this in regenrates.cs it is, but I may be missing something.

[code:1]
Mobile.DefaultHitsRate = TimeSpan.FromSeconds( 11.0 );
Mobile.DefaultStamRate = TimeSpan.FromSeconds( 7.0 );
Mobile.DefaultManaRate = TimeSpan.FromSeconds( 7.0 );
[/code:1]
__________________
Paranoia is what happens when you finally have all of the facts.
Quantos is offline   Reply With Quote
Old 10-19-2003, 11:13 PM   #6 (permalink)
Forum Expert
 
wstsdwgrrr's Avatar
 
Join Date: Oct 2003
Location: Virginia
Age: 22
Posts: 261
Send a message via ICQ to wstsdwgrrr Send a message via AIM to wstsdwgrrr Send a message via MSN to wstsdwgrrr
Default

Ah, I thought it was a variable I would be able to temporarily set to zero for a spell...is there any way to turn that timer off for a period of time? Thanks.
wstsdwgrrr is offline   Reply With Quote
Old 10-19-2003, 11:17 PM   #7 (permalink)
Master of the Internet
 
Quantos's Avatar
 
Join Date: Apr 2003
Location: Edmonton, AB
Age: 41
Posts: 6,867
Send a message via ICQ to Quantos Send a message via AIM to Quantos Send a message via MSN to Quantos Send a message via Yahoo to Quantos
Default

I'm actually not 100% sure that this is the code that affects what you want.
__________________
Paranoia is what happens when you finally have all of the facts.
Quantos is offline   Reply With Quote
Old 10-19-2003, 11:20 PM   #8 (permalink)
Forum Expert
 
wstsdwgrrr's Avatar
 
Join Date: Oct 2003
Location: Virginia
Age: 22
Posts: 261
Send a message via ICQ to wstsdwgrrr Send a message via AIM to wstsdwgrrr Send a message via MSN to wstsdwgrrr
Default

I remembered that some items can affect it, so I looked under basearmor.cs. I found something referring to 'AosAttributes.RegenStam', but how would I edit that variable of a player?
wstsdwgrrr is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5