Jump to content

Damage limits (v2)


Recommended Posts

I was trying to brain storm and make it so users couldn't do tons of damage just because of strength. I wondered if another stat (such as levels) could be thrown into this part

if($mydamage >3000) { $mydamage=3000; }
else if($mydamage <100) { $mydamage=100; 

I tried doing $youdata['level'] but it was getting an unexpected "]" symbol. I don't want high strength to be the 'end factor' just the starting factor to require players to be more strategic with their stat build being I'll make a new stat up and post it here for everyone else to install once someone points me in the right direction to look for this.

Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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