Go Back   RunUO - Ultima Online Emulation > RunUO > RunUO Post Archive

RunUO Post Archive The Archvie

Reply
 
Thread Tools Display Modes
Old 03-16-2003, 10:02 AM   #1 (permalink)
 
Join Date: Nov 2002
Posts: 65
Send a message via ICQ to Valris
Default Suggestion : MaxStr MaxInt and MaxDex in Mobile objects

scripts/misc/skillcheck.cs line 187
the function CanRaise allow 125 at maximum for all sats and for all Mobiles.

[code:1] public static bool CanRaise( Mobile from, Stat stat )
{
if ( from.RawStatTotal >= from.StatCap )
return false;

switch ( stat )
{
case Stat.Str: return ( from.StrLock == StatLockType.Up && from.RawStr < 125 );
case Stat.Dex: return ( from.DexLock == StatLockType.Up && from.RawDex < 125 );
case Stat.Int: return ( from.IntLock == StatLockType.Up && from.RawInt < 125 );
}

return false;
}[/code:1]

is it possible to have MaxStr MaxInt and MaxDex values in Mobiles object ?
we could set differents values to each players (as we can do for skills)
it could be usefull for somes shard
Valris is offline   Reply With Quote
Old 03-16-2003, 03:01 PM   #2 (permalink)
Guest
 
Posts: n/a
Default

I could be wrong, but I think in /scripts/mobiles/PlayerMobile.cs you could add the variables and then just modify the serialization/deserialization scripts to load the new vars...
  Reply With Quote
Old 03-16-2003, 03:03 PM   #3 (permalink)
 
Join Date: Nov 2002
Posts: 65
Send a message via ICQ to Valris
Default

yes i know
it was just a suggestion for the dev team
Valris 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