Works for all classes, not only hunter. Pet also saved in DB.
Signed-off-by: dythzer <micke223@gmail.com>
Command renamed to .npc tame and code updated to use common function with spell effect.
Targeted creature not killed and tamed pet show up before player.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
Signed-off-by: dythzer <micke223@gmail.com>
* Also implement .npc unfollow for cancel following.
* Help and mangos strings.
* Unrelated small fixes in mangos.sql.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
for selected player
Signed-off-by: dythzer <micke223@gmail.com>
Add help text and mangos strings.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
* Provided ChatHandler::GetName for player name/"console command" output dependent from chat/console command call.
* New function for check when command work result send to command target.
* Remove unrequired complexy in mangos string usage in some commands.
slit ban/baninfi/banlist/unban commands to subcommands (this allow write not full subcomand string ".ban acc ...".
Fixed crash at unexpected use .account in console.
Fixed hide .gm on by .gm online (renamed to .gm ingame)
Now console/RA uas same commads as used in chat if selected command marked as safe for console.
Some commands accessable only at console and have security level 4. See sql update for new command names.
Not all commands that safe (or can be modified to safe) for console allowed currently for use in console input, this will be fixed later.