Jump to content
  • 0

NPC_WIDEWEB - fail AOE


Slyx

Question


  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.01
  • Content Count:  57
  • Reputation:   9
  • Joined:  03/05/18
  • Last Seen:  

hello guys,

I am trying to implement NPC_WIDEWEB skill but the location of skill unit is fixed on the caster coordinate while officially it should only affect the targets around caster for 15x15 aoe size.

Below are the modification i did on source and db files

//skill.cpp	under skill_castend_pos2 block
case NPC_WIDEWEB:
	flag|=1;//Set flag to 1 to prevent deleting ammo (it will be deleted on group-delete).
case GS_GROUNDDRIFT: //Ammo should be deleted right away.
case GN_WALLOFTHORN:
case GN_DEMONIC_FIRE:
	skill_unitsetting(src,skill_id,skill_lv,x,y,0);

//skill_db
721,0,6,4,0,0x3,7,1,1,no,0,0x2,0,none,0,0x0,	NPC_WIDEWEB,Wide Web

//skill_unit_db
721,0xb7,     ,  0, 0,  -1,enemy, 0x8000	//NPC_WIDEWEB

 

Animation (1).gif

Edited by Slyx
Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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