Jump to content
  • 0

bubblegum effect on equips


NakedWolf

Question


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.01
  • Content Count:  120
  • Reputation:   2
  • Joined:  03/21/17
  • Last Seen:  

need a script to add on

when the player has the armor equipped it should give him bubblegum effect

Link to comment
Share on other sites

9 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  21
  • Reputation:   3
  • Joined:  10/11/13
  • Last Seen:  

1 hour ago, NakedWolf said:

need a script to add on

when the player has the armor equipped it should give him bubblegum effect

add to your item_db (your armor) script > sc_start SC_ITEMBOOST,1800000,200;

example: 

2309,Coat,Coat,4,22000,,1200,,42,,0,0xFFFFFFFE,63,2,16,,0,1,0,{ sc_start SC_ITEMBOOST,1800000,200; },{},{}

don't forget to reloaditemdb or restart your server, good luck :D

Edited by wonderman
  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.01
  • Content Count:  120
  • Reputation:   2
  • Joined:  03/21/17
  • Last Seen:  

thank you and this works for 30 min or for the whole time ?

Link to comment
Share on other sites

  • 0

  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

OnPCStatCalcEvent:
	if ( isequipped( item_id ) ) {
		bonus2 bExpAddRace, RC_ALL, 100;
	}
	end;

 

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.01
  • Content Count:  120
  • Reputation:   2
  • Joined:  03/21/17
  • Last Seen:  

5 hours ago, Emistry said:

OnPCStatCalcEvent:
	if ( isequipped( item_id ) ) {
		bonus2 bExpAddRace, RC_ALL, 100;
	}
	end;

 

where should i place this script or how to use it or where should i add this script @Emistry

Edited by NakedWolf
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  21
  • Reputation:   3
  • Joined:  10/11/13
  • Last Seen:  

21 hours ago, NakedWolf said:

thank you and this works for 30 min or for the whole time ?

30 minutes sir :D

2309,Coat,Coat,4,22000,,1200,,42,,0,0xFFFFFFFE,63,2,16,,0,1,0,{ sc_start SC_ITEMBOOST,-1,200; },{},{}

use this for unlimited time :D

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  23
  • Topics Per Day:  0.01
  • Content Count:  106
  • Reputation:   30
  • Joined:  04/03/17
  • Last Seen:  

1200,,42,,0,0xFFFFFFFE,63,2,16,,0,1,0,{ sc_start SC_ITEMBOOST,-1,200; },{},{}

 

to

 

1200,,42,,0,0xFFFFFFFE,63,2,16,,0,1,0,{ sc_start SC_ITEMBOOST,-1,200; },{},{sc_end SC_ITEMBOOST; }

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.01
  • Content Count:  120
  • Reputation:   2
  • Joined:  03/21/17
  • Last Seen:  

how do i add this for a combo equip ?when the armor+shoes+shield+garment is equipes they player should have bubble gum effect continuously un till either one equipe is removed from teh combo

armor+shoes+shield+garment=bubblegumeffect

what should i add in

db/re/item_combo_db.txt

// Structure of Database:
// ID:ID:ID:ID,{ ?_what should i add here_?} 

thank you in advance

Bump

Edited by NakedWolf
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  21
  • Reputation:   3
  • Joined:  10/11/13
  • Last Seen:  

On 4/12/2017 at 6:29 PM, NakedWolf said:

how do i add this for a combo equip ?when the armor+shoes+shield+garment is equipes they player should have bubble gum effect continuously un till either one equipe is removed from teh combo

armor+shoes+shield+garment=bubblegumeffect

what should i add in

db/re/item_combo_db.txt


// Structure of Database:
// ID:ID:ID:ID,{ ?_what should i add here_?} 

thank you in advance

item_id:item_id:item_id:item_id, { sc_start SC_ITEMBOOST,-1,200; }

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.01
  • Content Count:  120
  • Reputation:   2
  • Joined:  03/21/17
  • Last Seen:  

but the effect docent get removed when the item is removed/unequiped

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