Haven't played around much with K in DIYCE but the following
should work;
Original DIYCE
|
Source code
|
1
|
i=i+1; Skill[i] = { ["name"] = "Punishment", ["use"] = (not friendly) and (string.find(tbuffs,"Light Seal III")) }
|
DIYCE v2
|
Source code
|
1
|
{ name = "Punishment", use = (enemy) and (tbuffs["Light Seal III"]) },
|
May need to confirm the string to look for.
Hope that helps...