Jump to content
  • 0

Problem with skill of Vacuum Extreme


blazerza

Question


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  42
  • Reputation:   2
  • Joined:  02/04/12
  • Last Seen:  

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

8 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  51
  • Reputation:   4
  • Joined:  07/12/12
  • Last Seen:  

 

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)));

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  42
  • Reputation:   2
  • Joined:  02/04/12
  • Last Seen:  

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? 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  51
  • Reputation:   4
  • Joined:  07/12/12
  • Last Seen:  

I look in this link (Post Number 7):

https://rathena.org/board/topic/60404-custom-skill-effects/

 

And I think it would work

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

Edited by Felipe
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  42
  • Reputation:   2
  • Joined:  02/04/12
  • Last Seen:  

I tried it but It still didn't work T^T
 

.

Edited by blazerza
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  51
  • Reputation:   4
  • Joined:  07/12/12
  • Last Seen:  

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));

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  42
  • Reputation:   2
  • Joined:  02/04/12
  • Last Seen:  

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 :)

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  51
  • Reputation:   4
  • Joined:  07/12/12
  • Last Seen:  

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));

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  42
  • Reputation:   2
  • Joined:  02/04/12
  • Last Seen:  

Yep Thank a lot :D

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