BattleGrounds 0 Posted May 6, 2015 I'm trying to allow chat, item usage, equipment switching, and healing while in Berserk, but can't find where to do this. Any help would be appreciated, thanks. Quote Share this post Link to post Share on other sites
0 Garr 117 Posted May 6, 2015 (edited) 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 May 6, 2015 by Garr Quote Share this post Link to post Share on other sites
0 BattleGrounds 0 Posted May 7, 2015 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. Quote Share this post Link to post Share on other sites
0 Garr 117 Posted May 7, 2015 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; 1 BattleGrounds reacted to this Quote Share this post Link to post Share on other sites
0 BattleGrounds 0 Posted May 7, 2015 Thank you very much Quote Share this post Link to post Share on other sites
I'm trying to allow chat, item usage, equipment switching, and healing while in Berserk, but can't find where to do this.
Any help would be appreciated, thanks.
Share this post
Link to post
Share on other sites