mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-31 04:56:20 +00:00
[Quest API] Add GetEnvironmentalDamageName() to Perl/Lua. (#1964)
- Add EQ::constants::GetEnvironmentalDamageMap() and EQ::constants::GetEnvironmentalDamageName(). - Add quest::getenvironmentaldamagename(damage_type) to Perl. - Add eq.get_environmental_damage_name(damage_type) to Lua. - Cleanup GM messages for avoiding environmental damage.
This commit is contained in:
+2
-1
@@ -330,7 +330,8 @@ public:
|
||||
std::string getinventoryslotname(int16 slot_id);
|
||||
int getitemstat(uint32 item_id, std::string stat_identifier);
|
||||
int getspellstat(uint32 spell_id, std::string stat_identifier, uint8 slot = 0);
|
||||
const SPDat_Spell_Struct *getspell(uint32 spell_id);
|
||||
const SPDat_Spell_Struct *getspell(uint32 spell_id);
|
||||
std::string getenvironmentaldamagename(uint8 damage_type);
|
||||
|
||||
Client *GetInitiator() const;
|
||||
NPC *GetNPC() const;
|
||||
|
||||
Reference in New Issue
Block a user