Class: D3MPQ::CoreData::GameBalance::ClassMask

Inherits:
BinData::Record
  • Object
show all
Defined in:
lib/d3_mpq/core_data/game_balance/item_types.rb

Overview

Helper: ClassMask for ItemType

Instance Method Summary collapse

Instance Method Details

#use_barObject



7
# File 'lib/d3_mpq/core_data/game_balance/item_types.rb', line 7

def use_bar; (class_mask >> 8) & 1; end

#use_dhObject



8
# File 'lib/d3_mpq/core_data/game_balance/item_types.rb', line 8

def use_dh;  (class_mask >> 11) & 1; end

#use_monObject



9
# File 'lib/d3_mpq/core_data/game_balance/item_types.rb', line 9

def use_mon; (class_mask >> 13) & 1; end

#use_wdObject



11
# File 'lib/d3_mpq/core_data/game_balance/item_types.rb', line 11

def use_wd;  (class_mask >> 10) & 1; end

#use_wizObject



10
# File 'lib/d3_mpq/core_data/game_balance/item_types.rb', line 10

def use_wiz; (class_mask >> 9) & 1; end