Jump to content
  • 0
Sign in to follow this  
BattleGrounds

Berserk skill modification

Question

4 answers to this question

Recommended Posts

  • 0

Mainly search all the code for SC_BERSERK, you'll find where it's used to prevent chatting, gears changing and so on. There are just too many places to mention them all here >.<

Edited by Garr

Share this post


Link to post
Share on other sites
  • 0

So far these are the changes I've been able to make to the skill:

 

- Triple HP

- ATK +200%

- Enabled skills

- Removed SP penalty

 

But haven't been able to find where to enable item usage during the skill. Do you know where can I find this? Thanks.

Share this post


Link to post
Share on other sites
  • 0

src/map/pc.c, pc_useitem.

	// Statuses that don't let the player use items	if (sd->sc.count && (		sd->sc.data[SC_BERSERK] ||		(sd->sc.data[SC_GRAVITATION] && sd->sc.data[SC_GRAVITATION]->val3 == BCT_SELF) ||		sd->sc.data[SC_TRICKDEAD] ||		sd->sc.data[SC_HIDING] ||		sd->sc.data[SC__SHADOWFORM] ||		sd->sc.data[SC__INVISIBILITY] ||		sd->sc.data[SC__MANHOLE] ||		sd->sc.data[SC_KG_KAGEHUMI] ||		sd->sc.data[SC_WHITEIMPRISON] ||		sd->sc.data[SC_DEEP_SLEEP] ||		sd->sc.data[SC_SATURDAY_NIGHT_FEVER] ||		sd->sc.data[SC_COLD] ||		(sd->sc.data[SC_NOCHAT] && sd->sc.data[SC_NOCHAT]->val1&MANNER_NOITEM)	    ))		return 0;

Share this post


Link to post
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.   Restore formatting

  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.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

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