Been kinda working on something and Im not sure if I am missing something so was looking for some guidance... I am trying to combine the charm like properties with armor to make a custom set of elite armor once all pieces are acquired. My charm file looks like this:
Code:
sub EVENT_SCALE_CALC {
my $hands = $hasitem(1807);
my $wrist = $hasitem(1808);
my $legs = $hasitem(1805);
my $chest = $hasitem(1804);
my $arms = $hasitem(1806);
my $boots = $hasitem(1809);
my $helm = $hasitem(1810);
my $scale = $chest + $hands + $wrist + $legs + $arms + $boots + $helm;
if($scale < 0) {
$scale = 0;
}
if($scale > 7) {
$scale = 7;
}
$questitem->SetScale($scale/7);
}
Using GeorgeS tools:
so when I add the charm name in the charm file box as : CHRMcustomgear
there is another box below Labelled: Charm
If I leave it Blank, you get full stats completely negating what im going for.
When I look at other charms they all have weird numbers in it that I cannot associate with anything else.
Am I missing something? Is my code not setup correctly? This is the first time ive ever messed with this type configuration so Im assuming that my code is wrong considering I keep getting errors on it.