PapaZola Posted September 2, 2012 Posted September 2, 2012 hello crescent elbow counter or reflect? and how i can reduce the reflect to attacker Quote
Kyo Posted September 3, 2012 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
Yahiko Posted September 3, 2012 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
johnbond2 Posted January 20, 2013 Posted January 20, 2013 How about the chance to reflect? Where exactly can i edit it? Thank you. Quote
Question
PapaZola
hello crescent elbow counter or reflect?
and how i can reduce the reflect to attacker
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.