mirror of
https://github.com/PhantomGamesDevelopment/TWM2.git
synced 2026-02-24 17:13:52 +00:00
3.9.1 Update
Patched up some TWM2 bugs, re-did the Vardison Boss.
This commit is contained in:
parent
e80004bbd8
commit
5ebf31e057
11 changed files with 1697 additions and 1575 deletions
|
|
@ -3585,6 +3585,17 @@ function Armor::damageObject(%data, %targetObject, %sourceObject, %position, %am
|
|||
|
||||
//now call the "onKilled" function if the client was... you know...
|
||||
if(%targetObject.getState() $= "Dead") {
|
||||
//Is there a boss going?
|
||||
if(!%targetObject.isZombie && !%targetObject.isBossMinion) {
|
||||
if($TWM2::BossGoing) {
|
||||
//Chalk up the kill count :P
|
||||
$TWM2::BossManager.addKill(%targetObject);
|
||||
}
|
||||
}
|
||||
if(%targetObject.isVardisonMinion) {
|
||||
$TWM2::VardisonManager.minionCount--;
|
||||
}
|
||||
|
||||
if($TWM2::PlayingSabo) {
|
||||
if(Game.Bomb.Carrier == %targetObject) {
|
||||
if(%damageType == $DamageType::FellOff) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue