Jump to content
  • 0

Desperado on Land Protector


letstry

Question


  • Group:  Members
  • Topic Count:  87
  • Topics Per Day:  0.02
  • Content Count:  219
  • Reputation:   0
  • Joined:  05/03/12
  • Last Seen:  

I've tried on my server that if a Gunslinger is using Desperado skill on Land protector, enemies aren't affected by Desperado's skill..

How will I enable the Desperado skill to work on Land Protector's area?

Link to comment
Share on other sites

11 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  87
  • Topics Per Day:  0.02
  • Content Count:  219
  • Reputation:   0
  • Joined:  05/03/12
  • Last Seen:  

Bump

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  94
  • Topics Per Day:  0.02
  • Content Count:  2192
  • Reputation:   252
  • Joined:  11/11/11
  • Last Seen:  

Go to your ...db/(pre-re)re/skill_db and find Desperado:

516,0,8,4,-1,0x2,3,10,1,no,0,0,0,weapon,0, GS_DESPERADO,Desperado

Now, looking at this:

// 12 inf2 (skill information 2):
//	0x0001- quest skill
//	0x0002- npc skill
//	0x0004- wedding skill
//	0x0008- spirit skill
//	0x0010- guild skill
//	0x0020- song/dance
//	0x0040- ensemble skill
//	0x0080- trap
//	0x0100- skill that damages/targets yourself
//	0x0200- cannot be casted on self (if inf = 4, auto-select target skill)
//	0x0400- usable only on party-members (and enemies if skill is offensive)
//	0x0800- usable only on guild-mates (and enemies if skill is offensive)
//	0x1000- disable usage on enemies (for non-offensive skills).
//	0x2000- skill ignores land protector (e.g. arrow shower)
//	0x4000- chorus skill

I think you would wanna use this:

0x2000- skill ignores land protector (e.g. arrow shower)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  87
  • Topics Per Day:  0.02
  • Content Count:  219
  • Reputation:   0
  • Joined:  05/03/12
  • Last Seen:  

I only have the following

12 inf2 (skill information 2):

// 0x0001- quest skill

// 0x0002- npc skill

// 0x0004- wedding skill

// 0x0008- spirit skill

// 0x0010- guild skill

// 0x0020- song/dance

// 0x0040- ensemble skill

// 0x0080- trap

// 0x0100- skill that damages/targets yourself

// 0x0200- cannot be casted on self (if inf = 4, auto-select target skill)

// 0x0400- usable only on party-members (and enemies if skill is offensive)

// 0x0800- usable only on guild-mates (and enemies if skill is offensive)

// 0x1000- disable usage on enemies (for non-offensive skills).

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  94
  • Topics Per Day:  0.02
  • Content Count:  2192
  • Reputation:   252
  • Joined:  11/11/11
  • Last Seen:  

I only have the following

12 inf2 (skill information 2):

// 0x0001- quest skill

// 0x0002- npc skill

// 0x0004- wedding skill

// 0x0008- spirit skill

// 0x0010- guild skill

// 0x0020- song/dance

// 0x0040- ensemble skill

// 0x0080- trap

// 0x0100- skill that damages/targets yourself

// 0x0200- cannot be casted on self (if inf = 4, auto-select target skill)

// 0x0400- usable only on party-members (and enemies if skill is offensive)

// 0x0800- usable only on guild-mates (and enemies if skill is offensive)

// 0x1000- disable usage on enemies (for non-offensive skills).

That's cause you're probably using eAthena or 3CeAM =/.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  87
  • Topics Per Day:  0.02
  • Content Count:  219
  • Reputation:   0
  • Joined:  05/03/12
  • Last Seen:  

Can someone help me with this?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  87
  • Topics Per Day:  0.02
  • Content Count:  219
  • Reputation:   0
  • Joined:  05/03/12
  • Last Seen:  

Bump

Bump

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  87
  • Topics Per Day:  0.02
  • Content Count:  219
  • Reputation:   0
  • Joined:  05/03/12
  • Last Seen:  

Bumpppy :D

Im using eathena-sql-15085 SVN

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  782
  • Reputation:   82
  • Joined:  01/01/12
  • Last Seen:  

I'd recommend you to switch over rA for these latest feature. I doubt anyone here have an eA revision to work the update for you O.O

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  87
  • Topics Per Day:  0.02
  • Content Count:  219
  • Reputation:   0
  • Joined:  05/03/12
  • Last Seen:  

How would I do that without changing my customize codings? =(

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  87
  • Topics Per Day:  0.02
  • Content Count:  219
  • Reputation:   0
  • Joined:  05/03/12
  • Last Seen:  

Bump

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  148
  • Reputation:   46
  • Joined:  11/02/11
  • Last Seen:  

Please test. It's just a copy of Ind's INF2_NOLP.

Go to src/map/skill.c:

Find:

if( !(skill_get_inf2(group->skill_id)&(INF2_SONG_DANCE|INF2_TRAP)) && map_getcell(bl->m, bl->x, bl->y, CELL_CHKLANDPROTECTOR) )

Change to:

if( !(skill_get_inf2(group->skill_id)&(INF2_SONG_DANCE|INF2_TRAP|INF2_NOLP)) && map_getcell(bl->m, bl->x, bl->y, CELL_CHKLANDPROTECTOR) )

Go to src/map/skill.h:

Find:

INF2_NO_ENEMY       = 0x1000,

Add after:

INF2_NOLP           = 0x2000,

Go to db/skill_db.txt:

Find:

516,0,8,4,-1,0x2,3,10,1,no,0,0,0,weapon,0,    GS_DESPERADO,Desperado

Change to:

516,0,8,4,-1,0x2,3,10,1,no,0,0x2000,0,weapon,0,    GS_DESPERADO,Desperado

Remember to recompile your emulator.

I can't test, ...your emulator is kinda old.

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