{"action":"created","issue":{"url":"https://api.github.com/repos/TrinityCore/TrinityCore/issues/15325","labels_url":"https://api.github.com/repos/TrinityCore/TrinityCore/issues/15325/labels{/name}","comments_url":"https://api.github.com/repos/TrinityCore/TrinityCore/issues/15325/comments","events_url":"https://api.github.com/repos/TrinityCore/TrinityCore/issues/15325/events","html_url":"https://github.com/TrinityCore/TrinityCore/issues/15325","id":102338215,"number":15325,"title":"Inn rested state fades too early","user":{"login":"Trisjdc","id":7476368,"avatar_url":"https://avatars.githubusercontent.com/u/7476368?v=3","gravatar_id":"","url":"https://api.github.com/users/Trisjdc","html_url":"https://github.com/Trisjdc","followers_url":"https://api.github.com/users/Trisjdc/followers","following_url":"https://api.github.com/users/Trisjdc/following{/other_user}","gists_url":"https://api.github.com/users/Trisjdc/gists{/gist_id}","starred_url":"https://api.github.com/users/Trisjdc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Trisjdc/subscriptions","organizations_url":"https://api.github.com/users/Trisjdc/orgs","repos_url":"https://api.github.com/users/Trisjdc/repos","events_url":"https://api.github.com/users/Trisjdc/events{/privacy}","received_events_url":"https://api.github.com/users/Trisjdc/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/TrinityCore/TrinityCore/labels/Branch-3.3.5a","name":"Branch-3.3.5a","color":"188846"},{"url":"https://api.github.com/repos/TrinityCore/TrinityCore/labels/Comp-Core","name":"Comp-Core","color":"FF6600"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-08-21T09:31:07Z","updated_at":"2015-08-21T14:55:20Z","closed_at":null,"body":"Inn rested state is fading as soon as the player is out of range of the areatrigger. Especially noticeable in major cities, where the areatrigger is located at the entrance and not at the inn, and the player can't keep rested state on the inn (in Ironforge for example)\r\nIssue caused by https://github.com/TrinityCore/TrinityCore/commit/12931f4762d2592e4b28c6e6bf137b3348230c45\r\n\r\nOn https://www.youtube.com/watch?v=m29ZM6ZiALg, it can be seen you only lose the rested state when you leave the Ironforge area. It's possible that the rested state should only fade if you leave the area in which the areatrigger is.\r\n\r\nCore revision: https://github.com/TrinityCore/TrinityCore/commit/e287d243a3e4b58b597e284f32f6c59b6417c7e2\r\nTDB 335.59_2015_07_14"},"comment":{"url":"https://api.github.com/repos/TrinityCore/TrinityCore/issues/comments/133452680","html_url":"https://github.com/TrinityCore/TrinityCore/issues/15325#issuecomment-133452680","issue_url":"https://api.github.com/repos/TrinityCore/TrinityCore/issues/15325","id":133452680,"user":{"login":"Rochet2","id":468816,"avatar_url":"https://avatars.githubusercontent.com/u/468816?v=3","gravatar_id":"","url":"https://api.github.com/users/Rochet2","html_url":"https://github.com/Rochet2","followers_url":"https://api.github.com/users/Rochet2/followers","following_url":"https://api.github.com/users/Rochet2/following{/other_user}","gists_url":"https://api.github.com/users/Rochet2/gists{/gist_id}","starred_url":"https://api.github.com/users/Rochet2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rochet2/subscriptions","organizations_url":"https://api.github.com/users/Rochet2/orgs","repos_url":"https://api.github.com/users/Rochet2/repos","events_url":"https://api.github.com/users/Rochet2/events{/privacy}","received_events_url":"https://api.github.com/users/Rochet2/received_events","type":"User","site_admin":false},"created_at":"2015-08-21T14:55:20Z","updated_at":"2015-08-21T14:55:20Z","body":"It seems having a smart script returns true for the hook handler and true means that the default action is skipped. Areatrigger scripts in general should probably mostly return false in any situation to allow normal trigger behavior.\r\n"}}