Updated "F_IsCharm" function to support all latest enchants. (#6391)
Please note that there are some gaps in between these ID ranges, but since we did the same with ID 4700 - 4999, i figured it should be fine. Fixed #6389
This commit is contained in:
parent
4cd2ef747d
commit
17d58f0559
@ -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 ));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user