Jump to content
  • 0

Allow Charge Attack, Arrow Repel, Arrow Shower to knockback player out of pneuma


CyanZoldyck

Question


  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.01
  • Content Count:  31
  • Reputation:   0
  • Joined:  01/09/21
  • Last Seen:  

Hello! I'm in need of help. I already searched and browsed the forums but can't seem to find a solution for this.

In the server that I am running, Charge Attack, Arrow Repel, and Arrow Shower skill is always missing when casted on a player inside Pneuma. As far as I know, the damage should miss but it should knockback or pushback player out of Pneuma.

I've been testing around a lot and can't seem to make it work. Anyone able to help me or guide me with this please? Thanks so much rAthena community and more power!

This is the current line of code that I've been trying to modify but can't seem to make it work:

 

if ((sc->data[SC_PNEUMA] && (flag&(BF_MAGIC | BF_LONG)) == BF_LONG) ||

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.01
  • Content Count:  31
  • Reputation:   0
  • Joined:  01/09/21
  • Last Seen:  

I have tried the suggestion in this topic Pneuma vs Charge&phantasmic arrow but gives me error when compiling it.

if( sc->data[SC_PNEUMA] && (flag&(BF_MAGIC|BF_LONG)) == BF_LONG ) {
			d->dmg_lv = ATK_BLOCK;
			skill_blown(src,bl,skill_get_blewcount(skill_id,skill_lv),-1,0);
			return 0;
		}
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  41
  • Reputation:   11
  • Joined:  11/17/20
  • Last Seen:  

if( sc->data[SC_PNEUMA] && (flag&(BF_MAGIC|BF_LONG)) == BF_LONG ) {
			d->dmg_lv = ATK_BLOCK;
skill_blown(src, bl, skill_get_blewcount(skill_id, skill_lv), -1, BLOWN_NONE);
			return false;
		}

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.01
  • Content Count:  31
  • Reputation:   0
  • Joined:  01/09/21
  • Last Seen:  

4 minutes ago, Pride said:
if( sc->data[SC_PNEUMA] && (flag&(BF_MAGIC|BF_LONG)) == BF_LONG ) {
			d->dmg_lv = ATK_BLOCK;
skill_blown(src, bl, skill_get_blewcount(skill_id, skill_lv), -1, BLOWN_NONE);
			return false;
		}

I already tried to use this but sadly, it gives me error ?
image.png.816a9d47c16a1f5dbb09657a86435c02.png

 

This is the exact line of codes that I've been using

 

Before:

if ((sc->data[SC_PNEUMA] && (flag&(BF_MAGIC | BF_LONG)) == BF_LONG) ||

Now: (but gives me error)

if ((sc->data[SC_PNEUMA] && (flag&(BF_MAGIC | BF_LONG)) == BF_LONG) {
			d->dmg_lv = ATK_BLOCK;
			skill_blown(src, bl, skill_get_blewcount(skill_id, skill_lv), -1, BLOWN_NONE);
			return false;
		}

 

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