View Single Post
  #1  
Old 01-31-2012, 01:36 AM
helman
Sarnak
 
Join Date: Apr 2010
Location: Texas, Sweetwater
Posts: 69
Default Item Scaling help

Ok I'm trying to use sub EVENT_SCALE_CALC But I'm confused as hell even after using

Code:
sub EVENT_SCALE_CALC 
{
	if (defined($qglobals{titanium_relic})) {
		$questitem->SetScale($qglobals{titanium_relic}/10);
	}
	else {
		$questitem->SetScale(0);
	}
}
as a reference. I asked Trevius and he said I all need to do is use an item charmfile script. Then use qglobals to track whatever it is I'm wanting to use for scaling the item. That helps a lot. But I don't know how to use qglobals. Like I'm wanting to to use a custom item I named Rift Shards for scaling up my epics. If someone could Help me out I'd me most happy.

This is what I have.

Code:
sub EVENT_SCALE_CALC {

		if (defined($qglobals{132481})) {
				$questitem->SetScale($qglobals{132481}/1500);
		}
		else {
				$questitem->setscal(0);
		}
		
}
But I think thats wrong I don't even know what I set it to use for the Scaling
__________________
Reply With Quote