Jump to content
  • 0
Virtue

How do I fix sanctuary heal on EMperium?

Question

where do I edit it in the source?

I want to make sanctuary's heal on the emperium to just "1" only?

 case PR_SANCTUARY:
  hp = (skill_lv > 6) ? 777 : skill_lv * 100;
  break;

or where? thanks in advance to the people who will answer..

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

thanks a lot.


int skill_calc_heal(struct block_list *src, struct block_list *target, int skill_id, int skill_lv, bool heal)

{

int skill, hp;

struct map_session_data *sd = map_id2sd(src->id);

struct map_session_data *tsd = map_id2sd(target->id);

struct status_data *status = status_get_status_data(src);

struct status_change* sc = status_get_sc(target);

switch( skill_id )

{

case BA_APPLEIDUN:

hp = 30 + 5 * skill_lv + 5 * (status->vit / 10); // HP recovery

if( sd )

hp += 5 * pc_checkskill(sd,BA_MUSICALLESSON);

break;

case PR_SANCTUARY:

hp = (skill_lv>6)?777:skill_lv*100;

if (dstmd->class_ == MOBID_EMPERIUM)

hp = 1;

break;

what do you think the error is,? i got error when i recompiled


fixed. /heh

Edited by Emistry
Make use of EDIT Button Please ~
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...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.