haosura Posted December 22, 2019 Share Posted December 22, 2019 Firstly, I make an event to caculate how much the killed one worth. Then I set a global variable with that value. Like this. This event proc when PvP Death  Then I make an event that reward the killer by that value. Like this, I put an very small wait at head for sure that first event was proc. With small ping on server, this should be done well, there is very very small chance for two player be killed at same time. But I need some idea to improve this work 100%. Can you give me some. Thanks. Sorry if my english not good. Ainz Ooal Gown 1 Link to comment Share on other sites More sharing options...
Ainz Ooal Gown Posted December 24, 2019 Share Posted December 24, 2019 Interesting way of doing this, however Im not sure what would happen if the global event is triggred at the same time by two PvP battles and two deaths... Link to comment Share on other sites More sharing options...
haosura Posted January 4, 2020 Author Share Posted January 4, 2020 On 12/24/2019 at 8:23 PM, Ainz Ooal Gown said: Interesting way of doing this, however Im not sure what would happen if the global event is triggred at the same time by two PvP battles and two deaths... Yeah, I think I need another way. Or make mutiple global and random what will be using each time to reduce the chance that happen. Ainz Ooal Gown 1 Link to comment Share on other sites More sharing options...
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