1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

Checking Primary Flags on enchants

Discussion in 'Development' started by ShushImSam, Aug 22, 2019.

  1. ShushImSam

    ShushImSam Spider Jockey

    Messages:
    37
    Alright.. so I'm making custom enchants and everything, and now I'm at the last challenge, Applying them. so my problem is that I'm trying to check if the item that "wants" to receive the enchant, can. I've tried to u getPrimaryFlag or somethings == Enchantment::SLOT_PICKAXE , but that doesnt work since PrimaryFlag returns an integer. Any idea on how I could do that?
     
  2. HimbeersaftLP

    HimbeersaftLP Fish

    Messages:
    2,402
    GitHub:
    HimbeersaftLP
  3. ShushImSam

    ShushImSam Spider Jockey

    Messages:
    37
    HimbeersaftLP likes this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.