Skip to content

Brawler equipment fix

Chris Davidson requested to merge Shibari/t-engine4:BrawlerFix into master

Currently applyRandomClass only copies specific things from the copy descriptor table in its apply_resolvers functions, making it impossible to set misc flags there. Misc properties put there are copied to player characters and such so I'm assuming this is an oversight and made it copy the entire table.

Brawler NPCs like to equip weapons in their inventory since their hands are empty in onAddedToLevel, so this uses the above to add a no_npc_weapon_equip flag to the Brawler descriptors.

Merge request reports

Loading