Glow Question

11/04/2014 16:03 kamoteshake#1
Hi there,

Got Another question. How do you update the Set Glow? I tried the
this->UpdateParts();

And

Code:
m_dwFlag &= (~MVRF_SETITEMSFX);
m_dwFlag |= MVRF_SETITEMSFX;
But it doesnt update the set glow.

Thanks.
11/05/2014 22:22 kamoteshake#2
bump
11/07/2014 01:01 kamoteshake#3
I tried this too:

Code:
#ifdef __CLIENT
	int nAbilityOption	= this->GetSetItemClient();
	if( nAbilityOption >= 3 )
	{
		//this->m_dwFlag &= (~MVRF_SETITEMSFX);
		this->m_dwFlag |= MVRF_SETITEMSFX;
		this->CreateAbilityOption_SetItemSFX
	}
#endif //__CLIENT
But still no luck. it's not updating the Glow. does anyone have some ideas?

Update: I've been trying to UnEquip and DoEquip but still nothing. and if you check the inventory it doesnt remove the part. it will just stay there. but if I only use UnEquip it does remove it.

here's the code i tried:
Code:
CItemElem* pItemElem = this->GetEquipItem( PARTS_FOOT );

this->m_Inventory.UnEquip( PARTS_FOOT );

this->m_dwFlag &= (~MVRF_SETITEMSFX);
this->m_dwFlag |= MVRF_SETITEMSFX;
				
this->DoEquip( pItemElem, true, PARTS_FOOT );
but still it's not working.

Just to clear things up. I'm talking about the items that changes the glow. (Gold Aura(7days), Scarlet Aura(7days), Black Aura(7days), etc.). I got it working but I need a way to update the Glow so you dont have to remove a part of the set and re-equip them. any of you guys got some ideas? thanks
11/11/2014 05:43 kamoteshake#4
well I used the m_dwFlag &= (~MVRF_SETITEMSFX); and it does change the glow.. well actually no. it creates a new glow meaning if you use the item. it will create a new glow on top of the old glow. so the glows are mixing. is there a way to remove the set glow and do this operation? like:

Code:
// something to remove the set glow
// then
m_dwFlag &= (~MVRF_SETITEMSFX);