• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

explain math

ConAn Edujawa

Member
Joined
Feb 23, 2015
Messages
457
Reaction score
17
i want somone explain to me math like this
if math.random(1, 4) == 1 then = 20% right ?

what if i want to make it 5% and how to make it 50%

second scripts
when player use manashield block 10% from damga

third script
when monster die around player othere monster can't walk on dead monster

last one
spell for knight that protection othere player
example
when knight say protect , name player
this player get full protect and all damge change to knight
"knight takes all incoming damage from targeted player to himself for 20 seconds"
 
100 : 4 = 25, so (1, 4) is 25%

For 5%, 100 : 5 = 20, so (1, 20)
50%, 100 : 50 = 2, so (1, 2)

You can't expect people to create scripts for you btw if you don't even post your server version.
Also give a better/more detailed explanation of what you are looking for.
 
im use tfs 0.4 8.60 and how i can explain first script when use utamovita block 10% from damge second one when 8 monster die around player other monster can't walk on dead monster
 
Back
Top