Jump to content
  • 0

GX new poison duration


c e d i e

Question


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  59
  • Reputation:   0
  • Joined:  08/22/13
  • Last Seen:  

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
Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  218
  • Topics Per Day:  0.05
  • Content Count:  1180
  • Reputation:   141
  • Joined:  01/27/12
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  59
  • Reputation:   0
  • Joined:  08/22/13
  • Last Seen:  

Thanks sir, I'm so mad. I never think about skill_cast_db. :3 THANKS!

Link to comment
Share on other sites

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.

×
×
  • Create New...