Jump to content
  • 0

Question

Posted (edited)

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

2 answers to this question

Recommended Posts

Posted

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:
Posted (edited)

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

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...