[Feature] Add special ability to block /open (#2506)

This adds the IMMUNE_OPEN (53) special ability to prevent /open on
LDON_TREASURE classes.
This commit is contained in:
hg authored and GitHub committed 2022-10-29 19:48:14 -04:00
1 parent 56510e6383
commit 16ee25224d
3 files changed
+10 -2

No files matched your search

+2 -1
View File
@@ -2952,7 +2952,8 @@ luabind::scope lua_register_special_abilities() {
luabind::value("immune_damage_npc", static_cast<int>(IMMUNE_DAMAGE_NPC)),
luabind::value("immune_aggro_client", static_cast<int>(IMMUNE_AGGRO_CLIENT)),
luabind::value("immune_aggro_npc", static_cast<int>(IMMUNE_AGGRO_NPC)),
luabind::value("modify_avoid_damage", static_cast<int>(MODIFY_AVOID_DAMAGE))
luabind::value("modify_avoid_damage", static_cast<int>(MODIFY_AVOID_DAMAGE)),
luabind::value("immune_open", static_cast<int>(IMMUNE_OPEN))
];
}