letstry Posted September 19, 2012 Posted September 19, 2012 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? Quote
Mystery Posted September 20, 2012 Posted September 20, 2012 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) Quote
letstry Posted September 21, 2012 Author Posted September 21, 2012 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). Quote
Mystery Posted September 23, 2012 Posted September 23, 2012 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 =/. Quote
letstry Posted October 28, 2012 Author Posted October 28, 2012 Bumpppy Im using eathena-sql-15085 SVN Quote
Bin4ry Posted October 28, 2012 Posted October 28, 2012 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 Quote
letstry Posted October 31, 2012 Author Posted October 31, 2012 How would I do that without changing my customize codings? =( Quote
lekkereten Posted November 5, 2012 Posted November 5, 2012 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. Quote
Question
letstry
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?
11 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.