Jump to content
  • 0

Separate Skill Damages and Effects


Question

Posted

Good day folks ! Just need a little help .. Is it possible in battle.cpp to make a separate effect or damage depending on map (normal, pvp and gvg) ?? 

Example is PA_SACRIFICE ...

		case PA_SACRIFICE:
			skillratio += -10 + 10 * skill_lv;
			break;

is there a code like this ?

		case PA_SACRIFICE:
		 #ifdef map_flag_gvg
			skillratio += -10 + 2 * skill_lv;
		#endif
			skillratio += -10 + 10 * skill_lv;
			break;

----------- OR --------------

		case PA_SACRIFICE:
		 #ifdef map_flag_pvp
			skillratio += -10 + 2 * skill_lv;
		#endif
			skillratio += -10 + 10 * skill_lv;
			break;

Or is there a more easier way to do this ? Thankyou ! I hope someone notice my post .. Have a nice day !!

3 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.

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...