Go Back   RunUO - Ultima Online Emulation > RunUO > General Discussion

General Discussion General discussion for the RunUO community, all off-topic posts will be deleted. This forum is NOT FOR SUPPORT!

Reply
 
Thread Tools Display Modes
Old 01-25-2003, 01:04 AM   #1 (permalink)
ramsonne
Guest
 
Posts: n/a
Default Armor Dexloss doesnt seem to work

When wearing armor, players suffer no dexloss. I imagine many of you know this. I did a search on it. Several playesr asked for help and were told they wouldnt be afforded help until they tried to do some code. I don't know how to code. I deleted a few char. creation scripts and such on my own but thats the extent of my knowledge. Am I doomed? Or are there sites or people out there willing to give information on this sort of thing?

In the "armor" scripts I noticed that dex bonus is set to -8 so my guess is that the bonus, though it exists, is not being applied globally. Therefore I imagine the problem is in here:


public abstract class BaseArmor : Item, IArmor
{
private int m_ArBaseValue;
private int m_MaxHitPoints;
private int m_HitPoints;
private Mobile m_Crafter;
private ArmorQuality m_Quality;
private ArmorDurabilityLevel m_Durability;
private ArmorProtectionLevel m_Protection;
private ArmorMaterialType m_Material;
private ArmorBodyType m_BodyPos;
private OreInfo m_Ore;
private int m_StrBonus;
private int m_DexBonus;
private int m_IntBonus;
private int m_StrReq;
private int m_DexReq;
private int m_IntReq;
private ArmorMeditationAllowance m_Meditate;
private bool m_Identified;

private static double[] m_ArmorScalars = { 0.07, 0.07, 0.14, 0.15, 0.22, 0.35 };

public static double[] ArmorScalars
{
get
{
return m_ArmorScalars;
}
set
{
m_ArmorScalars = value;
}
}

[CommandProperty( AccessLevel.GameMaster )]
public int StrBonus
{
get
{
return m_StrBonus;
}
set
{
m_StrBonus = value;
}
}

[CommandProperty( AccessLevel.GameMaster )]
public int DexBonus
{
get
{
return m_DexBonus;
}
set
{
m_DexBonus = value;
}
}


Am I on the right track?
  Reply With Quote
Old 01-25-2003, 01:09 AM   #2 (permalink)
 
Join Date: Dec 2002
Age: 37
Posts: 395
Default

You're at the right site. Unfortunately this has not been scripted yet as far as I know...at least it's not in to distro (as you've found). This emu is developing at a rapid pace, and the goal is to make it as close to OSI as possible, so if this is an OSI feature, I imagine it's in the plans.

I hope this helps,
Phlegyas
Phlegyas is offline   Reply With Quote
Old 01-25-2003, 01:15 AM   #3 (permalink)
Administrator
 
Zippy's Avatar
 
Join Date: Aug 2002
Location: Baltimore, MD
Age: 25
Posts: 4,870
Default

Already done for the next release. Along with str requirements for armor and weapons.
__________________
Zippy, Razor Creator and RunUO Core Developer
The RunUO Software Team

"Intuition, like a flash of lightning, lasts only for a second. It generally comes when one is tormented by a difficult decipherment and when one reviews in his mind the fruitless experiments already tried. Suddenly the light breaks through and one finds after a few minutes what previous days of labor were unable to reveal."
~The Cryptonomicon

Zippy is offline   Reply With Quote
Old 01-25-2003, 01:17 AM   #4 (permalink)
ramsonne
Guest
 
Posts: n/a
Default

Thank you Zippy!

You guys are indeed fast!
  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