Jump to content
  • 0

Crescent Elbow Counter Or Reflect?


PapaZola

Question


  • Group:  Members
  • Topic Count:  318
  • Topics Per Day:  0.07
  • Content Count:  925
  • Reputation:   32
  • Joined:  12/05/11
  • Last Seen:  

hello crescent elbow counter or reflect?

and how i can reduce the reflect to attacker

Link to comment
Share on other sites

3 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  90
  • Reputation:   12
  • Joined:  08/22/12
  • Last Seen:  

I have no idea what you're talking about, could you please explain better? Else I am not able to help you out.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  81
  • Reputation:   14
  • Joined:  08/17/12
  • Last Seen:  

he's asking the skill crescent elbow from sura

yes it reflect damage from attacker

rdamage += (int)((*damage) + (*damage) * status_get_hp(src) * 2.15 / 100000);

How to edit ?

goto src>map>battle.c

if( sc && sc->data[sC_CRESCENTELBOW] && !(flag&BF_SKILL) && !is_boss(src) && rand()%100 < sc->data[sC_CRESCENTELBOW]->val2 )
 { // Stimated formula from test
  rdamage += (int)((*damage) + (*damage) * status_get_hp(src) * 2.15 / 100000); // edit damage here
  if( rdamage < 1 ) rdamage = 1;
 }

goto src>map>battle.c

if( tsc && tsc->data[sC_CRESCENTELBOW] )
{ // Deal rdamage to src and 10% damage back to target.
 clif_skill_nodamage(target,target,SR_CRESCENTELBOW_AUTOSPELL,tsc->data[sC_CRESCENTELBOW]->val1,1);
 skill_blown(target,src,skill_get_blewcount(SR_CRESCENTELBOW_AUTOSPELL,tsc->data[sC_CRESCENTELBOW]->val1),unit_getdir(src),0);
 status_damage(NULL,target,rdamage/10,0,0,1);  //Reflect edit here
 clif_damage(target, target, tick, wd.amotion, wd.dmotion, rdamage/10, wd.div_ , wd.type, wd.damage2);
 status_change_end(target, SC_CRESCENTELBOW, INVALID_TIMER);
}

CMIIW

Edited by Yahiko
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  24
  • Reputation:   0
  • Joined:  03/15/12
  • Last Seen:  

How about the chance to reflect? Where exactly can i edit it?

Thank you.

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