Jump to content
  • 0

Food upon death bug?


Alexandrite

Question


  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.01
  • Content Count:  54
  • Reputation:   0
  • Joined:  02/19/14
  • Last Seen:  

i use script

        // = STR / AGI / VIT / INT / DEX / LUK Food =
        sc_start SC_FOOD_STR_CASH, (@runtime*60000), 10;
        sc_start SC_FOOD_AGI_CASH, (@runtime*60000), 10;
        sc_start SC_FOOD_VIT_CASH, (@runtime*60000), 10;
        sc_start SC_FOOD_INT_CASH, (@runtime*60000), 10;
        sc_start SC_FOOD_DEX_CASH, (@runtime*60000), 10;
        sc_start SC_FOOD_LUK_CASH, (@runtime*60000), 10;

 

and when i try get killed by monter or test @die my cash food now gone, is it bug?

also

        sc_start SC_EXPBOOST, (@runtime*60000),300;
        sc_start SC_JEXPBOOST, (@runtime*60000),300;


also gone too... that xp buff and jexp buff

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.01
  • Content Count:  54
  • Reputation:   0
  • Joined:  02/19/14
  • Last Seen:  

Ok i found it now.... it's my stupid lol

 

OnPCDieEvent:
    sc_end sc_all;

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  505
  • Reputation:   126
  • Joined:  04/04/16
  • Last Seen:  

Can you provide more info about it?
What's your trunk git hash?
Did you modify something in it?
 

Try to check your status.cpp under int status_change_clear(struct block_list* bl, int type)

if(type == 0) {
	switch (i) { // Type 0: PC killed -> Place here statuses that do not dispel on death.

those statuses should be below that line ^

Link to comment
Share on other sites

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...