- script orc_face -1,{
OnInit:
setitemscript 601,"{ if ( !@orc_face ) itemskill \"AL_TELEPORT\",1; }";
setitemscript 602,"{ if ( !@orc_face ) itemskill \"AL_TELEPORT\",3; }";
end;
OnPCKillEvent:
if( baselevel < 175 || killedrid == getcharid(3) || getstatus( SC_ORCISH ) || getcharip() == getcharip(name2rid(killedrid)) ) { end; }
if( !getstatus(SC_ORCISH,0,getcharid(0,rid2name(killedrid))) ) { sc_start SC_ORCISH,60000,10,10000,SCSTART_NOTICKDEF,killedrid; set @orc_face, @orc_face + 1, getcharid(0,rid2name(killedrid)); }
set FAMEPOINTS,FAMEPOINTS + 1;
dispbottom "Gained : "+ 1 +" Point(s). Total : "+ FAMEPOINTS +" Fame Point(s).";
end;
OnPCDieEvent:
@orc_face = 0;
sc_end SC_ORCISH;
if( baselevel < 175 || killerrid == getcharid(3) || killerrid > 2999999 || killerrid == NULL || getcharip() == getcharip(name2rid(killedrid)) ) { end; }
set KARMAPOINTS,KARMAPOINTS + 1;
dispbottom "Gained : "+ 1 +" Point(s). Total : "+ KARMAPOINTS +" Karma Point(s).";
end;
}
OnInit:
setitemscript 601,"{ if ( !@orc_face ) itemskill \"AL_TELEPORT\",1; }";
setitemscript 602,"{ if ( !@orc_face ) itemskill \"AL_TELEPORT\",3; }";
end;
OnPCKillEvent:
if( baselevel < 175 || killedrid == getcharid(3) || getstatus( SC_ORCISH ) || getcharip() == getcharip(name2rid(killedrid)) ) { end; }
if( !getstatus(SC_ORCISH,0,getcharid(0,rid2name(killedrid))) ) { sc_start SC_ORCISH,60000,10,10000,SCSTART_NOTICKDEF,killedrid; set @orc_face, @orc_face + 1, getcharid(0,rid2name(killedrid)); }
set FAMEPOINTS,FAMEPOINTS + 1;
dispbottom "Gained : "+ 1 +" Point(s). Total : "+ FAMEPOINTS +" Fame Point(s).";
end;
OnPCDieEvent:
@orc_face = 0;
sc_end SC_ORCISH;
if( baselevel < 175 || killerrid == getcharid(3) || killerrid > 2999999 || killerrid == NULL || getcharip() == getcharip(name2rid(killedrid)) ) { end; }
set KARMAPOINTS,KARMAPOINTS + 1;
dispbottom "Gained : "+ 1 +" Point(s). Total : "+ KARMAPOINTS +" Karma Point(s).";
end;
}