[API] Perl functions to set invulnerable to and modify environmental damage. (#2044)

* invulnerable

* modifier

* fix

* fix

* fix

* [API] Perl functions to set invulnerable to and modify environmental damage.

* [API] Perl and Lua functions to set invulnerable to and modify environmental damage.

credit to kinglykrab for lua
This commit is contained in:
KayenEQ authored and GitHub committed 2022-03-08 19:50:46 -05:00
1 parent 5b6f1d38be
commit dbe0591b09
6 files changed
+113

No files matched your search

+5
View File
@@ -393,6 +393,11 @@ public:
void RemoveItem(uint32 item_id, uint32 quantity);
void SetGMStatus(uint32 newStatus);
int GetEnvironmentDamageModifier();
void SetEnvironmentDamageModifier(int value);
bool GetInvulnerableEnvironmentDamage();
void SetInvulnerableEnvironmentDamage(bool value);
void SetPrimaryWeaponOrnamentation(uint32 model_id);
void SetSecondaryWeaponOrnamentation(uint32 model_id);