プレイ日記
Darkcon SGMXZYDarkcon354
ok been working and treaking and testing heavily today with the new code I added for new attributes im adding to game....right now working on the attack part of the algorithm for calculation of players attack
3そうだね
プレイ済み
返信[1]
親投稿
Darkcon SGMXZYDarkcon354
so far working ok still fine tune it forgot how to do negative numbers with rnd() then it dawn on me last night what i was doing wrong when i was looking over the master hard copy of my game on paper for the ptc version i forgot in my fate roll, you can call a dice roll to use rnd() like this A=RND(12):B=RND(12)-A if b>-1 and b<13 then that cover 0 thr 12 positive numbers
0そうだね
プレイ済み
返信[2]
親投稿
Darkcon SGMXZYDarkcon354
if b<0 and b>-13 then bla bla bla this cover -1 thr -12 negative numbers
1そうだね
プレイ済み
返信[3]
親投稿
Darkcon SGMXZYDarkcon354
reason i did it the way positive number for attack negative number defense.
1そうだね
プレイ済み
返信[4]
親投稿
Darkcon SGMXZYDarkcon354
that give you a idea how it works so you can make your own, remember to add the rest to your equations, i tryed to keep it simple for you, as how i started my equation in petit computer, now with smilebasic you sould be able to make it a function to call on.
1そうだね
プレイ済み
返信[5]
親投稿
DasEtwas MyTheo00
rnd negative numbers: RND(?)-?/2
0そうだね
未プレイ
返信[6]
親投稿
Darkcon SGMXZYDarkcon354
rnd(?)-?/2, wont that give error by div by zero, are am i reading it wrong?
1そうだね
プレイ済み
返信[7]
親投稿
DasEtwas MyTheo00
no xD ? is a variable :)
0そうだね
未プレイ