diff --git a/npc/other/Global_Functions.txt b/npc/other/Global_Functions.txt index 813ba3033c..3e0ea5d2bf 100644 --- a/npc/other/Global_Functions.txt +++ b/npc/other/Global_Functions.txt @@ -46,6 +46,7 @@ //= 2.26 Added "F_getpositionname". [Capuche] //= 2.27 Added "F_GetPlatinumSkills". [mazvi] //= 2.28 Added "close3". [Capuche] +//= 2.29 Updated "F_IsCharm" to support all latest enchants [Everade] //============================================================ ////////////////////////////////////////////////////////////////////////////////// @@ -765,5 +766,5 @@ function script close3 { ////////////////////////////////////////////////////////////////////////////////// function script F_IsCharm { .@id = getarg(0); - return ((.@id >= 4700 && .@id < 5000) || (.@id >= 29000 && .@id <= 29162)); + return ((.@id >= 4700 && .@id <= 4999) || (.@id >= 29000 && .@id <= 29689) || (.@id >= 310000 && .@id <= 311091 )); }