Jump to content
  • 0

Royal Guard Inspiration Skill effect


Question

Posted

how can i change the effect of inspiration skill of Royal Guard which is +12 i will turn it into +25



help bump



here's the skill.c of inspiration

 

	case LG_INSPIRATION:
		if( sd && !map[sd->bl.m].flag.noexppenalty && sd->status.base_level != MAX_LEVEL ) {
				sd->status.base_exp -= min(sd->status.base_exp, pc_nextbaseexp(sd) * 1 / 100); // 1% penalty.
				sd->status.job_exp -= min(sd->status.job_exp, pc_nextjobexp(sd) * 1 / 100);
				clif_updatestatus(sd,SP_BASEEXP);
				clif_updatestatus(sd,SP_JOBEXP);
		}
			clif_skill_nodamage(bl,src,skill_id,skill_lv,
				sc_start(src,bl, type, 100, skill_lv, skill_get_time(skill_id, skill_lv)));
		break;

2 answers to this question

Recommended Posts

Posted (edited)

try to modify status.c

 

 


    case SC_INSPIRATION:
        if( sd )
        {
            val2 = (40 * val1) + (3 * sd->status.job_level); // ATK bonus
-            val3 = (sd->status.job_level / 10) * 2 + 12; // All stat bonus
+            val3 = 25 ; // All stat bonus
        }
        val4 = tick / 1000;
        tick_time = 1000; // [GodLesZ] tick time
        status_change_clear_buffs(bl,3); //Remove buffs/debuffs
        break;
Edited by QQfoolsorellina
  • Upvote 1

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...