Jump to content

Amulet of Power usability

Recommended Posts

Amulet of Power should be usable by Rangers and Paladins and unusable by Monks and Barbarians. From Baldurdash.


// usabilities for Amulet of power
COPY_EXISTING ~amul21.itm~ ~override~
 READ_BYTE  0x20 "use1"
 READ_BYTE  0x21 "use2"
 READ_BYTE  0x29 "use3"
 WRITE_BYTE 0x20 ("%use1%" BAND 0b11001111) // removes paladin and ranger flags
 WRITE_BYTE 0x21 ("%use2%" BOR  0b00100000) // adds monk flag
 WRITE_BYTE 0x29 ("%use3%" BOR  0b01000000) // adds barbarian flag


Included in alpha v3.

Link to comment


This topic is now archived and is closed to further replies.

  • Create New...