Issue Information
-
#007538
-
0 - None Assigned
-
Invalid
Issue Confirmations
-
Yes (0)No (2)
prontera,161,189,6 script Premium Buffer 72,{
if(getgroupid() == 0){
message strcharinfo(0),"You're not allowed to use my service..";
close;
}
switch ( basejob ) {
case Job_Alchemist: set .@spirit, 445; break;
case Job_Monk: set .@spirit, 447; break;
case Job_Star_Gladiator: set .@spirit, 448; break;
case Job_Sage: set .@spirit, 449; break;
case Job_Crusader: set .@spirit, 450; break;
case Job_SuperNovice: set .@spirit, 451; break;
case Job_Knight: set .@spirit, 452; break;
case Job_Wizard: set .@spirit, 453; break;
case Job_Priest: set .@spirit, 454; break;
case Job_Bard: case Job_Dancer: set .@spirit, 455; break;
case Job_Rogue: set .@spirit, 456; break;
case Job_Assassin: set .@spirit, 457; break;
case Job_Blacksmith: set .@spirit, 458; break;
case Job_Hunter: set .@spirit, 460; break;
case Job_Soul_Linker: set .@spirit, 461; break;
default:
if ( upper == 1 && baselevel < 70 )
set .@spirit, 494;
}
if ( .@spirit ) {
sc_start4 SC_SOULLINK, 900000, 5, .@spirit,0,0;
skilleffect .@spirit, 5;
}
sc_start SC_SECRAMENT,900000,5;
sc_start SC_IMPOSITIO,900000,5;
sc_start SC_INC_AGI,900000,10;
sc_start SC_BLESSING,900000,10;
end;
}
This script works perfectly but using this npc while sitting will get you stand up but still your status is still sitting and you can't move. Insert, /sit, /stand does not work. To bring your status back you'll need to use @refresh and that's annoying for me.
if(issit(""+strcharinfo(0)+"") == 1){ stand(""+strcharinfo(0)+""); }
Edited by bgamez23, 17 July 2013 - 08:05 AM.
- script item_soullink -1,{ OnSoulLink: if ( .@spirit = .spirit[BaseJob] ); else if ( Upper & 1 && BaseLevel < 70 ) .@spirit = 494; else end; stand(); sc_start4 SC_SOULLINK, -1, 1, .@spirit,0,0; skilleffect .@spirit, 1; end; OnInit: bindatcmd "link", strnpcinfo(0)+"::OnSoulLink"; .spirit[Job_Alchemist] = 445; .spirit[Job_Monk] = 447; .spirit[Job_Star_Gladiator] = 448; .spirit[Job_Sage] = 449; .spirit[Job_Crusader] = 450; .spirit[Job_SuperNovice] = 451; .spirit[Job_Knight] = 452; .spirit[Job_Wizard] = 453; .spirit[Job_Priest] = 454; .spirit[Job_Bard] = .spirit[Job_Dancer] = 455; .spirit[Job_Rogue] = 456; .spirit[Job_Assassin] = 457; .spirit[Job_Blacksmith] = 458; .spirit[Job_Hunter] = 460; .spirit[Job_Soul_Linker] = 461; end; }use the *stand script command before sc_start next time
AnnieRuru the one that you made is you make the character stand right after you receive a soul link buffs.
I only made them inside script request