How can I lower/lessen the duration of GX new poisons such as Leech end. and is there a way to lessen the damage? Please I need this Help! Thanks in advance!
case SC_LEECHESEND:
val4 = tick / 1000;
tick_time = 1000; // [GodLesZ] tick time
break;
I don't know if this is the code that I should change. But I feel that this is what I have to. But I really can't understand what tick means. :3
or maybe this one :3
case SC_LEECHESEND:
if( --(sce->val4) >= 0 ) {
int damage = status->max_hp/100; // {Target VIT x (New Poison Research Skill Level - 3)} + (Target HP/100)
damage += status->vit * (sce->val1 - 3);
unit_skillcastcancel(bl,2);
map_freeblock_lock();
status_damage(bl, bl, damage, 0, clif_damage(bl,bl,tick,status_get_amotion(bl),status_get_dmotion(bl)+500,damage,1,0,0), 1);
if( sc->data[type] ) {
sc_timer_next(1000 + tick, status_change_timer, bl->id, data );
}
map_freeblock_unlock();
return 0;
}
break;
How can I lower/lessen the duration of GX new poisons such as Leech end. and is there a way to lessen the damage? Please I need this
Help! Thanks in advance!
case SC_LEECHESEND: if( --(sce->val4) >= 0 ) { int damage = status->max_hp/100; // {Target VIT x (New Poison Research Skill Level - 3)} + (Target HP/100) damage += status->vit * (sce->val1 - 3); unit_skillcastcancel(bl,2); map_freeblock_lock(); status_damage(bl, bl, damage, 0, clif_damage(bl,bl,tick,status_get_amotion(bl),status_get_dmotion(bl)+500,damage,1,0,0), 1); if( sc->data[type] ) { sc_timer_next(1000 + tick, status_change_timer, bl->id, data ); } map_freeblock_unlock(); return 0; } break;BUMP PLEASE HELP
Edited by PatskieChange to code
Link to comment
Share on other sites