mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-19 04:05:31 +00:00
Tuned power again xD
This commit is contained in:
parent
f56dd60708
commit
df174d1b8e
@ -35,7 +35,7 @@ class TNTBlock extends SolidBlock{
|
|||||||
"x" => $this->x + 0.5,
|
"x" => $this->x + 0.5,
|
||||||
"y" => $this->y + 0.5,
|
"y" => $this->y + 0.5,
|
||||||
"z" => $this->z + 0.5,
|
"z" => $this->z + 0.5,
|
||||||
"power" => 3,
|
"power" => 4,
|
||||||
"fuse" => 20 * 4, //4 seconds
|
"fuse" => 20 * 4, //4 seconds
|
||||||
);
|
);
|
||||||
$this->level->setBlock($this, new AirBlock(), false, false, true);
|
$this->level->setBlock($this, new AirBlock(), false, false, true);
|
||||||
|
@ -99,7 +99,7 @@ class Explosion{
|
|||||||
"x" => $block->x + 0.5,
|
"x" => $block->x + 0.5,
|
||||||
"y" => $block->y + 0.5,
|
"y" => $block->y + 0.5,
|
||||||
"z" => $block->z + 0.5,
|
"z" => $block->z + 0.5,
|
||||||
"power" => 3,
|
"power" => 4,
|
||||||
"fuse" => mt_rand(10, 30), //0.5 to 1.5 seconds
|
"fuse" => mt_rand(10, 30), //0.5 to 1.5 seconds
|
||||||
);
|
);
|
||||||
$e = $server->api->entity->add($this->level, ENTITY_OBJECT, OBJECT_PRIMEDTNT, $data);
|
$e = $server->api->entity->add($this->level, ENTITY_OBJECT, OBJECT_PRIMEDTNT, $data);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user