Skip to content

Item usability

dibdib Member Posts: 384
Is there any clean way of allowing a kit to use items which are not usable by its base class? There's a lot of options for restrictions but I don't see much for the opposite. A "Can use item" and "Can use itemtype" opcode would be nice...

Comments

  • The user and all related content has been deleted.
  • dibdib Member Posts: 384
    Dang. Well, guess I'll just make it dirty and keep it to myself. :tongue:

    Thanks!
  • argent77argent77 Member Posts: 3,433
    It is possible by using opcode 319 (Restrict item). It allows you to select a specific kit which is either forbidden to use the item (by setting 'Power' to 0) or allowed to use (by setting 'Power' to 1).
  • dibdib Member Posts: 384
    @argent77 Yeah, but that would disable the item for all other classes and kits.
  • kjeronkjeron Member Posts: 2,367
    argent77 said:

    It is possible by using opcode 319 (Restrict item). It allows you to select a specific kit which is either forbidden to use the item (by setting 'Power' to 0) or allowed to use (by setting 'Power' to 1).

    Opcode 319 can only further restrict an item.
    Power=0 restricts target matches from using the item.
    Power=1 restricts target mismatches from using the item.
    Neither allows someone to use an item they couldn't already use.
  • The user and all related content has been deleted.
Sign In or Register to comment.