logisticspax.blogg.se

They are billions do custom maps count zombie kills
They are billions do custom maps count zombie kills







If they have a stone sword, change it by 5. Now, if the player has a wooden sword in his/her mainhand, change the variable by 4. In that procedure, make a new local variable and name it "damage dealt".

they are billions do custom maps count zombie kills they are billions do custom maps count zombie kills

Next, is the annoying part. hen the boss is hit, it'll do another procedure. When your custom boss spawns, it'll just reset all those variables. For example, if you wanted a boss with googol hp, then the custom boss hp variable would be 1, and the custom boss hp digit count variable would be 100, or something like 1.000e100. The first variable defines the first few digits of the hp, and the second variable is the number of digits in the hp. Make two variables: Custom boss hp, and custom boss hp digit count. If the custom boss hp variable is less than 0.01, then you kill the boss.īut, what if you wanted something much bigger? Like, clicker heroes level hp? I mean, we're talking googol, or 1.000e1000 and stuff. Now, you should have the total damage that was dealt to the boss, and you decrease the hp of custom boss variable by your local damage dealt variable. Finally, depending on the player's strength effect, also change the local variable. So just tons of "if" blocks, that change the damage dealt. When the boss is hit, it'll do another procedure.

they are billions do custom maps count zombie kills

And then when your boss spawns, you have to set the hp variable to whatever. If the hp is somewhere less than 2 billion or so, then you can just set this variable to the total number of hp you want your custom boss to have. So first, make a new variable called "HP of custom boss" or something like that. Ok, so here's the extremely advanced script:









They are billions do custom maps count zombie kills