sietse11 Posted January 26, 2014 Share Posted January 26, 2014 (edited) Heres the script prontera,148,188,6 npc Shaman Seer 720,{ mes "[Shaman Seer]"; mes "Hello adventurer."; mes "I can allign your spirit with the stars."; mes "Simple pay me 20.000 Zeny"; next; ( switch( select "Sure take my money", "No thanks" ) ) { case 1: { switch ( basejob ) { case Job_Alchemist: set [email protected], 445; break; case Job_Monk: set [email protected], 447; break; case Job_Star_Gladiator: set [email protected], 448; break; case Job_Sage: set [email protected], 449; break; case Job_Crusader: set [email protected], 450; break; case Job_SuperNovice: set [email protected], 451; break; case Job_Knight: set [email protected], 452; break; case Job_Wizard: set [email protected], 453; break; case Job_Priest: set [email protected], 454; break; case Job_Bard: case Job_Dancer: set [email protected], 455; break; case Job_Rogue: set [email protected], 456; break; case Job_Assassin: set [email protected], 457; break; case Job_Blacksmith: set [email protected], 458; break; case Job_Hunter: set [email protected], 460; break; case Job_Soul_Linker: set [email protected], 461; break; default: if ( upper == 1 && baselevel < 70 ) set [email protected], 494; Zeny, Zeny-20000; close; } if ( [email protected] ) { sc_start4 sc_spirit, [email protected], 5, [email protected],0,0; skilleffect [email protected], 5; } } case 2: { close; } } Will this work? I addapted it from this script. http://rathena.org/board/topic/69818-soul-link-skill-buff-script/#entry132448 Any help will be greatly appreciated. Edited January 26, 2014 by sietse11 Quote Link to comment Share on other sites More sharing options...
sietse11 Posted January 26, 2014 Author Share Posted January 26, 2014 (edited) change log ---- npc replaced with script ------- closed replaced with end simple replaced with simply ------- Test in 45 minutes prontera,148,188,6 script Shaman Seer 720,{ mes "[Shaman Seer]"; mes "Hello adventurer."; mes "I can allign your spirit with the stars."; mes "Simply pay me 100.000 Zeny"; next; switch ( select ( "Sure take my money", "No thanks" ) ) { case 1: { switch ( basejob ) { case Job_Alchemist: set [email protected], 445; set Zeny, Zeny-100000; break; case Job_Monk: set [email protected], 447; set Zeny, Zeny-100000; break; case Job_Star_Gladiator: set [email protected], 448; set Zeny, Zeny-100000; break; case Job_Sage: set [email protected], 449; set Zeny, Zeny-100000; break; case Job_Crusader: set [email protected], 450; set Zeny, Zeny-100000; break; case Job_SuperNovice: set [email protected], 451; set Zeny, Zeny-100000; break; case Job_Knight: set [email protected], 452; set Zeny, Zeny-100000; break; case Job_Wizard: set [email protected], 453; set Zeny, Zeny-100000; break; case Job_Priest: set [email protected], 454; set Zeny, Zeny-100000; break; case Job_Bard: case Job_Dancer: set [email protected], 455; set Zeny, Zeny-100000; break; case Job_Rogue: set [email protected], 456; set Zeny, Zeny-100000; break; case Job_Assassin: set [email protected], 457; set Zeny, Zeny-100000; break; case Job_Blacksmith: set [email protected], 458; set Zeny, Zeny-100000; break; case Job_Hunter: set [email protected], 460; set Zeny, Zeny-100000; break; case Job_Soul_Linker: set [email protected], 461; set Zeny, Zeny-100000; break; default: if ( upper == 1 && baselevel < 70 ) set [email protected], 494; end; } if ( [email protected] ) { sc_start4 sc_spirit, [email protected], 5, [email protected],0,0; skilleffect [email protected], 5; } } case 2: { close; } } Edited January 31, 2014 by sietse11 Quote Link to comment Share on other sites More sharing options...
Capuche Posted January 26, 2014 Share Posted January 26, 2014 close; } if ( [email protected] ) { sc_start4 sc_spirit, [email protected], 5, [email protected],0,0; skilleffect [email protected], 5; } } case 2: { close; change close to end -> then try it Quote Link to comment Share on other sites More sharing options...
sietse11 Posted January 26, 2014 Author Share Posted January 26, 2014 (edited) I think the initial test failed cause of prontera,148,188,6 npc Shaman Seer 720,{ not being prontera,148,188,6 script Shaman Seer 720,{ Edited January 26, 2014 by sietse11 Quote Link to comment Share on other sites More sharing options...
Dynasty Posted January 26, 2014 Share Posted January 26, 2014 but also you have to use end instead of close Quote Link to comment Share on other sites More sharing options...
Heres the script
prontera,148,188,6 npc Shaman Seer 720,{ mes "[Shaman Seer]"; mes "Hello adventurer."; mes "I can allign your spirit with the stars."; mes "Simple pay me 20.000 Zeny"; next; ( switch( select "Sure take my money", "No thanks" ) ) { case 1: { switch ( basejob ) { case Job_Alchemist: set [email protected], 445; break; case Job_Monk: set [email protected], 447; break; case Job_Star_Gladiator: set [email protected], 448; break; case Job_Sage: set [email protected], 449; break; case Job_Crusader: set [email protected], 450; break; case Job_SuperNovice: set [email protected], 451; break; case Job_Knight: set [email protected], 452; break; case Job_Wizard: set [email protected], 453; break; case Job_Priest: set [email protected], 454; break; case Job_Bard: case Job_Dancer: set [email protected], 455; break; case Job_Rogue: set [email protected], 456; break; case Job_Assassin: set [email protected], 457; break; case Job_Blacksmith: set [email protected], 458; break; case Job_Hunter: set [email protected], 460; break; case Job_Soul_Linker: set [email protected], 461; break; default: if ( upper == 1 && baselevel < 70 ) set [email protected], 494; Zeny, Zeny-20000; close; } if ( [email protected] ) { sc_start4 sc_spirit, [email protected], 5, [email protected],0,0; skilleffect [email protected], 5; } } case 2: { close; } }Will this work?
I addapted it from this script.
http://rathena.org/board/topic/69818-soul-link-skill-buff-script/#entry132448
Any help will be greatly appreciated.
Edited by sietse11Link to comment
Share on other sites