chowking Posted September 1, 2013 Group: Members Topic Count: 32 Topics Per Day: 0.01 Content Count: 178 Reputation: 17 Joined: 06/25/12 Last Seen: September 22, 2022 Share Posted September 1, 2013 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 Quote Link to comment Share on other sites More sharing options...
0 Armony Posted December 24, 2019 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 39 Reputation: 2 Joined: 01/17/18 Last Seen: February 12, 2024 Share Posted December 24, 2019 On 9/6/2013 at 4:54 AM, chowking said: bump Edit the Duration1 of Desperado Quote Link to comment Share on other sites More sharing options...
0 Naruto Posted December 24, 2019 Group: Members Topic Count: 20 Topics Per Day: 0.01 Content Count: 416 Reputation: 74 Joined: 05/16/19 Last Seen: January 24, 2021 Share Posted December 24, 2019 (edited) 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 December 24, 2019 by Naruto Quote Link to comment Share on other sites More sharing options...
Capuche Posted September 1, 2013 Group: Developer Topic Count: 10 Topics Per Day: 0.00 Content Count: 2407 Reputation: 616 Joined: 07/05/12 Last Seen: March 20 Share Posted September 1, 2013 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 Quote Link to comment Share on other sites More sharing options...
chowking Posted September 2, 2013 Group: Members Topic Count: 32 Topics Per Day: 0.01 Content Count: 178 Reputation: 17 Joined: 06/25/12 Last Seen: September 22, 2022 Author Share Posted September 2, 2013 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, Quote Link to comment Share on other sites More sharing options...
chowking Posted September 4, 2013 Group: Members Topic Count: 32 Topics Per Day: 0.01 Content Count: 178 Reputation: 17 Joined: 06/25/12 Last Seen: September 22, 2022 Author Share Posted September 4, 2013 bump Quote Link to comment Share on other sites More sharing options...
chowking Posted September 6, 2013 Group: Members Topic Count: 32 Topics Per Day: 0.01 Content Count: 178 Reputation: 17 Joined: 06/25/12 Last Seen: September 22, 2022 Author Share Posted September 6, 2013 bump Quote Link to comment Share on other sites More sharing options...
Question
chowking
in skill unit on place timer
i commented out if (rnd()%100 < src->val1)
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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.