- 0
Sign in to follow this
Followers
0
Add skill by using OnPCStatCalcEvent dosn't work..
Asked by
heroji
-
Recently Browsing 0 members
No registered users viewing this page.
i have found this topic https://herc.ws/board/topic/11042-add-skills-through-scripts/
I have installed the pluglin OnPCStatCalcEvent and run this script by @AnnieRuru but seems not working when i add skill and changed equip, nothing happen..
prontera,155,185,5 script kjdshfkdjsf 1_F_MARIA,{ addjobskill = 0; mes "select the type of skills you want to learn"; next; addjobskill = select( "swordsman", "mage", "acolyte" ); mes "your skills will be added the next time you adjust your equipment !"; close; OnPCStatCalcEvent: switch ( addjobskill ) { case 1: skill "SM_BASH", 10; skill "SM_PROVOKE", 10; skill "SM_MAGNUM", 10; break; case 2: skill "MG_FIREBOLT", 10; skill "MG_LIGHTNINGBOLT", 10; skill "MG_COLDBOLT", 10; break; case 3: skill "AL_HEAL", 10; skill "AL_INCAGI", 10; skill "AL_BLESSING", 10; break; default: } end; }
Share this post
Link to post
Share on other sites