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] Green big fish

Status
Not open for further replies.

uome

Bug Hunter
[COMPLETE] Green big fish

Muggz said:
Big fish are supposed to actually have a chance at spawning 2 different colours.

Pic from stratics:
http://vboards.stratics.com/showthread.php?t=121647

Code:
Index: Items/Resources/Fishing/BigFish.cs
===================================================================
--- Items/Resources/Fishing/BigFish.cs	(revision 321)
+++ Items/Resources/Fishing/BigFish.cs	(working copy)
@@ -26,7 +26,7 @@
 		public BigFish() : base( 0x09CC )
 		{
 			Weight = Utility.RandomMinMax( 3, 200 );	//TODO: Find correct formula.  max on OSI currently 200, OSI dev says it's not 200 as max, and ~ 1/1,000,000 chance to get highest
-			Hue = 0x847;
+			Hue = Utility.RandomBool() ? 0x847 : 0x58C;
 		}
 
 		public override void GetProperties( ObjectPropertyList list )
@@ -76,4 +76,4 @@
 			}
 		}
 	}
-}
\ No newline at end of file
+}

Pic from my TC:
View attachment 14393

Thanks to Nikki_Demise for helping me out :)
 

Attachments

  • greenfish.JPG
    greenfish.JPG
    17.2 KB · Views: 46
Status
Not open for further replies.
Top