Jump to content

  •  

Bug Tracker Migration

June 3rd
Good news everyone! The staff has decided that it is time to slowly kill off this Bug Tracker. We will begin the process of slowly migrating from this Bug Tracker over to our Github Issues which can be found here: https://github.com/HerculesWS/Hercules/issues

Over the next couple of days, I will be closing off any opportunity to create new reports. However, I still will keep the opportunity to reply to existing Bug Reports. Doing this will allow us to slowly fix any bug reports we have listed here so that we can easily migrate over to our Issue Tracker.

Update - June 7th 2015: Creating new bug posts has been disabled. Please use our https://github.com/HerculesWS/Hercules/issues tracker to post bugs. Users are still able to reply to existing bug posts.

- Administration

Issue Information

  • #005704

  • 0 - None Assigned

  • Working as Intended

Issue Confirmations

  • Yes (0)No (1)
Photo

[Additional Skill] Enlarge Weight Limit

Posted by Hercules Bot on 06 May 2012 - 03:08 PM

Originally posted by emong
Using latest revision of rA enlarge weight limit appears.

Originally posted by malufett
did you try the GYM npc?? it gives enlarge weight limit...

Originally posted by emong
nope I didn't try anything.. And I know gym npc does add enlarge weight limit but this isnt natural.

Originally posted by malufett
now I found out this is not a bug..

this is how it was done when you set your server to allow all skill the quest skill is save to your character(specially GM accounts) so switching back to not allowing all skills.. the quest skill remains...

this code do the trick..
if( pc_has_permission(sd, PC_PERM_ALL_SKILL) ) {<br />  for( i = 0; i < MAX_SKILL; i++ ) {<br />   switch(i) {<br />    /**<br />	 * Dummy skills must be added here otherwise they'll be displayed in the,<br />	 * skill tree and since they have no icons they'll give resource errors<br />	 **/<br />    case SM_SELFPROVOKE:<br />    case AB_DUPLELIGHT_MELEE:<br />    case AB_DUPLELIGHT_MAGIC:<br />    case WL_CHAINLIGHTNING_ATK:<br />    case WL_TETRAVORTEX_FIRE:<br />    case WL_TETRAVORTEX_WATER:<br />    case WL_TETRAVORTEX_WIND:<br />    case WL_TETRAVORTEX_GROUND:<br />    case WL_SUMMON_ATK_FIRE:<br />    case WL_SUMMON_ATK_WIND:<br />    case WL_SUMMON_ATK_WATER:<br />    case WL_SUMMON_ATK_GROUND:<br />    case LG_OVERBRAND_BRANDISH:<br />    case LG_OVERBRAND_PLUSATK:<br />    case WM_SEVERE_RAINSTORM_MELEE:<br />    case ALL_BUYING_STORE:<br />	 continue;<br />    default:<br />	 break;<br />   }<br />   if( skill_get_inf2(i)&(INF2_NPC_SKILL|INF2_GUILD_SKILL) )<br />    continue; //Only skills you can't have are npc/guild ones<br />   if( skill_get_max(i) > 0 )<br />    sd->status.skill[i].id = i;<br />  }<br />  return 0;<br />}


as the code says it was intended..but lets w8 if the author of the code is aware of this...

Originally posted by emong
Okay thanks for the confirmation. And yeah! I've set yes the quest skill and quest skill can be learned and that appeared :) Thanks for the confirmation again!

moved issue from Skills