View Single Post
Old JScript Combat code
Default 06-24-2012
  #1
Erex
Erex is new to TNO
Erex's Avatar
Achievements Three Red LightsDuetMan of the Year
User Title: Sub-Forum Moderator
Posts: 1,340
Credits:
0



Ok for a roleplaying forum I'm making right? Well I came up with a combat system that allows you to choose a ship from your inventory, well each ship has certain specifications. But I need help writing the code as I'm not skilled in Jscript. What I need is for the code to account for ships armor, ships damage, ships shield, and what type of ship it is. But I also need a dropdown box of player list to select the player to attack with. Its put into six categories of ships:

Lasers - Weak.
Plasma - Deadly to just about everything
Ion - half of the damage goes through shields
Photon - Deadly to everything
Missiles - Dangerous to plasma
Disruptor - most damaging

Can you help me?

If you can get the code , but leave it for me to fill in with what is what that would be awesome.

Erex is offline