EFUPW Forums

Main Forums => Suggestions => Player Workshop => Topic started by: LoveLess on October 25, 2022, 02:56:17 AM

Title: /c spells_status
Post by: LoveLess on October 25, 2022, 02:56:17 AM
Just a little addition to make it neater, is to remove all of the cessate VFX that clutter up the list. As in, the visual effect that plays at the END of the duration of most spells. Since these are only used to visually display that an effect has run out, we don't need them on the log.

// if these are both true, then the effect read is only the Cesate vfx
// since this is only used for expiration visuals, we dont need it's duration on the log

effect eEffect = GetFirstEffect(oTarget);

if(GetEffectInteger(eEffect, 0) != 206 && GetEffectType(eEffect) != 74)
{
    // do xyz
}


206 is the ID of the VFX for cessate in the 2da and 74 is that the type is visual effect.