Zero Human
New member
- Messages
- 66
- Points
- 0
- Location
- Germany, Schleswig-Holstein
- Emulator
- Client Version
- 2019-06-26bRagexeRE
Hey, I'm setting up a renewal classic server.
How can I put the character hit & flee back on pre-renewal?
I also find in renewal, the monk skill "Investigate" and the item "Ice Pick" is too weak.
Investigate does the same damage almost everywhere, no matter if monsters have high def or use a weapon with ele/race/size cards.
How can you increase the damage of Investigate and Ice Pick so that it is useful like in pre-renewal for high def monster.
I found this, but not much of the damage happens when I put the formula back on pre-renewal...
How can I put the character hit & flee back on pre-renewal?
I also find in renewal, the monk skill "Investigate" and the item "Ice Pick" is too weak.
Investigate does the same damage almost everywhere, no matter if monsters have high def or use a weapon with ele/race/size cards.
How can you increase the damage of Investigate and Ice Pick so that it is useful like in pre-renewal for high def monster.
I found this, but not much of the damage happens when I put the formula back on pre-renewal...
Code:
#ifdef RENEWAL
/**
* RE DEF Reduction
* Pierce defense gains 1 atk per def/2
**/
if( def1 < -399 ) // it stops at -399
def1 = 399; // in aegis it set to 1 but in our case it may lead to exploitation so limit it to 399
//return 1;
if( flag&2 )
damage += def1 >> 1;
if( !(flag&1) && !(flag&2) ) {
if( flag&4 )
damage -= (def1 + vit_def);
else
damage = (int)((100.0f - def1 / (def1 + 400.0f) * 90.0f) / 100.0f * damage - vit_def);
}
#else
if( def1 > 100 ) def1 = 100;
if( !(flag&1) ){
if( flag&2 )
damage = damage * pdef * (def1+vit_def) / 100;
else
damage = damage * (100-def1) / 100;
}
if( !(flag&1 || flag&2) )
damage -= vit_def;
#endif