sonofcereal Posted May 13, 2017 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 16 Reputation: 0 Joined: 06/24/15 Last Seen: May 31, 2017 Share Posted May 13, 2017 (edited) hello guys, today i try to custom new skill which i follow by https://rathena.org/board/topic/97954-guide-adding-custom-icons-to-skills/?_fromLogin=1 and https://github.com/rathena/rathena/wiki/Adding_new_skills which it's ok , my new skill was adding to server but when i use new skill to monster then miss !! [see picture] why ? plz somebody help me /hp Ps. new skill i copy data from skill Charge Attack. Edited May 15, 2017 by sonofcereal Quote Link to comment Share on other sites More sharing options...
0 sonofcereal Posted May 15, 2017 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 16 Reputation: 0 Joined: 06/24/15 Last Seen: May 31, 2017 Author Share Posted May 15, 2017 (edited) ok i will not bump... in file skillid.lub KN_SATTELITE_BOUND = 8443 in file skilldescript.lub [SKID.KN_SATTELITE_BOUND] = { "Skill of Event Horizon : SATTELITE BOUND", ... } in file skillinfolist.lub [SKID.KN_SATTELITE_BOUND] = { "KN_SATTELITE_BOUND"; SkillName = "Sattelite Bound", MaxLv = 1, SpAmount = { 40 }, bSeperateLv = false, AttackRange = { 14 }, _NeedSkillList = { { SKID.SM_SWORD,10 } } }, in file skilltreeview.lub [JOBID.JT_KNIGHT] = { [0] = SKID.KN_TWOHANDQUICKEN, [1] = SKID.KN_AUTOCOUNTER, [2] = SKID.KN_RIDING, [3] = SKID.KN_SPEARMASTERY, [6] = SKID.KN_CHARGEATK, [8] = SKID.KN_BOWLINGBASH, [9] = SKID.KN_CAVALIERMASTERY, [10] = SKID.KN_PIERCE, [13] = SKID.KN_ONEHAND, [16] = SKID.KN_SPEARBOOMERANG, [17] = SKID.KN_SPEARSTAB, [24] = SKID.KN_BRANDISHSPEAR, [27] = SKID.KN_SATTELITE_BOUND }, in file skill.h KN_SATTELITE_BOUND = 8443, in file skill.c case KN_SATTELITE_BOUND: { bool path = path_search_long(NULL, src->m, src->x, src->y, bl->x, bl->y,CELL_CHKWALL); unsigned int dist = distance_bl(src, bl); uint8 dir = map_calc_dir(bl, src->x, src->y); // teleport to target (if not on WoE grounds) if( !map_flag_gvg(src->m) && !map[src->m].flag.battleground && unit_movepos(src, bl->x, bl->y, 0, 1) ) clif_blown(src); // cause damage and knockback if the path to target was a straight one if( path ) { skill_attack(BF_WEAPON, src, src, bl, skill_id, skill_lv, tick, dist); skill_blown(src, bl, dist, dir, 0); //HACK: since knockback officially defaults to the left, the client also turns to the left... therefore, // make the caster look in the direction of the target unit_setdir(src, (dir+4)%8); } } break; in file battle.c case KN_SATTELITE_BOUND: { int k = (wd.miscflag-1)/3; //+100% every 3 cells of distance if( k > 2 ) k = 2; // ...but hard-limited to 300%. skillratio += 100 * k; } break; in file skill_db.txt 8443,10,6,1,-1,0,0,10,1,no,0,0,0,weapon,0,0x0, KN_SATTELITE_BOUND,Sattelite Bound in file skill_tree.txt 7,8443,1,2,10,0,0,0,0,0,0,0,0 //KN_SATTELITE_BOUND#Sattelite Bound# in file skill_require_db.txt 8443,0,0,40,0,0,0,99,0,0,none,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 //KN_SATTELITE_BOUND Edited May 15, 2017 by sonofcereal update all file that i fixed Quote Link to comment Share on other sites More sharing options...
Question
sonofcereal
hello guys, today i try to custom new skill which i follow by https://rathena.org/board/topic/97954-guide-adding-custom-icons-to-skills/?_fromLogin=1 and https://github.com/rathena/rathena/wiki/Adding_new_skills which it's ok , my new skill was adding to server but when i use new skill to monster then miss !! [see picture]
why ? plz somebody help me /hp
Ps. new skill i copy data from skill Charge Attack.
Link to comment
Share on other sites
1 answer 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.