Jump to content
  • 0

GX new poison duration


Question

Posted (edited)

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;

BUMP PLEASE HELP :(

Edited by Patskie
Change to code

2 answers to this question

Recommended Posts

Posted

It took forever to finally get implemented, lol. But with the latest revision you can now use the Manage Skill Damage mod which should do what you need it to for controlling damage. As for the duration I havn't looked at it myself, but you should be able to easily adjust it in skill_cast_db.

 

Peopleperson49

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...