Currently Posted December 21, 2012 Posted December 21, 2012 Can I request a script where they have to kill another player to earn another pvp points? Example: Player 1 killed Player 2 for a point. Player 1 has to kill Player 3 for a point. Player 1 can kill Player 2 again for a point. Overview: Player 1 can't keep killing Player 2. Player 1 have to kill another player. Quote
1 Euphy Posted December 21, 2012 Posted December 21, 2012 - script PVP_Points -1,{ OnPCKillEvent: if (killedrid == getcharid(3) || killedrid == last_kill) end; set last_kill, killedrid; set #CASHPOINTS, #CASHPOINTS+1; dispbottom "Gained a kill point! Total: "+#CASHPOINTS; end; } 1 Quote
0 kyleanthonydizon Posted May 7, 2017 Posted May 7, 2017 On 12/21/2012 at 10:18 AM, Euphy said: - script PVP_Points -1,{ OnPCKillEvent: if (killedrid == getcharid(3) || killedrid == last_kill) end; set last_kill, killedrid; set #CASHPOINTS, #CASHPOINTS+1; dispbottom "Gained a kill point! Total: "+#CASHPOINTS; end; } Hi sir, what if I want to add to PvP and WoE Maps only? And minus points everytime you die. Quote
AnnieRuru Posted December 21, 2012 Posted December 21, 2012 I think the last_kill variable can be change into a temporary player variable ... this killedrid is not a permanent player variable, its a constant http://www.eathena.ws/board/index.php?autocom=bugtracker&showbug=3249 Quote
Currently Posted December 21, 2012 Author Posted December 21, 2012 (edited) Thank you! Working perfectly (: Edited December 21, 2012 by Dreamworks Quote
Euphy Posted December 21, 2012 Posted December 21, 2012 I think the last_kill variable can be change into a temporary player variable ... You can farm kills logging in and out, then. Quote
AnnieRuru Posted December 21, 2012 Posted December 21, 2012 (edited) I think the last_kill variable can be change into a temporary player variable ... You can farm kills logging in and out, then. ahh ... that's because its from my experiences from working on a live server ...because every pvp maps has nosave mapflag to prevent them from ambushing other players by logging-out-and-in ... it has become an instinct to me that every event script has nowarp/nowarpto/noteleport/nosave mapflags =/ PS: and ... I usually never use permanent player variable in an event script ... I guess this one is an exception ... Edited December 21, 2012 by AnnieRuru Quote
Virtue Posted December 21, 2012 Posted December 21, 2012 - script PVP_Points -1,{ OnPCKillEvent: if (killedrid == getcharid(3) || killedrid == last_kill) end; set last_kill, killedrid; set Pvp Points, Pvp Points+1; dispbottom "Gained a kill point! Total: "+Pvp Points; end; } is this possible? or do i have to make it "Pvp Points" ? nvm, solved it, used @Emistry's Custom Currency Shop. Thanks Quote
Question
Currently
Can I request a script where they have to kill another player to earn another pvp points?
Example:
Player 1 killed Player 2 for a point.
Player 1 has to kill Player 3 for a point.
Player 1 can kill Player 2 again for a point.
Overview: Player 1 can't keep killing Player 2. Player 1 have to kill another player.
7 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.