chowking Posted September 1, 2013 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
Capuche Posted September 1, 2013 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
chowking Posted September 2, 2013 Author 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
0 Armony Posted December 24, 2019 Posted December 24, 2019 On 9/6/2013 at 4:54 AM, chowking said: bump Edit the Duration1 of Desperado Quote
0 Naruto Posted December 24, 2019 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
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
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.