Jump to content

bSkillNoRequire, bSkillNoRequireItem, bNoRequireAmmo


Cydh

Recommended Posts


  • Group:  Developer
  • Topic Count:  153
  • Topics Per Day:  0.04
  • Content Count:  2285
  • Reputation:   745
  • Joined:  06/16/12
  • Last Seen:  

Idea: Unlimited Bottle Grenade and Fire Bottle Settings?, first release

 

Now,

 

Quote

bonus bSkillNoRequire,n; Removes n requirement when use skill.

bonus2 bSkillNoRequire,sk,n; Removes n requirement when use sk skill.
n is bitmask to removes:
1 - HP cost
2 - MaxHP trigger
4 - SP cost
8 - HP rate cost
16 - SP rate cost
32 - Zeny cost
64 - Weapon type
128 - Ammo
256 - Required state
512 - Required status
1024 - Spirit sphere
2048 - Required item
4096 - Required equipment
bonus bSkillNoRequireItem,iid; Removes iid from skill requirement.

bonus bNoRequireAmmo,n; Removes ammunition usage when use normal attack/not using skill (n is meaningless).

 

 

Download: 

Edited by Cydh
  • Upvote 4
  • Love 2
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  949
  • Reputation:   174
  • Joined:  06/12/12
  • Last Seen:  

Great release!

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  53
  • Topics Per Day:  0.01
  • Content Count:  411
  • Reputation:   260
  • Joined:  04/25/12
  • Last Seen:  

Nice, I will try this

Link to comment
Share on other sites

  • 2 months later...

  • Group:  Members
  • Topic Count:  120
  • Topics Per Day:  0.03
  • Content Count:  295
  • Reputation:   6
  • Joined:  12/02/11
  • Last Seen:  

i got error
 

1>d:\a server\src\map\skill.c(14155): error C2039: 'hp_rate' : is not a member of 'skill_condition'
1>          d:\a server\src\map\skill.h(84) : see declaration of 'skill_condition'
1>d:\a server\src\map\skill.c(14156): error C2039: 'sp_rate' : is not a member of 'skill_condition'
1>          d:\a server\src\map\skill.h(84) : see declaration of 'skill_condition'
1>d:\a server\src\map\skill.c(14161): error C2039: 'status_count' : is not a member of 'skill_condition'
1>          d:\a server\src\map\skill.h(84) : see declaration of 'skill_condition'
1>d:\a server\src\map\skill.c(14164): error C2039: 'eqItem_count' : is not a member of 'skill_condition'
1>          d:\a server\src\map\skill.h(84) : see declaration of 'skill_condition'

 

Edited by hakuren
Link to comment
Share on other sites

  • 4 years later...

  • Group:  Members
  • Topic Count:  45
  • Topics Per Day:  0.01
  • Content Count:  715
  • Reputation:   83
  • Joined:  01/05/12
  • Last Seen:  

Any updates with this?

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  153
  • Topics Per Day:  0.04
  • Content Count:  2285
  • Reputation:   745
  • Joined:  06/16/12
  • Last Seen:  

updated for rathena Git Hash: ae89b3a7 and press the upvote is easy, thank me

  • Upvote 6
Link to comment
Share on other sites

  • 1 month later...

  • Group:  Members
  • Topic Count:  162
  • Topics Per Day:  0.05
  • Content Count:  1546
  • Reputation:   192
  • Joined:  07/23/14
  • Last Seen:  

Thank you so much for this! I got an idea on how to use those bonuses!! /gawi

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  162
  • Topics Per Day:  0.05
  • Content Count:  1546
  • Reputation:   192
  • Joined:  07/23/14
  • Last Seen:  

@Cydh I just want to report that when creators are using Potion Pitcher and Slim Potion Pitcher the skill will fail. 

using this bonus

bonus bSkillNoRequire,2048;

 

Edited by Radian
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  45
  • Topics Per Day:  0.01
  • Content Count:  715
  • Reputation:   83
  • Joined:  01/05/12
  • Last Seen:  

14 hours ago, Radian said:

@Cydh I just want to report that when creators are using Potion Pitcher and Slim Potion Pitcher the skill will fail. 

using this bonus


bonus bSkillNoRequire,2048;

 

Use this...

bonus2 bSkillNoRequire,"AM_POTIONPITCHER",2048;
bonus2 bSkillNoRequire,"CR_SLIMPITCHER",2048;

Just follow this...
 

bonus bSkillNoRequire,n;        Removes n requirement when use skill.
bonus2 bSkillNoRequire,sk,n;    Removes n requirement when use sk skill.
                               	n is bitmask to removes:
                               	   1 - HP cost
                               	   2 - MaxHP trigger
                               	   4 - SP cost
                               	   8 - HP rate cost
                               	  16 - SP rate cost
                               	  32 - Zeny cost
                               	  64 - Weapon type
                               	 128 - Ammo
                               	 256 - Required state
                               	 512 - Required status
                               	1024 - Spirit sphere
                               	2048 - Required item
                               	4096 - Required equipment
bonus bSkillNoRequireItem,iid;  Removes iid from skill requirement.
bonus bNoRequireAmmo,n;         Removes ammunition usage when use normal attack/not using skill (n is meaningless).

 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  162
  • Topics Per Day:  0.05
  • Content Count:  1546
  • Reputation:   192
  • Joined:  07/23/14
  • Last Seen:  

4 hours ago, Lelouch vi Britannia said:

Use this...


bonus2 bSkillNoRequire,"AM_POTIONPITCHER",2048;
bonus2 bSkillNoRequire,"CR_SLIMPITCHER",2048;

Just follow this...
 


bonus bSkillNoRequire,n;        Removes n requirement when use skill.
bonus2 bSkillNoRequire,sk,n;    Removes n requirement when use sk skill.
                               	n is bitmask to removes:
                               	   1 - HP cost
                               	   2 - MaxHP trigger
                               	   4 - SP cost
                               	   8 - HP rate cost
                               	  16 - SP rate cost
                               	  32 - Zeny cost
                               	  64 - Weapon type
                               	 128 - Ammo
                               	 256 - Required state
                               	 512 - Required status
                               	1024 - Spirit sphere
                               	2048 - Required item
                               	4096 - Required equipment
bonus bSkillNoRequireItem,iid;  Removes iid from skill requirement.
bonus bNoRequireAmmo,n;         Removes ammunition usage when use normal attack/not using skill (n is meaningless).

 

I know that, i just want to report the issue i encountered 

Link to comment
Share on other sites

  • 1 year later...

  • Group:  Members
  • Topic Count:  45
  • Topics Per Day:  0.01
  • Content Count:  715
  • Reputation:   83
  • Joined:  01/05/12
  • Last Seen:  

Any updates?

Link to comment
Share on other sites

  • 6 months later...

  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.01
  • Content Count:  148
  • Reputation:   21
  • Joined:  11/12/18
  • Last Seen:  

This update has a flaw on archers arrow. If you equip any arrow on your archer, neutral element will always be your element even you are equipped with oridecon, poison, immaterial and so on arrow.

Edited by Forshaken
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  28
  • Topics Per Day:  0.01
  • Content Count:  60
  • Reputation:   0
  • Joined:  11/17/18
  • Last Seen:  

Thanks for great release first.

Can you teach me how to apply diff file?

Link to comment
Share on other sites

  • 4 months later...

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

waiting for an update....

can someone little help with these error's

Severity    Code    Description    Project    File    Line    Suppression State
Error    C2039    'skill_no_require_item': is not a member of 'map_session_data'    map-server    c:\users\user\documents\ra pre-re\rathena\src\map\pc.cpp    3539    
Error    C2039    'skill_no_require_item': is not a member of 'map_session_data'    map-server    c:\users\user\documents\ra pre-re\rathena\src\map\pc.cpp    3540    
Error    C2039    'skill_no_require_item': is not a member of 'map_session_data'    map-server    c:\users\user\documents\ra pre-re\rathena\src\map\pc.cpp    3541    
Error    C2039    'skill_no_require_item': is not a member of 'map_session_data'    map-server    c:\users\user\documents\ra pre-re\rathena\src\map\pc.cpp    3545    
Error    C2039    'skill_no_require_item': is not a member of 'map_session_data'    map-server    c:\users\user\documents\ra pre-re\rathena\src\map\skill.cpp    17252    
Error    C2039    'skill_no_require_item': is not a member of 'map_session_data'    map-server    c:\users\user\documents\ra pre-re\rathena\src\map\skill.cpp    17253    
Error    C2039    'status_count': is not a member of 's_skill_condition'    map-server    c:\users\user\documents\ra pre-re\rathena\src\map\skill.cpp    17279    
Error    C2039    'eqItem_count': is not a member of 's_skill_condition'    map-server    c:\users\user\documents\ra pre-re\rathena\src\map\skill.cpp    17282    
Error    C2039    'skill_no_require_item': is not a member of 'map_session_data'    map-server    c:\users\user\documents\ra pre-re\rathena\src\map\status.cpp    3822    
 

Edited by kalabasa
Link to comment
Share on other sites

  • 2 years later...

  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.01
  • Content Count:  148
  • Reputation:   21
  • Joined:  11/12/18
  • Last Seen:  

Target Git Hash -> ff0cbfe4e803661f1ab66dd56d2d1b815873e28a ( Also working on emulators for April 2022 and below. )

bNoRequireItem-rA- ( Updated ).diff

  • Like 1
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
Reply to this topic...

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