Thread: Rose of Trinsic
View Single Post
Old 06-11-2004, 08:13 PM   #13 (permalink)
Tylius
Forum Novice
 
Join Date: Mar 2003
Location: Canada, eh?
Age: 23
Posts: 466
Default

Change

Code:
public RoseofTrinsic() : base( 0x18E9 )
to

Code:
public RoseofTrinsic() : base( 0x234B )
and change/add this code

Code:
		public void SpawnPetal()
		{
			if (m_UsesRemaining <= 9)
			{
				m_UsesRemaining++;
				CheckID(); // Add this line
			}					
		}

		private void CheckID()
		{
  			if (m_UsesRemaining == 1)
  			{
  				this.ItemID = 9035;
  			}
  			else if (m_UsesRemaining > 1 && m_UsesRemaining < 6)
  			{
  				this.ItemID = 9036;
  			}
  			else if (m_UsesRemaining > 6)
  			{
  				this.ItemID = 9037;
  			}
  		}

Now, I'm not a scripter, I've never even scripted an item before, so, this may or may not work It compiled, but I didn't test it further than that. And this most likely isn't OSI correct, as I don't play on OSI or have the info, but I'm guessing that since there are 3 ID's for the rose of trinsic, that the image changes based on how many charges are in it.
__________________
Tylius Dragon --==(UDIC)==--
Tylius is offline   Reply With Quote