Can you Help me change the max of negative karma into -1k max (Angel )then 100k posstive karma ( Evil ) and add Penalty item drop When killed by player for Evil karma
thanks a lot
- script pk_manner_add -1,{
OnPCKillEvent:
if(isloggedin(killedrid)) { // you don't get points for non players
set FAMEPOINTS, FAMEPOINTS + 1;
set KARMAPOINTS, KARMAPOINTS+rand(50,300);
set .@killer, getcharid(3); // save rid []
set .@fame, FAMEPOINTS;
set .@karma, KARMAPOINTS;
attachrid(killedrid); //attaches script to player that got killed
set KARMAPOINTS, KARMAPOINTS-rand(50,300);
dispbottom rid2name(.@killer)+" (Karma: "+.@karma+" Fame: "+.@fame+" ) just killed "+strcharinfo(0)+" (Karma: "+KARMAPOINTS+" Fame: "+FAMEPOINTS+")";
set .@fame, FAMEPOINTS;
set .@karma, KARMAPOINTS;
attachrid(.@killer);
dispbottom strcharinfo(0)+" (Karma: "+KARMAPOINTS+" Fame: "+FAMEPOINTS+")" just killed "+rid2name(killedrid)+" (Karma: "+.@karma+" Fame: "+.@fame+" )";
}
end;
}
Question
cahadeyelo
Can you Help me change the max of negative karma into -1k max (Angel )then 100k posstive karma ( Evil ) and add Penalty item drop When killed by player for Evil karma
thanks a lot

karma fame.txt
Edited by Skorm0 answers to this question
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.