UOGamers Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

  • To obtain new Razor updates, please reinstall Razor from our new website.

Ability + SkillBonus Bug

Juzzver

Sorceror
Abilities do not determine the value of the bonus skills that are in the character's equipment, which does not use them.
 

Juzzver

Sorceror
I am sorry, if I was incorrectly expressed. My knowledge of English, is far from perfect))
I mean that proportions on things of players, "Skill Bonuses" type, doesn't give possibility to use "Weapon Abilities"
It is visible on a code WeaponAbility.cs:

public virtual bool CheckWeaponSkill( Mobile from )
{
BaseWeapon weapon = from.Weapon as BaseWeapon;

if ( weapon == null )
return false;

Skill skill = from.Skills[weapon.Skill];
double reqSkill = GetRequiredSkill( from );
bool reqTactics = Core.ML && RequiresTactics( from );

if ( Core.ML && reqTactics && from.Skills[SkillName.Tactics].Base < reqSkill )
{
from.SendLocalizedMessage( 1079308, reqSkill.ToString() ); // You need ~1_SKILL_REQUIREMENT~ weapon and tactics skill to perform that attack
return false;
}

if ( skill != null && skill.Base >= reqSkill )
return true;

Where to abilities "Tactics and WeaponSkill", is appropriated to Base. Required Value!
 
Top