Ind
-
Content Count
1655 -
Joined
-
Last visited
-
Days Won
131
Files posted by Ind
-
Mob Drop Qty
HPM Plugin.
/** * Adds a 50% ( customizeable ) chance for ETC (customizeable) items to drop from mobs with double quantity * Adds a 25% ( customizeable as well ) chance for it to use tripple quantity (this dice is only played if the 50% one succeeded) * Adds a 10% ( customizeable as well ) chance for it to use quadruple quantity (this dice is only played if the 25% one succeeded) * Adds a 5% ( customizeable as well ) chance for it to use quintuple quantity (this dice is only played if the 10% one succeeded) * For example, after a player succeeds at dropping a jellopy (at any rate), theres a 50% chance it'll be 2 jellopies instead of 1, * and if that 50% succeeds, there'll be another 25% chance for it to be 3 instead of 2, and if that 25% succeeds, * there will be another 10% chance for it to drop 4 instead of 3, and if that 10% succeeds, there will be a 5% chance to drop 5 instead of 4. * - MvP drops are not affected * - Items looted by monsters are not affected **/ - Requires HPM Hooking
Easy to Customize
switch( data->type ) { /** * uncomment those you wanna affect, don't even try adding gear or non-stackable types -- they are not meant to have qty higher than 1! **/ //case IT_HEALING: //case IT_USABLE: //case IT_CARD: //case IT_AMMO: //case IT_DELAYCONSUME: //case IT_CASH: case IT_ETC: /** * Feel free to modify the formula here! **/ if( rand()0 > 50 ) /* if rand > 50, break and do not affect the qty */ break; *qty += 1;//from 1 to 2 if( rand()0 > 25 ) /* if rand > 25, break and do not affect the qty further */ break; *qty += 1;//from 2 to 3 if( rand()0 > 10 ) /* if rand > 10, break and do not affect the qty further */ break; *qty += 1;//from 3 to 4 if( rand()0 > 5 ) /* if rand > 5, break and do not affect the qty further */ break; *qty += 1;//from 4 to 5 break; } You may also use the *nameid variable if you wish to further enhance the mechanic, for example
if( *nameid == 604 ) /* if dead branch, qty + 2 */ *qty += 2; How to Install
Check the wiki page on 'Building a Plugin' http://herc.ws/wiki/HPM#Building_a_plugin
Contribute / Customize
Its available at our Staff Plugins Repo, pull requests are more than welcome.
89 downloads
0 comments
Submitted
-
Visible Monsters HP
HPM Plugin.
- Monsters HP is visible to all players, instead of only those who hit it.
- Monsters spawned with 'boss' flag have a greater bar (2-3x normal size, check screenshot in download page view)
- Requires PACKETVER >= 20120404
Whats the 'boss' flag?
For example, gef_dun.txt's Doppelganger
gef_dun02,0,0,0,0 boss_monster Doppelganger 1046,1,7200000,600000,1 How to Install
Check the wiki page on 'Building a Plugin' http://herc.ws/wiki/HPM#Building_a_plugin
Contribute / Customize
Its available at our Staff Plugins Repo, pull requests are more than welcome.
573 downloads
Submitted
-
Server Side Manners.txt
HPM Plugin.
- Implements the 'server-side' manners.txt aka ability to blacklist words.
Includes:
- Ability to read 'conf/manners.txt' (you have to create the file, you can fill as you like, and use '//' to create commands as well).
- The @reloadmanners command
- Implements the 'mouthful' group permission, which allows individual groups to bypass the badwords filter.
Requires:
- HPM Hooking to be enabled.
How to Install
Check the wiki page on 'Building a Plugin' http://herc.ws/wiki/HPM#Building_a_plugin
Contribute / Customize
Its available at our Staff Plugins Repo, pull requests are more than welcome.
176 downloads
0 comments
Submitted
-
bonus bCoolDownRate,<x>;
HPM Plugin.
Implements the 'bCoolDownRate' item bonus, demonstrates how to implement a item bonus through a plugin.
works like bDelayRate example:
- cooldown is 10000 (10s)
--'bonus bCoolDownRate,50;' = 15000 (15s) (+50%)
--'bonus bCoolDownRate,-50;' = 5000 (5s) (-50%)
How to Install
Check the wiki page on 'Building a Plugin' http://herc.ws/wiki/HPM#Building_a_plugin
Contribute / Customize
Its available at our Staff Plugins Repo, pull requests are more than welcome.
160 downloads
0 comments
Updated
-
@storeitem
HPM Plugin. Implements the @storeitem command
@storeitem <item name or ID> <quantity> <refine> <char name> Designed by Beowulf/Nightroad
How to Install
Check the wiki page on 'Building a Plugin' http://herc.ws/wiki/HPM#Building_a_plugin
Contribute / Customize
Its available at our Staff Plugins Repo, pull requests are more than welcome.
121 downloads
0 comments
Submitted
-
Skill Error Messages
Its more of a way to demonstrate how HPM overloading can be used (its going to be much more fun to play with once we get HPM Hooks released).
SkillErrorMessages
Replaces client-side error messages by custom server-side error messages, for skills.
Not Enough Spirit Spheres Message
%d requires a total mind bullets becomes
%s requires a total %d spirit spheres (%s being the skill name, %d the amount of spirit spheres)
Contribute / Customize
Its available at our Staff Plugins Repo, pull requests are more than welcome.
122 downloads
0 comments
Submitted