Fixed player:HasTalent, changed unit:GetCreatureType description, added creature:GetCreatureFamily

This commit is contained in:
Grymskvll
2018-06-09 16:56:07 +02:00
parent 9b5499db9c
commit 3db9e63bd9
4 changed files with 107 additions and 12 deletions

View File

@@ -1,4 +1,4 @@
/*
/*
* Copyright (C) 2010 - 2016 Eluna Lua Engine <http://emudevs.com/>
* This program is free software licensed under GPL version 3
* Please see the included DOCS/LICENSE.md for more information
@@ -784,6 +784,7 @@ ElunaRegister<Creature> CreatureMethods[] =
{ "GetShieldBlockValue", &LuaCreature::GetShieldBlockValue },
#endif
{ "GetDBTableGUIDLow", &LuaCreature::GetDBTableGUIDLow },
{ "GetCreatureFamily", &LuaCreature::GetCreatureFamily },
// Setters
{ "SetHover", &LuaCreature::SetHover },