Skip to content

Medivac boost isn't a buff #206

@WickedFridge

Description

@WickedFridge

When trying to check if Medivac could use their boost, I tried checking if the medivac was actually boosted, checking its buffs. I've found the Medivacspeedboost buff in the list, but when a medivac is boosted, it doesn't have any buffs.
my code reads as follow but doesn't work (as medivac.buffs is always empty) :

if (not medivac.has_buff(BuffId.MEDIVACSPEEDBOOST)):
    medivac(AbilityId.EFFECT_MEDIVACIGNITEAFTERBURNERS)

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions