Jump to content
  • 0

Make it non-stackable?


Currently

Question


  • Group:  Members
  • Topic Count:  162
  • Topics Per Day:  0.03
  • Content Count:  313
  • Reputation:   1
  • Joined:  01/22/12
  • Last Seen:  

 
25134,q,Light Yellow Potion,0,550,,10,,,,,0xFFFFFFFF,7,2,,,,,,{getitem 25134,1;  sc_start SC_ITEMSCRIPT,180000,4___; },{},{}
 

 

4____,1st,xx Card,6,20,,10,,,,,,,,2,,,,,{ bonus bNearAtkDef,10; },{},{}

 

 

So, I have these two items. Supposedly, i wanted the item "25134" to be unlimited but make it non-stackable effect of NearAtkDef.

 

However, it's stacking.


 

How to make bonus bEarAtkDef,10; not stack? Does it have to be a script which it "sc_end" when the player use the item again or?

 

 

I have an idea, the player will only be able to use "25134" every 3 minutes they use it. Also, when 3 minutes is done, the NearAtkDef bonus will be gone. And the cycle continues.. (I'm referring to "Red Raffle Sap". Everytime I use it, it says cool down 1 second until using it again). Though I won't be sure how to nullify or do "sc_end" to cancel the current bonus :(

 

But if there's another way, please help me..

 

Thank you!

 

-------------------------------

 

Another Question:

 

function    1db    {
 
    sc_end SC_ITEMSCRIPT;
    getitem 25134,1;
    sc_start SC_ITEMSCRIPT,( .Duration * 1000 ),180000,4xxx;
    break;
 
OnInit:
set .Duration,180;
end;
}


Is it possible to sc_end a specific SC_ITEMSCRIPT?

 

I thought of sc_end SC_ALL, but it will end other buffs and whatnot..

Edited by Dreamworks
Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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