Blockland Forums > Suggestions & Requests
Defense mod
<< < (4/5) > >>
Lord of the flame 9692:
Perhaps not a mod but, a weapon itself or a weapon pack.
Joker 4:
I think it should be a mod because then it would aply to all melee weapons not only a few.
pocketrocket300:
but melee weapon s such a broad category, that it would be impossible for one mod to cover all melee weapons.  it would have t be a weapon pack.
Amade:

--- Quote from: pocketrocket300 on September 06, 2009, 01:04:38 PM ---but melee weapon s such a broad category, that it would be impossible for one mod to cover all melee weapons.  it would have t be a weapon pack.

--- End quote ---
Wrong
--- Code: ---package meleeBlock
{
   function armor::onTrigger(%this, %obj, %slot, %val)
   {
      if(%slot == 4 && %val && %obj.getMountedImage(0).melee)
      {
         //Do stuff.
      }
      parent::onTrigger(%this, %obj, %slot, %val);
   }
};
activatePackage(meleeBlock);
--- End code ---
pocketrocket300:
oshat i do believe ive been disproven :/
Navigation
Message Index
Next page
Previous page

Go to full version