mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 20:19:44 +00:00
water damage tweaks, using php8 pack functions
This commit is contained in:
parent
229a563ff5
commit
68b8232f07
17 changed files with 46 additions and 76 deletions
|
|
@ -9,7 +9,6 @@ class Skeleton extends Monster{
|
|||
$this->ai->removeTask("TaskAttackPlayer");
|
||||
//$this->ai->addTask(new TaskDestroyServerPerformance());
|
||||
$this->setSpeed(0.25);
|
||||
$this->update();
|
||||
}
|
||||
|
||||
public function getAttackDamage(){
|
||||
|
|
@ -36,9 +35,9 @@ class Skeleton extends Monster{
|
|||
}
|
||||
}
|
||||
|
||||
public function update(){
|
||||
public function update($now){
|
||||
$this->updateBurning();
|
||||
parent::update();
|
||||
parent::update($now);
|
||||
}
|
||||
|
||||
public function getDrops(){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue