[Help]Wing aura position

04/27/2016 03:37 banktakung#1
[Only registered and activated users can see links. Click Here To Register...]



i put this code
PHP Code:

        
else if(HasBuffBUFF_ITEMII_SYS_SFX_EFFECT_11 ) )
        {
            if(
m_pSfxWing == NULL)                
                
m_pSfxWing CreateSfxD3DDEVICEXI_NAT_MAS_AURA11GetPos(), GetId(), D3DXVECTOR3(0,0,0), NULL_ID, -);                
        } 
under
PHP Code:
        if(HasBuffBUFF_ITEMII_CHR_MAG_TRI_ANGELWING ) || HasBuffBUFF_ITEMII_SYS_SYS_EVE_WINGS ))
        {
            if(
m_pSfxWing == NULL)                
                
m_pSfxWing CreateSfxD3DDEVICEXI_NAT_WINGANGEL01GetPos(), GetId(), D3DXVECTOR3(0,0,0), NULL_ID, -);                
        } 

what i did wrong ??? Thank you

:handsdown::handsdown:
04/28/2016 08:12 banktakung#2
anyone sir ?
04/28/2016 12:50 Nortix#3
Either alter the position of the SFX directly via SFX Editor or have a look at the code and alter the position when the SFX is created.
04/28/2016 13:18 banktakung#4
Quote:
Originally Posted by Nortix View Post
Either alter the position of the SFX directly via SFX Editor or have a look at the code and alter the position when the SFX is created.

when i replace the new sfx to old wing sfx it work fine but when i create it new it look like picture


sorry for my bad english.
04/28/2016 13:29 macboyem07#5
try this sir, in createObj.cpp

under:

case XI_NAT_WINGANGEL01:

add your:

case XI_NAT_MAS_AURA11:
04/28/2016 14:09 banktakung#6
Fixed Thank you :)
09/03/2017 14:53 charmos#7
@[Only registered and activated users can see links. Click Here To Register...] when teleporting, the aura wing will not deactivate? because the default aura wing does.