antiblock
Rodnia | Alpha & Omega
  • Chatbox

    Did you check out our Discord? https://discord.gg/FFdvMjk9xA
    You don't have permission to chat.
    Load More
  • 0
Sign in to follow this  
Truta190

Drops não somem

Question

Olá percebi que em meu servidor os itens demora 15 minutos para sumir do chão , em que parte da soucer é possivel alterar para sumir?

Share this post


Link to post
Share on other sites

1 answer to this question

  • 0

item.h

void		StartDestroyEvent(int iSec=300);

mudas o 300 (300 é o valor normal, podes ter um valor maior)

 

char_item.cpp

pkItemToDrop->StartDestroyEvent();

Mudas para algo tipo (segundos):

pkItemToDrop->StartDestroyEvent(5);

 

O primeiro código é o drop dos itens quando são dropados por monstros, o segundo código é o tempo que fica no chão quando dropado por um player.

Share this post


Link to post
Share on other sites
antiblock
https://i.imgur.com/aJ17bf7.gif

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this