megone Posted August 28, 2015 Posted August 28, 2015 prontera,164,168,5 script Dodong Magnum 742,{ percentheal 100,100; skilleffect 34,0; sc_start SC_BLESSING,3600000,10; skilleffect 29,0; sc_start SC_INCREASEAGI,3600000,10; skilleffect 74,0; sc_start SC_MAGNIFICAT,3600000,5; skilleffect 33,0; sc_start SC_ANGELUS,3600000,10; if ( Class <= Job_Knight || Class <= Job_Lord_Knight){ skilleffect 452,0; sc_start SC_KNIGHT,3600000,5; } } pa fix po ng soul linker buff ayaw gumana. after that wala na hang na sya Quote
Ninja Posted August 29, 2015 Posted August 29, 2015 (edited) Don't use sc_knight, use sc_spirit instead. by the way, sc_spirit works for every job class. You need not add an if statement to do that if you aim to give every job a soul link buff. And I noticed something, try not to use "<=" if you're pertaining to a specific job class, use "==" instead. here's the full code. prontera,164,168,5 script Dodong Magnum 742,{ percentheal 100,100; skilleffect 34,0; sc_start SC_BLESSING,3600000,10; skilleffect 29,0; sc_start SC_INCREASEAGI,3600000,10; skilleffect 74,0; sc_start SC_MAGNIFICAT,3600000,5; skilleffect 33,0; sc_start SC_ANGELUS,3600000,10; if ( Class == Job_Knight || Class == Job_Lord_Knight){ // you can take this off to allow all job soul linking skilleffect 452,0; sc_start SC_SPIRIT,3600000,5; } } screeny: Edited August 29, 2015 by jezznar 1 Quote
megone Posted September 4, 2015 Author Posted September 4, 2015 thanks man! ill improve my custom NPC Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.