Add UpdateEntry method for creature. Closes #67

Fix optional arg

Fix mangos code
This commit is contained in:
Rochet2
2014-06-19 13:10:53 +03:00
committed by Foereaper
parent aa96c42eb0
commit 98aa2d18ef
2 changed files with 14 additions and 0 deletions

View File

@@ -778,6 +778,7 @@ ElunaRegister<Creature> CreatureMethods[] =
{ "SaveToDB", &LuaCreature::SaveToDB }, // :SaveToDB() - Saves to database
{ "SelectVictim", &LuaCreature::SelectVictim }, // :SelectVictim() - Selects a victim
{ "MoveWaypoint", &LuaCreature::MoveWaypoint }, // :MoveWaypoint()
{ "UpdateEntry", &LuaCreature::UpdateEntry }, // :UpdateEntry(entry[, dataGuidLow]) - Sets the creature's data from the given entry and guid. Guid can be left out.
{ NULL, NULL },
};