Jump to content
  • 0
Sign in to follow this  
joecalis

Custom Skill Unit Follow Character (like Bragi)

Question

I tried to create a skill which mimics an effect like bragi where the wierd symbols/letters follow the character

as they walk, and who ever enters the area gets damaged.

 

I know I setup everything correctly but I encountered a problem, while the skill area that damages everyone

who enters follow my character, the visual effect stays on the ground where I first casted it as shown in this vid.

 

And also the skill does not seem to end at the set amount of time limit either, here are the important skill information:

 

skill_db.txt

1026,0,6,4,-1,0x41,0,1,1,no,0,0,0,weapon,0,	CS_GRUESOME_ZONE,Gruesome Zone

skill_cast_db.txt

//-- CS_GRUESOME_ZONE1026,0,3000,3000,10000,0,0,0

skill_unit_db.txt

1026,0xa3,    , -1, 0, 500,enemy, 0x000	//CS_GRUESOME_ZONE

map.c at map_moveblock

if (sc->data[SC_GRUESOME_ZONE]){					skill->unit_move_unit_group(skill->id2group(sc->data[SC_GRUESOME_ZONE]->val4), bl->m, x1-x0, y1-y0);				}

 

 

 

Share this post


Link to post
Share on other sites

7 answers to this question

Recommended Posts

  • 0

The performance of the dancer and bird includes a common status change.
 
Please check this word if you overlook it.

SC_DANCING

 
Sorry, this is a guess.
 

Share this post


Link to post
Share on other sites
  • 0

Yeah I tried to do that also thats why I have

SC_GRUESOME_ZONE

But it doesn't seem to affect the visual effect, it only stores

the group id of the skill.

Edited by joecalis

Share this post


Link to post
Share on other sites
  • 0

Try to check if there is a block_list related to the unit that you can slide to the proper position using clif->slide (and checking if it can be moved using unit->movepos

Share this post


Link to post
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.   Restore formatting

  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.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.