In your attackhandler, you should have a place for magic attacks.
In there you check for the id and then do whatever it should do.
The effect itself is send through the attackpacket or whatever with the skill id, then client receives it and shows the animation.
Lol, I knew that was coming.
I honestly don't know why you all are trying to answer this thread though. People who cannot code shouldn't be trying to make new skills.
[V]Hatorjas Ninja Level 78 !2G Skills!!3P Skills! [S]Psc oder anere metin2 accs 09/18/2012 - Metin2 Trading - 5 Replies Hallo
Wollte mal mein Ninja Acc vken...
Ihr kriegt : ID / Pw / E-Mail änderrung
Der Account ist NICHT verskillt!
Es ist ein Nah-Ninja auf den Server Hatorjas , der Char ist Level 78
Der Acc hat nur noch paar Lucy Ringe und son Müll
[V]Hatorjas Ninja Level 78 !2G Skills!!2P Skills! Nicht verskillt [S]Psc oder E*Gold 05/06/2011 - Metin2 Trading - 15 Replies Hallo
Wollte mal mein Ninja Acc vken... ;)
Ihr kriegt : ID / Pw / E-Mail änderrung
Der Account ist NICHT verskillt!
Es ist ein Nah-Ninja auf den Server Hatorjas , der Char ist Level 78
Der Acc hat nur noch paar Lucy Ringe und son Müll :D