it only links damage dealt
1 - Whenever you're typing code, you should use the CODE tags (the </> icon above). This preserves indentations, characters inside brackets, and makes it much more legible than what you have above.
2 - Just pasting the tag from the other thread (which was already referenced) without answering what
@eomereolsson asked isn't helpful.
As he said, this notetag
should already be doing that. States (and everything else in the Effects window of your skill entry) are given via the applyItemEffect function, which
is called inside Game_Action.apply().
Therefore, if calling .apply() works, it should be executing the damage and literally two lines later applying the effects.
So the question goes back to how are you applying the state? Is it that way, an Effect on the skill? Or something else?