Added new sounds, events, particles

This commit is contained in:
Shoghi Cervantes
2015-08-03 12:42:47 +02:00
parent 2b2a1b18e7
commit 522932d7c0
34 changed files with 623 additions and 31 deletions

View File

@ -37,7 +37,7 @@ class GenericParticle extends Particle{
public function encode(){
$pk = new LevelEventPacket;
$pk->evid = 0x4000 | $this->id;
$pk->evid = LevelEventPacket::EVENT_ADD_PARTICLE_MASK | $this->id;
$pk->x = $this->x;
$pk->y = $this->y;
$pk->z = $this->z;