AirVine-X Poring
Posts : 62 Join date : 25/02/2013
| Subject: Kurangkan damage Asura Strike Thu Sep 05, 2013 11:41 pm | |
| Mula-mula cari file di --> \trunk\src\map\battle.c buka dan cuba find text yang ini - Quote :
- case MO_EXTREMITYFIST:
{ //Overflow check. [Skotlex] unsigned int ratio = skillratio + 100*(8 + sstatus->sp/10);
//You'd need something like 6K SP to reach this max, so should be fine for most purposes. if (ratio > 60000) ratio = 60000; //We leave some room here in case skillratio gets further increased. skillratio = (unsigned short)ratio; status_set_sp(src, 0, 0); } tukarkan skillratio= (unsigned short)ratio kepada : [quote] (unsigned short)( ratio * battle_config.asura_nerf / 100 );Seterusnya, carikan - Quote :
- { "bg_flee_penalty", &battle_config.bg_flee_penalty, 20, 0, INT_MAX, },
dan tambahkan ini kepada barisan seterusnya supaya kelihatan sebegini - Quote :
- { "bg_flee_penalty", &battle_config.bg_flee_penalty, 20, 0, INT_MAX, },
{ "asura_nerf", &battle_config.asura_nerf, 0, 0, 100, }, di \trunk\src\map\battle.h carikan : - Quote :
- int bg_flee_penalty;
dan tambahkan ini kepada barisan seterusnya, agar kelihatan sebegini - Quote :
- int bg_flee_penalty;
int asura_nerf; sekarang, buka /trunk/conf/battle/skill.conf, tambahkan ini kepada barisan yang terakhir. - Quote :
- // Asura Nerf (30% damage reduction)
asura_nerf: 70 Sekarang, damage Asura Strike telah dikurangkan sebanyak 30%. Oh ya, sebelum itu, jangan lupa untuk compile balik server anda. Post ini di creditkan kepada -->> rexreagon | |
|