Jump to content
  • 0

Desperado Skill Mod


chowking

Question


  • Group:  Members
  • Topic Count:  32
  • Topics Per Day:  0.01
  • Content Count:  178
  • Reputation:   16
  • Joined:  06/25/12
  • Last Seen:  

in skill unit on place timer

 

i commented out  if (rnd()%100 < src->val1)

case GS_DESPERADO:
                   //  if (rnd()%100 < src->val1)
                        skill_attack(BF_WEAPON,ss,&src->bl,bl,sg->skill_id,sg->skill_lv,tick,0);
 

now all within the range will be hit, but all were being hit 8-10 times,

 

how to make desperado skill hit all within range and will hit only once, like magnum break

 

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  39
  • Reputation:   2
  • Joined:  01/17/18
  • Last Seen:  

On 9/6/2013 at 4:54 AM, chowking said:

bump

Edit the Duration1 of Desperado

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.01
  • Content Count:  416
  • Reputation:   73
  • Joined:  05/16/19
  • Last Seen:  

as long as interval is HIGHER/GREATER then the DURATION that the UNT is taking the time for...

 

it might be duration1

 

then the splash will only apply 1 time 

 

i use this on my server

 406,0x86,    ,  0, 3,1000,enemy, 0x010    //ASC_METEORASSAULT
406,1400,300,0,200,0,0
406,9,6,2,0,0x1,0,5,2,no,0,0,0,weapon,0,0x0,    ASC_METEORASSAULT,Meteor Assault
 

	case ASC_METEORASSAULT:
		if (unit_movepos(src,x,y,1,1)) {
			clif_snap(src, src->x, src->y);
			skill_unitsetting(src,skill_id,skill_lv,x,y,0);
			clif_specialeffect(src, 923, AREA);
			} else {
			if (sd)
				clif_skill_fail(sd,skill_id,USESKILL_FAIL_LEVEL,0);
		}
		break;
		case UNT_DUMMYSKILL:
			switch (sg->skill_id) {
				case ASC_METEORASSAULT:
					skill_attack(BF_WEAPON,ss,&unit->bl,bl,sg->skill_id,sg->skill_lv,tick,0);
					clif_specialeffect(bl, 677, AREA);
					break;
				case SG_SUN_WARM: //SG skills [Komurka]
				case SG_MOON_WARM:
				case SG_STAR_WARM: {
					int count = 0;
					const int x = bl->x, y = bl->y;

comment out all the old meteor assault stuff and replace it with this

 

then re read what i said , 

 

Edited by Naruto
Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  2407
  • Reputation:   613
  • Joined:  07/05/12
  • Last Seen:  

http://svn.rathena.org/svn/rathena/trunk/db/pre-re/skill_db.txt

516,0,8,4,-1,0x2,3,10,1,no,0,0,0,weapon,0,0x0,    GS_DESPERADO,Desperado

following the comments

// 03 hit (8- repeated hitting, 6- single-hit)

-> change to 6

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  32
  • Topics Per Day:  0.01
  • Content Count:  178
  • Reputation:   16
  • Joined:  06/25/12
  • Last Seen:  

03 hit (8- repeated hitting, 6- single-hit)

 

it doesn't work sir, this is one of the reasons im trying to do it through source,

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  32
  • Topics Per Day:  0.01
  • Content Count:  178
  • Reputation:   16
  • Joined:  06/25/12
  • Last Seen:  

bump

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  32
  • Topics Per Day:  0.01
  • Content Count:  178
  • Reputation:   16
  • Joined:  06/25/12
  • Last Seen:  

bump

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