Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Question about Item Types
#1
Even though in the title I put question about item types, this really could be applied to everything, tile attributes, etc.

So I was writing the first little bit of my fishing system into a vanilla MS4 engine, and here is my case Item_Type_Pole

[spoiler][code]
Case ITEM_TYPE_POLE
Randomize Timer
Dice1 = (Int((100 - 1 + 1) * Rnd + 1))
Slevel = Int(GetPlayerStat(Index, Stats.Defense))
chance = (Int(((Slevel) * 100) / (32000)))
If Dice1
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)