PapaZola Posted September 2, 2012 Group: Members Topic Count: 318 Topics Per Day: 0.07 Content Count: 925 Reputation: 33 Joined: 12/05/11 Last Seen: September 20, 2023 Share Posted September 2, 2012 hello crescent elbow counter or reflect? and how i can reduce the reflect to attacker Quote Link to comment Share on other sites More sharing options...
Kyo Posted September 3, 2012 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 90 Reputation: 12 Joined: 08/22/12 Last Seen: July 20, 2014 Share Posted September 3, 2012 I have no idea what you're talking about, could you please explain better? Else I am not able to help you out. Quote Link to comment Share on other sites More sharing options...
Yahiko Posted September 3, 2012 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 81 Reputation: 14 Joined: 08/17/12 Last Seen: April 19, 2013 Share Posted September 3, 2012 (edited) 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 September 3, 2012 by Yahiko Quote Link to comment Share on other sites More sharing options...
johnbond2 Posted January 20, 2013 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 24 Reputation: 0 Joined: 03/15/12 Last Seen: September 16, 2013 Share Posted January 20, 2013 How about the chance to reflect? Where exactly can i edit it? Thank you. Quote Link to comment Share on other sites More sharing options...
Question
PapaZola
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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.