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.

[COMPLETE] Gozas won't be colored by folded cloth

Status
Not open for further replies.
[COMPLETE] Gozas won't be colored by folded cloth

Type: Broken Feature/Incomplete Fix

Basic Description: Gozas can't return the color of reward cloth

Way to experience: try it!

Detailed Description: The basic description wasn't enough detailed? Tested on OSI and the gozas do retain the color of any cloth - including reward cloth.

Links: [empty]
Code: [empty]

Let's finish this once for all! ;)
 

Nikki_Demise

Bug Hunter
Re: Gozas won't be colored by reward cloth

Fixed

Code:
Index: Engines/Craft/DefTailoring.cs
===================================================================
--- Engines/Craft/DefTailoring.cs    (revision 321)
+++ Engines/Craft/DefTailoring.cs    (working copy)
@@ -59,7 +59,7 @@
 
         public override bool RetainsColorFrom( CraftItem item, Type type )
         {
-            if ( !( type == typeof( Cloth ) ) )
+            if ( !( type == typeof( Cloth ) ) && !( type == typeof( UncutCloth ) ) )
                 return false;
 
             type = item.ItemType;
 

Attachments

  • Gozas.zip
    347 bytes · Views: 0
Status
Not open for further replies.
Top