Jump to content
  • 0

Separate Skill Damages and Effects


Eross

Question


  • Group:  Members
  • Topic Count:  155
  • Topics Per Day:  0.11
  • Content Count:  349
  • Reputation:   12
  • Joined:  04/05/20
  • Last Seen:  

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

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  155
  • Topics Per Day:  0.11
  • Content Count:  349
  • Reputation:   12
  • Joined:  04/05/20
  • Last Seen:  

23 hours ago, kalabasa said:

Thankyou for your response .. But isnt it doable with SRC so I can give a specific formula for each skill ?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  123
  • Topics Per Day:  0.05
  • Content Count:  478
  • Reputation:   14
  • Joined:  11/30/17
  • Last Seen:  

anything is possible they say.

but i don't know how to do it. 

 

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