Earth Shaker Range

PunkBuster

New member
Messages
216
Points
0
Earth Shaker(Sura Skill) isn't on the skill_unit_db. I'd like to reduce  the range of that skill per skill level. Which number needs to change on the src?

 
It's on srcmapbattle.c

Code:
				case SR_EARTHSHAKER:					if( tsc && (tsc->data[SC_HIDING] || tsc->data[SC_CLOAKING] || // [(Skill Level x 150) x (Caster Base Level / 100) + (Caster INT x 3)] %						tsc->data[SC_CHASEWALK] || tsc->data[SC_CLOAKINGEXCEED] || tsc->data[SC__INVISIBILITY]) ){						skillratio += -100 + 150 * skill_lv;						RE_LVL_DMOD(100);						skillratio += status_get_int(src) * 3;					}else{ //[(Skill Level x 50) x (Caster Base Level / 100) + (Caster INT x 2)] %						skillratio += 50 * (skill_lv-2);						RE_LVL_DMOD(100);						skillratio += status_get_int(src) * 2;					}					break;
 
I don't get it. Which of those numbers dictates range? I want to change range into 3/3/5/5/7.

 
Oh sorry, I got that totally wrong those formulae that are in my other are the attack formulae :x to change the skill range just modify your skill_db:

2328,0,6,4,-1,0x2,1:2:3:4:5,5,1,no,0,0,0,weapon,0, SR_EARTHSHAKER,Earth Shaker
1:2:3:4:5 to whichever value you desire

Sorry for my other answer :x

 
Back
Top