EC: Add another string ID for failure to meditate to skill delay check

The EC has 2 string IDs 501848 and 501850 for the error message: "You cannot focus your concentration."  Currently it only checks for 501848 when setting the skill delay timer.  But the system uses both

The following code will add 501850 to the list of string IDs to check

In the function TextParsing.TimersNbuff in the file source\TextParsing.lua
replace the line
	if (SystemData.TextID == 501846  or SystemData.TextID == 501848 or SystemData.TextID == 501845 or SystemData.TextID == 501851) then
with
--old code 	if (SystemData.TextID == 501846  or SystemData.TextID == 501848 or SystemData.TextID == 501845 or SystemData.TextID == 501851) then
--start of added code
if (SystemData.TextID == 501846 or -- "You are at peace."
SystemData.TextID == 501848 or -- "You cannot focus your concentration."
SystemData.TextID == 501850 or -- "You cannot focus your concentration."
SystemData.TextID == 501845 or -- "You are busy doing something else and cannot focus."
SystemData.TextID == 501851) then -- "You enter a meditative trance."
--end of added code

Sign In or Register to comment.