This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..
AdBlock Extension Detected!
Our website is made possible by displaying online advertisements to our members.
Please disable AdBlock browser extension first, to be able to use our community.
Question
StarSCreams
hi, i working with Fandc/ro team files and try add Killing spree system
Any can help me with add killing spree?
i already add some lines in java/model/player.java but dont work properly
Problem: cannot stop killer on death, i need stop killing_spree when killer die
find: private long _resurrectionBuffBlockedTime = 0;
i put below
find: protected void doPKPVPManage(Creature killer) {
and search pk.setPvpKills(pk.getPvpKills() + 1); and i put below
find protected void onDeath(Creature killer) {
i put below
When i test in game nothing happens and only show messages from switch if i delete kill_streak = 0; on protected void onDeath(Creature killer) { class
any can help me? thanks sorry for my bad english.
Edited by StarSCreamstest results
4 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now