Jump to content
  • 0

PA_PRESSURE


Bringer

Question


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

Here is how to produce this bug. Get 2 Paladins(1 Devoter and 1 who will do the damage[Pressure Skill]) and another one(any character) that who will be devoted by a Paladin. Then the Paladin will cast a devotion skill to do that player and the another Paladin will use the Pressure skill to the player and the Paladin will get the damage. But in Aegis. Or in the official servers. Pressure must damage the player even he/she is devoted by a Paladin

Here is how to produce this bug. Get 2 Paladins(1 Devoter and 1 who will do the damage[Pressure Skill]) and another one(any character) that who will be devoted by a Paladin. Then the Paladin will cast a devotion skill to do that player and the another Paladin will use the Pressure skill to the player and the Paladin will get the damage. But in Aegis. Or in the official servers. Pressure must damage the player even he/she is devoted by a Paladin

bump for this can anyone help about my first post Edited by Bringer
Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

  • Group:  Developer
  • Topic Count:  35
  • Topics Per Day:  0.01
  • Content Count:  822
  • Reputation:   237
  • Joined:  01/30/13
  • Last Seen:  

My mistake.

 

battle.c

	if( ((d_tbl && check_distance_bl(target, d_tbl, sc->data[SC_DEVOTION]->val3)) || e_tbl) &&
		damage > 0 && skill_id != PA_PRESSURE && skill_id != CR_REFLECTSHIELD )
		damage = 0;

skill.c

if (tsc && skill_id != PA_PRESSURE && skill_id != HW_GRAVITATION && skill_id != NPC_EVILLAND) {
  • Upvote 1
  • Like 1
Link to comment
Share on other sites

  • 0

  • Group:  Developer
  • Topic Count:  35
  • Topics Per Day:  0.01
  • Content Count:  822
  • Reputation:   237
  • Joined:  01/30/13
  • Last Seen:  

Pressure already is coded to ignore devotion.

 

See skill.c:

if( sc && sc->data[SC_DEVOTION] && skill_id != PA_PRESSURE ) {

If it doesn't work, I guess starting to debug here might help.

Link to comment
Share on other sites

  • 0

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

Pressure already is coded to ignore devotion.

 

See skill.c:

if( sc && sc->data[SC_DEVOTION] && skill_id != PA_PRESSURE ) {

If it doesn't work, I guess starting to debug here might help.

what line Sir? i cant find it on my skill.c even on https://github.com/rathena/rathena/blob/master/src/map/skill.c

Edited by Bringer
Link to comment
Share on other sites

  • 0

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

My mistake.

battle.c

	if( ((d_tbl && check_distance_bl(target, d_tbl, sc->data[SC_DEVOTION]->val3)) || e_tbl) &&
		damage > 0 && skill_id != PA_PRESSURE && skill_id != CR_REFLECTSHIELD )
		damage = 0;
skill.c
if (tsc && skill_id != PA_PRESSURE && skill_id != HW_GRAVITATION && skill_id != NPC_EVILLAND) {

what i need to do ? delete all PA_PRESSURE?

Edited by Bringer
Link to comment
Share on other sites

  • 0

  • Group:  Developer
  • Topic Count:  35
  • Topics Per Day:  0.01
  • Content Count:  822
  • Reputation:   237
  • Joined:  01/30/13
  • Last Seen:  

If you want Devotion to work on Pressure then you need to delete it. If you want pressure to always damage the target, then it should already be working.

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