Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Reading a text doc?
#1
I am a giant noob, troll if you must

Hey so, Im making a simple rpg (turn based) game in vb... (please dont say IMPOSSIBLE or w.e). The combat system is going good but i got stuck on the exp system... right now im planing on using something like

( i know the code is fake/wrong )
PHP Code:
on monster death
     
if monsterlv "1" then "250" exp

     
if exp = < "250" then playerlv +1
       
else 

I am now asking how would i do this part

Code:
if monsterlv = "1" then + "250" exp

Without having to do this

Code:
if monsterlv = "1" then + "250" exp
if monsterlv = "2" then + "500" exp
if monsterlv = "3" then + "750" exp
etc

Could i save the exp level thingys into a text doc or .dll ? and read it ?
Reply


Messages In This Thread
Reading a text doc? - by pers2981 - 11-12-2010, 08:54 AM
RE: Reading a text doc? - by KoBE - 11-12-2010, 10:08 AM
RE: Reading a text doc? - by pers2981 - 11-12-2010, 01:09 PM
RE: Reading a text doc? - by thanasis2028 - 11-13-2010, 03:59 AM
RE: Reading a text doc? - by Xzotic - 11-13-2010, 08:11 AM
RE: Reading a text doc? - by pers2981 - 11-13-2010, 09:56 AM
RE: Reading a text doc? - by KoBE - 11-13-2010, 02:02 PM
RE: Reading a text doc? - by pers2981 - 11-13-2010, 02:41 PM
RE: Reading a text doc? - by Xzotic - 11-13-2010, 02:44 PM
RE: Reading a text doc? - by KoBE - 11-13-2010, 03:05 PM
RE: Reading a text doc? - by pers2981 - 11-13-2010, 02:47 PM
RE: Reading a text doc? - by pers2981 - 11-13-2010, 03:09 PM
RE: Reading a text doc? - by KoBE - 11-13-2010, 03:22 PM
RE: Reading a text doc? - by pers2981 - 11-13-2010, 03:26 PM
RE: Reading a text doc? - by Xzotic - 11-13-2010, 03:27 PM
RE: Reading a text doc? - by pers2981 - 11-13-2010, 03:40 PM
RE: Reading a text doc? - by KoBE - 11-13-2010, 03:54 PM
RE: Reading a text doc? - by pers2981 - 11-13-2010, 04:02 PM
RE: Reading a text doc? - by JMK940 - 11-14-2010, 04:36 AM
RE: Reading a text doc? - by pers2981 - 11-14-2010, 10:29 AM
RE: Reading a text doc? - by Xzotic - 11-15-2010, 11:38 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  TextBox2.Text | Transfer Text to ListBox Die 3 2,664 01-02-2012, 06:09 PM
Last Post: AceInfinity
  Text Converter. Turn your text upside down! Red X 29 8,687 08-01-2011, 07:46 AM
Last Post: Red X

Forum Jump:


Users browsing this thread: 13 Guest(s)