Jump to content
  • 0

how to make level 1 of this custom skills


BlazingSpear

Question


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.01
  • Content Count:  75
  • Reputation:   9
  • Joined:  11/27/16
  • Last Seen:  

i created custom skills fakename with disguise at level 2, and i want to make level of this disguise only without fakename

		if (sd && sd->disguise && sd->fakename[0])
		{
			pc_disguise(sd, 0);
			sd->fakename[0] = '\0';
			break;
		}
		if (dstmd)
		{
			int class_;	

			class_ = (skill_id == SA_MONOCELL ? MOBID_PORING : mob_get_random_id(MOBG_ClassChange, 1, 0));
			clif_skill_nodamage(src, bl, skill_id, skill_lv, 1);
			pc_disguise(sd, dstmd->vd->class_);
			safestrncpy(sd->fakename, dstmd->db->jname, sizeof(sd->fakename));
		}
		else {
			if (sd->fakename[0]);
			{
				sd->fakename[0] = '\0';
				clif_name_self(&sd->bl);
				if (sd->disguise)
					clif_name_self(&sd->bl);
				clif_displaymessage(sd->fd, msg_txt(sd, 1307)); // Returned to real name.
				return 0;
			}
		}
		break;

im using old version of rAthena

Edited by BlazingSpear
Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.01
  • Content Count:  75
  • Reputation:   9
  • Joined:  11/27/16
  • Last Seen:  

- SOLVED

if you have question just drop me a message

Link to comment
Share on other sites

  • 0

  • Group:  Forum Moderator
  • Topic Count:  44
  • Topics Per Day:  0.01
  • Content Count:  862
  • Reputation:   115
  • Joined:  05/23/12
  • Last Seen:  

@BlazingSpearpls let other users know how u solved ur problem if someone have similar interests.

I don't but maybe other members? Why don't close this with your solution. That's the kind of community who's everyone likes.

 

Rynbef~

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