Jump to content
  • 0

Karma / Fame


cahadeyelo

Question


  • Group:  Members
  • Topic Count:  68
  • Topics Per Day:  0.02
  • Content Count:  168
  • Reputation:   1
  • Joined:  11/13/14
  • Last Seen:  

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  /no1  /no1

- 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;
}

karma fame.txt

Edited by Skorm
Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...