Skip to content

Safety Wall not working on emperium #197

@trojal

Description

@trojal

It appears that safety wall isn't blocking attacks on emperium during WoE.

Based on this code, it looks specifically like Safetywall and Pneuma should work on emp:

        if (bl->type == BL_MOB) {
                struct mob_data *md = BL_CAST(BL_MOB, bl);
                if (md && (md->class_ == MOBID_EMPELIUM || mob_is_battleground(md)) && type != SC_SAFETYWALL && type != SC_PNEUMA)
                        return 0; //Emperium/BG Monsters can't be afflicted by status changes
#if 0
                if (md && mob_is_gvg(md) && status->sc2scb_flag(type)&SCB_MAXHP)
                        return 0; //prevent status addinh hp to gvg mob (like bloodylust=hp*3 etc...
#endif // 0
        }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions