Jump to content
  • 0

Problem with skill of Vacuum Extreme


Question

Posted (edited)

I'm not good at editing src so I want all of your help please.

 

The problem is when I use a vacuum extreme skill of Sorcerer to person who have str more than  240 it doesn't suck them so I want to know If I want to change it more than this how can I do it?

 

 

Vacuum extreme skill

status.c

 

case SC_VACUUM_EXTREME:
///< !CHECKME: Seems on official, there's delay before same target can be vacuumed in same area again [Cydh]
sc_start2(bl, bl, SC_VACUUM_EXTREME_POSTDELAY, 100, sce->val1, sce->val2, skill_get_time2(SO_VACUUM_EXTREME,sce->val1));
 
I try to edit this but it doesn't work at all it's still be the same result T^T
 
So that's why I ask your guys help ... 
Edited by blazerza

8 answers to this question

Recommended Posts

  • 0
Posted

 

I'm not good at editing src so I want all of your help please.

 

The problem is when I use a vacuum extreme skill of Sorcerer to person who have str more than  240 it doesn't suck them so I want to know If I want to change it more than this how can I do it?

 

 

Vacuum extreme skill

status.c

 

case SC_VACUUM_EXTREME:
///< !CHECKME: Seems on official, there's delay before same target can be vacuumed in same area again [Cydh]
sc_start2(bl, bl, SC_VACUUM_EXTREME_POSTDELAY, 100, sce->val1, sce->val2, skill_get_time2(SO_VACUUM_EXTREME,sce->val1));
 
I try to edit this but it doesn't work at all it's still be the same result T^T
 
So that's why I ask your guys help ... 

 

I guess is not in this line, its look like delay not the damege of skill.

 

I think is this line in src/map/skill.c:

sc_start4(ss, bl, SC_VACUUM_EXTREME, 100, sg->skill_lv, sg->group_id, (sg->val1<<16)|(sg->val2), ++sg->val3*500, (sg->limit - DIFF_TICK(tick, sg->tick)));

 

BEFORE DO ANY THING MAKE A BACKUP OF skill.c

 

I would try this:

sc_start4(ss, bl, SC_VACUUM_EXTREME, 100, sg->skill_lv, sg->group_id, (sg->val1<<16)|(sg->val2), ++sg->val3*700, (sg->limit - DIFF_TICK(tick, sg->tick)));

  • 0
Posted

thank you sir Felipe for your reply but when I test it. it doesn't change anything so I try to change  (sg->limit - DIFF_TICK(tick, sg->tick))); then it changes a bit but I don't know how can I set it -0-

 

cause it didn't suck anybody when I change it lol . Although It didn't suck anybody but it show me that it's the way to change it but I don't understand how can I change it ? what's it ? anybody know? 

  • 0
Posted

You've said this part change a little bit :

(sg->limit - DIFF_TICK(tick, sg->tick)));

 

So:

sc_start4(ss, bl, SC_VACUUM_EXTREME, 100, sg->skill_lv, sg->group_id, (sg->val1<<16)|(sg->val2), ++sg->val3*500, (sg->limit - DIFF_TICK(tick, sg->tick)*2));

  • 0
Posted

It changes a little bit. I think this part is the answer so I will find how does it work

By the way, Thank you so much Sir Felipe if you didn't help me , I can't do it for sure :)

  • 0
Posted

It changes a little bit. I think this part is the answer so I will find how does it work

By the way, Thank you so much Sir Felipe if you didn't help me , I can't do it for sure :)

Try a big number:

(sg->limit - DIFF_TICK(tick, sg->tick)*8));

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...