Jump to content
  • 0

VIP buff (Problem)


Drakkus

Question


  • Group:  Members
  • Topic Count:  39
  • Topics Per Day:  0.01
  • Content Count:  386
  • Reputation:   15
  • Joined:  11/17/11
  • Last Seen:  

Hello, i just wanna some questions, regarding with VIP System with VicThor

Well, i have noticed that, when you add another BUFF e.g Blessing and Increase Agi.

 

            sc_start sc_blessing,1000*60*60*24,$VIPs_PlatinumItemRate;
            sc_start sc_increaseagi,1000*60*60*24,$VIPs_PlatinumItemRate; goto L_displayInfo;

 

Example, if a player or monster kill you, the BUFF itself won't be permanent available on BUFF section, i mean in the right side.

You need to recon in order to take effect again the Bless and Increase Agi Buff.

 

NOT like this:

            sc_start sc_expboost,1000*60*60*24,$VIPs_PlatinumExpRate;
            sc_start sc_itemboost,1000*60*60*24,$VIPs_PlatinumItemRate;

 

Permanent in the buff section or right side AREA.


HOW do i make the Blessing and Increase Agi Permanent appear in the right side or buff section, just like the sc_expboost and sc_itemboost?

 

 

I'd be happy if someone could help me for my concern i can't figure out myself how to make it work.

 

Thank you!!!

Edited by Vlync
Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1125
  • Reputation:   236
  • Joined:  07/30/12
  • Last Seen:  

Try this..

 

trunk/src/map/status.c

Find:

		switch (i) {	//Type 0: PC killed -> Place here statuses that do not dispel on death.
			case SC_ELEMENTALCHANGE://Only when its Holy or Dark that it doesn't dispell on death
				if( sc->data[i]->val2 != ELE_HOLY && sc->data[i]->val2 != ELE_DARK )
					break;
			case SC_WEIGHT50:
			case SC_WEIGHT90:

Add below:

case AL_BLESSING:
case AL_INCAGI:
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  39
  • Topics Per Day:  0.01
  • Content Count:  386
  • Reputation:   15
  • Joined:  11/17/11
  • Last Seen:  

Thanks for the respond.

 

However after recompile.

\src\map\status.c(8077): error C2196: case value '29' already used

 

Both FCP and Blessing and Increase Agi TESTED, it will gone if a player or monster kill you or even @die.

I don't know why the expboost and itemboost is permanent appear, how do i make like THIS.



BUMP! please move this if this is the wrong section i think it's related with SOURCE.

Thanks for moving my Topic.

 

^_^

Edited by Vlync
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...