Drop Item On DamageVersion 3Change Log:V1 --> V2-Fixed Creating Multiple "SwolHelp" messages upon server restart
-Made code better
-Min Damage for dropping an item is now about 3/5th of your max health
V2 --> V3-Fixed Dedicated Server Deleting SwolHelp on host Exit
-Added SwolHelp Version support to avoid conflict in future
-Added 2 RtbPrefs/2 Server commands
-Made it a lot better
DescriptionWhen you receive more than X amount of damage in one blow there's a strong chance that the weapon your holding will be thrown out of your hand the more damage the projectile does the higher the chance that it will occur
The "Random Check" Occurs when you become damaged there's a higher percent chance to drop your item when you receive more damage you must be in the damage range of MinRand and MaxRand then theres a random chance of dropping your item if the damage Exceeds MaxRand you will instantly drop your item
MaxRand and Minrand are dependable on maxhealth as shown below
MaxRand = (maxhealth/100)MaxRand
MinRand = (maxhealth/100)MinRand
Server Commands/Rtb PrefsIncludes RtbPrefsEnabled toggle if the mod is enabled/disabled
MinRand minimum amount of damage required for the random check
MaxRand maximum amount of damage required for the random check
If you do not have rtb server commands will be included instead
/DiodToggle to Enable/Disable drop item on damage
/DiodMinRand to set minimum amount of damage required for the random check
/DiodMaxRand to set maximum amount of damage required for the random check
Also from now on my addons will be including a command called
/SwolHelp which will give you a list of commands for any of my addons you happen to have
**Any Addon that are created after this one that have Server Commands
STUFFNow on RTB!
Click to view file in Return to Blockland download systemSize: 2.07 kb
Host: returntoblockland.com
Name: Script_DropItemOnDamage.zip
Direct Link