Jump to content
  • 0

bonus bChangeRace,x;


Mad Walker

Question


  • Group:  Members
  • Topic Count:  37
  • Topics Per Day:  0.01
  • Content Count:  177
  • Reputation:   9
  • Joined:  06/25/12
  • Last Seen:  

I was wondering if I can make it to an Enchant Race just like the orb str + 1 etc...? Because the bonus only works on equip item.

 

3_zps09148253.jpg

 

But enchanting the item makes it's on equip effect useless.

 

1_zps51298502.jpg

 

...this is the code that i used.

	SP_SETRACE
===========================
              case SP_SETRACE:
		if(val < 0 || val > RC_MAX-1) {
			ShowWarning("pc_bonus: invalid race defined for 'bChangeRace', set to %d.\n", val);
		} else if(sd->state.lr_flag != 2)
		{
			sd->battle_status.race = val;
		}
		break;
==========================
bChangeRace<tab>2045


bump. /ic

Edited by Qube Eks
Link to comment
Share on other sites

3 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  82
  • Topics Per Day:  0.02
  • Content Count:  223
  • Reputation:   4
  • Joined:  02/23/12
  • Last Seen:  

so you want this?

 

bonus bSetRace,n;			Race becomes n

 

search for epoque's bonus  pack

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  37
  • Topics Per Day:  0.01
  • Content Count:  177
  • Reputation:   9
  • Joined:  06/25/12
  • Last Seen:  

Hi Critica, I already have the codes. The problem is that the codes i have only works on "onequip" not on itemscript.

Edited by Qube Eks
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  82
  • Topics Per Day:  0.02
  • Content Count:  223
  • Reputation:   4
  • Joined:  02/23/12
  • Last Seen:  

so you want the bonus to work on items? like misc items?

 

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