Mary Magdalene
-
Content Count
13 -
Joined
-
Last visited
Posts posted by Mary Magdalene
-
-
Why not makes this skill similar of Blitz Beat? (Autocast)
In skill.c
switch(skill_id) { case 0: { // Normal attacks (no skill used) if( attack_type&BF_SKILL ) break; // If a normal attack is a skill, it's splash damage. [Inkfish] if(sd) { // Automatic trigger of Blitz Beat if (pc_isfalcon(sd) && sd->status.weapon == W_BOW && (temp=pc->checkskill(sd,HT_BLITZBEAT))>0 && rnd()%1000 <= sstatus->luk*3 ) { rate = sd->status.job_level / 10 + 1; skill->castend_damage_id(src,bl,HT_BLITZBEAT,(temp<rate)?temp:rate,tick,SD_LEVEL); }
Add:
if((temp=pc->checkskill(sd,CS_CUSTOMSKILL))>0 && rnd()%1000 <= sstatus->luk*3 ) {skill->castend_damage_id(src,bl,CS_CUSTOMSKILL,temp,tick,0);}
rnd()%1000 <= sstatus->luk*3: This is the chance of autocast, there chance aument of luk*3.
Change this as you wish.
This is a good idea, with just small modifications like making it 100% chance. I'll be trying this one,
Thank you!
EDIT: Ah nah, i don't think that's gonna work well since it won't auto-cast if I'm gonna use a skill. And by the way it's some sort of a buff skill not an attack skill XD
-
Thanks for the replies but i made it much more simple tho the only problem is i dunno how to make it as a passive skill.
So what i did is:
battle.c
if (sc){ if(sc->data[SC_CUSTOMSKILL] ) { int range = distance_bl(src, target); int skilllv = sc->data[SC_CUSTOMSKILL]->val1; if(range == 1){ ATK_ADDRATE(skilllv * 10); } } }
So it clearly states when you're 1 cell apart from your enemy, you'll get additional bonus of custom skill level * 10 damage.
-
Thank you for answering.
Yeah but the problem is that I cant update it
You mean it's not compatible in hercules?
-
-
EDIT: Nvm, solved already.
-
The skill Charge Attack of Knight increment the damage by distance, try check in Battle.c this:
case KN_CHARGEATK: { int k = (flag-1)/3; //+100% every 3 cells of distance if( k > 2 ) k = 2; // ...but hard-limited to 300%. skillratio += 100 * k; } break;
Thanks for the reply, but i don't understand this formula:
int k = (flag-1)/3;
-
Well, the skill RL_SLUGSHOT the accuracy depends of distance, try to make something like it.
Hey thank you very much for the reply, i'll see that!
-
I guess job level 100 is enough if it's 254 / 255.
Job level 100? I'm asking for skill points
You're asking how many skill points, yes? That's why I'm saying the total skill points you get from Job Level 100 is enough [ From Novice to 2nd transcend class ]
EDIT: Unless you're making some skill point limiter stuff NPC wherein you get additional skill points with just Job Level 70. then a total of 149 is enough or rather you've done some horrible stuff wherein your job level doesn't give skill points i dunno
-
Well I'm actually trying to make a passive skill wherein your damage increases as you go near your target, so I'm asking if there's already an existing function of it so i could have some reference to use.
EDIT: If there's none then I'll try making my own.
-
I guess job level 100 is enough if it's 254 / 255.
-
Hello, i would like to ask if there's a function where your damage / skill damage will be depending on your distance with the target?
Thank you!
Gravity Error when Enabled Custom Jobs is enabled
in Client-Side Support
Posted
So i was gonna re-make my custom class with a newer client and NEMO's Enable Custom Job patch.
Stuffs that i did:
- Downloaded latest NEMO on git
- Hexed a 2013-08-07a client
- Copy and pasted the necessary files inside NEMO/Support folder to my data folder
And everytime i try inputting my login details and hit enter on the login screen, it just crashes afterwards (Gravity Error). No errors on map/char servers as well.
I've also tried this on 2013-12-23 client and same thing is happening
Anyone knows how to fix this issue?
P.S
I've also looked on to NEMO's issues on git also used google and i found nothing that relates to my problem.