Jump to content
  • 0

Update the patch to compatible with rA.


Revoltz

Question


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  45
  • Reputation:   1
  • Joined:  03/30/16
  • Last Seen:  

Good community, many have done post asking for this solution, but never found any 100% sure work, I can make a basic schedule for the famous Azura fast to drive.
 
Change in src / map / skill.c
 
Well those who have never shared, but this way is 100% sure to work in Brathena, Cronus, Hercules and etc ...
 
Good but I wanted to use the option in rAthena though, I'm finding some language mistakes, who can help me I thank you as I am already helping those who need that way!
 

to remove
 
- case NJ_ISSEN:
- case MO_EXTREMITYFIST:
- {
- short x, y, i = 2; // Move 2 cells for Issen(from target)
- struct block_list *mbl = bl;
- short dir = 0;
-
- skill->attack(BF_WEAPON,src,src,bl,skill_id,skill_lv,tick,flag);
-
- if( skill_id == MO_EXTREMITYFIST ) {
- mbl = src;
- i = 3; // for Asura(from caster)
- status->set_sp(src, 0, 0);
- status_change_end(src, SC_EXPLOSIONSPIRITS, INVALID_TIMER);
- status_change_end(src, SC_BLADESTOP, INVALID_TIMER);
-#ifdef RENEWAL
- sc_start(src, src,SC_EXTREMITYFIST2,100,skill_lv,skill->get_time(skill_id,skill_lv));
-#endif // RENEWAL
- } else {
- status_change_end(src, SC_NJ_NEN, INVALID_TIMER);
- status_change_end(src, SC_HIDING, INVALID_TIMER);
-#ifdef RENEWAL
- status->set_hp(src, max(status_get_max_hp(src)/100, 1), 0);
-#else // not RENEWAL
- status->set_hp(src, 1, 0);
-#endif // RENEWAL
- }
- dir = map->calc_dir(src,bl->x,bl->y);
- if( dir > 0 && dir < 4) x = -i;
- else if( dir > 4 ) x = i;
- else x = 0;
- if( dir > 2 && dir < 6 ) y = -i;
- else if( dir == 7 || dir < 2 ) y = i;
- else y = 0;
- if( (mbl == src || (!map_flag_gvg2(src->m) && !map->list[src->m].flag.battleground) ) // only NJ_ISSEN don't have slide effect in GVG
- && unit->movepos(src, mbl->x+x, mbl->y+y, 1, 1)
- ) {
- clif->slide(src, src->x, src->y);
- clif->fixpos(src);
- clif->spiritball(src);
- }
- }
- break;
 
But when I do the addition of the lines below, automatically give error in two things, namely:
dir = map->calc_dir(src,bl->x,bl->y);]
"calc_dir"
 
also in error:
&& unit->walktoxy(src, mbl->x + x, mbl->y + y, 2)
 
"unit->walktoxy" e "y + y, 2"
 
and that in its original form it is that way
 
"unit->movepos(src, mbl->x+x, mbl->y+y, 1, 1)"
 
Add
 
+ case NJ_ISSEN:
+ case MO_EXTREMITYFIST:
+ {
+ short x, y, i = 2; // Move 2 cells for Issen(from target)
+ struct block_list *mbl = bl;
+ short dir = 6;
+
+ skill->attack(BF_WEAPON,src,src,bl,skill_id,skill_lv,tick,flag);
+
+ if( skill_id == MO_EXTREMITYFIST ) {
+ mbl = src;
+ i = 2; // for Asura(from caster)
+ status->set_sp(src, 0, 0);
+ status_change_end(src, SC_EXPLOSIONSPIRITS, INVALID_TIMER);
+ status_change_end(src, SC_BLADESTOP, INVALID_TIMER);
+#ifdef RENEWAL
+ sc_start(src, src,SC_EXTREMITYFIST2,100,skill_lv,skill->get_time(skill_id,skill_lv));
+#endif // RENEWAL
+ } else {
+ status_change_end(src, SC_NJ_NEN, INVALID_TIMER);
+ status_change_end(src, SC_HIDING, INVALID_TIMER);
+#ifdef RENEWAL
+ status->set_hp(src, max(status_get_max_hp(src)/100, 1), 0);
+#else // not RENEWAL
+ status->set_hp(src, 1, 0);
+#endif // RENEWAL
+ }
+ dir = map->calc_dir(src,bl->x,bl->y);
+ if( dir > 0 && dir < 4) x = -i;
+ else if( dir > 4 ) x = i;
+ else x = 0;
+ if( dir > 2 && dir < 6 ) y = -i;
+ else if( dir == 7 || dir < 2 ) y = i;
+ else y = 0;
+ if( (mbl == src || (!map_flag_gvg2(src->m) && !map->list[src->m].flag.battleground)) // only NJ_ISSEN don't have slide effect in GVG
+ && unit->walktoxy(src, mbl->x + x, mbl->y + y, 2)
+ ) {
+ clif->slide(src, src->x, src->y);
+ clif->fixpos(src);
+ clif->spiritball(src);
+ }
+ }
+ break;
+


Leaving that way in the conf / battle / skill.conf, you have a fast Azura without error and with the movement that many want and I think no one would have even posted the solution!

 

Link de Azura Fast

 

// The time rate to cast a spell (Note 2 0 = No casting time)
casting_rate: 0
 
// Delay after spellcasting time (Note 2)
delay_rate: 0
 
// Disable completely the delay of the following types skills (Note 3)
// NOTE: By default monsters do not delay in skills, as specified in the database
// Skills, but follow their own delay 'reuse' that is specified
// In mob_skill_db. When set, the delay for all abilities becomes
// Min_skill_delay_limit.
no_skill_delay: 0
 
// Delay rate combo of monks (Note 2)
combo_delay_rate: 0

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  162
  • Topics Per Day:  0.04
  • Content Count:  742
  • Reputation:   47
  • Joined:  03/12/14
  • Last Seen:  

this code have knockback ?

i'm using Old Style Asura on my Server 99% Working But only 1 problem the knockback

Edited by Bringer
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...