Jump to content
  • 0

Requesting Custom Skill High Priest Auto Attack System


itsmeyoe

Question


  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  54
  • Reputation:   1
  • Joined:  05/19/12
  • Last Seen:  

First Level (1/4) - 3 Acolytes Second

Level (2/4) - 3 High Priests

Third Level (3/4) - 3 Sniper Fourth

Level (4/4) - 3 Lord Knights

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  162
  • Topics Per Day:  0.04
  • Content Count:  740
  • Reputation:   47
  • Joined:  03/12/14
  • Last Seen:  

55 minutes ago, itsmeyoe said:

First Level (1/4) - 3 Acolytes Second

Level (2/4) - 3 High Priests

Third Level (3/4) - 3 Sniper Fourth

Level (4/4) - 3 Lord Knights

	case AM_CANNIBALIZE:
		{
			int summons[5] = { MOBID_G_MANDRAGORA, MOBID_G_HYDRA, MOBID_G_FLORA, MOBID_G_PARASITE, MOBID_G_GEOGRAPHER };
			int class_ = skill_id==AM_SPHEREMINE?MOBID_MARINE_SPHERE:summons[skill_lv-1];
			enum mob_ai ai = (skill_id == AM_SPHEREMINE) ? AI_SPHERE : AI_FLORA;
			struct mob_data *md;

			// Correct info, don't change any of this! [celest]
			md = mob_once_spawn_sub(src, src->m, x, y, status_get_name(src), class_, "", SZ_SMALL, ai);
			if (md) {
				md->master_id = src->id;
				md->special_state.ai = ai;
				if( md->deletetimer != INVALID_TIMER )
					delete_timer(md->deletetimer, mob_timer_delete);
				md->deletetimer = add_timer (gettick() + skill_get_time(skill_id,skill_lv), mob_timer_delete, md->bl.id, 0);
				mob_spawn (md); //Now it is ready for spawning.
			}
		}
		break;

Just Find all AM_CANNIBALIZE Duplicate it and change the ID # of summon

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.01
  • Content Count:  416
  • Reputation:   73
  • Joined:  05/16/19
  • Last Seen:  

then remove the items 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  54
  • Reputation:   1
  • Joined:  05/19/12
  • Last Seen:  

Teach me how please i'm using skill.cpp & how to put it on skill_tree? ty2

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  159
  • Reputation:   26
  • Joined:  11/20/11
  • Last Seen:  

same concern @Naruto i have already perfect the skill my current problem now is how to replicate the skill

found out that there is 3 files in SRC that has AM_CANNIBALIZE i have already done doing replication

but seems the skill is not working same as the AM CANNIBALIZE AND AM_SPHEREMINE

 

On 8/1/2019 at 3:15 PM, DaemonSpade said:

same concern @Naruto i have already perfect the skill my current problem now is how to replicate the skill

found out that there is 3 files in SRC that has AM_CANNIBALIZE i have already done doing replication

but seems the skill is not working same as the AM CANNIBALIZE AND AM_SPHEREMINE

 

Because i dont want to loose the AM_CANNIBALIZE in the process....

do you have references regarding the locations where to find the code related to those skills @Bringer

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.01
  • Content Count:  416
  • Reputation:   73
  • Joined:  05/16/19
  • Last Seen:  

theres an easier way to do that and its by using the same command as '@'summon 

	md = mob->once_spawn_sub(&sd->bl, sd->bl.m, -1, -1, "--ja--", mob_id, "", SZ_SMALL, AI_NONE);
		mob->spawn(md);

btw you wanna change the AI_NONE to whatever your interested in, 

replace mob_id with its id, and ... idk just try playing with this instead 

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