TrinityCore/TrinityCore — pull request #12972 by Odyssey (2014-08-29 17:52:33+00:00)
Title: Scripts/Commands: Allow to set a custom duration to the Freeze command Aura

- Allow to set a default duration for the Freeze Aura in worldserver.conf
- Handle the .freeze and .unfreeze command custom effects through the Freeze AuraScript
- Make players able to eventually unfreeze by themselves since the aura will expire without someone having to use .unfreeze if its duration isn't permanent
- Make .freeze command usable with the following syntax:

* .freeze (with a targeted player)
* .freeze duration_in_seconds (with a targeted player)
* .freeze playername duration (if duration is an invalid value it will be defaulted to the config one)
* .freeze playername (in this case, duration will be defaulted to the config value)