mirror of
https://github.com/PhantomGamesDevelopment/TWM2.git
synced 2026-04-22 12:55:28 +00:00
6/26 Update
All of the work for 6/26. New challenges, bug fixes, and deprecation of older systems.
This commit is contained in:
parent
c270a1c343
commit
b03f4dd2ef
37 changed files with 2662 additions and 3772 deletions
|
|
@ -272,22 +272,30 @@ function DoBOVRearKill(%source, %target, %count) {
|
|||
%target.setvelocity("0 0 0");
|
||||
}
|
||||
else if(%count == 17) {
|
||||
if(%target.isZombie) {
|
||||
recordAction(%source.client, "BACK", "zombie");
|
||||
if(%target.isPlayerRog && %target.getControllingClient() !$= "") {
|
||||
if(!%source.client.CheckNWChallengeCompletion("CompletelyUnexpected")) {
|
||||
CompleteNWChallenge(%source.client, "CompletelyUnexpected");
|
||||
}
|
||||
}
|
||||
}
|
||||
else {
|
||||
recordAction(%source.client, "BACK", "player");
|
||||
if(!%source.client.CheckNWChallengeCompletion("Assassin")) {
|
||||
CompleteNWChallenge(%source.client, "Assassin");
|
||||
}
|
||||
}
|
||||
//%target.blowup();//BAM!
|
||||
ServerPlay3d(BOVHitSound, %target.getPosition());
|
||||
ServerPlay3d(BOVHitSound, %target.getPosition());
|
||||
ServerPlay3d(BOVHitSound, %target.getPosition());
|
||||
%target.damage(%source, %target.getposition(), 9999, $DamageType::BladeOfVengance);
|
||||
//
|
||||
if(%target.isZombie) {
|
||||
recordAction(%source.client, "BACK", "zombie");
|
||||
}
|
||||
else {
|
||||
recordAction(%source.client, "BACK", "player");
|
||||
}
|
||||
//
|
||||
if(%target.client !$= "") { //a Player.. goodie
|
||||
MessageAll('MessageAll', "\c0"@%target.client.namebase@" was assassinated by "@%source.client.namebase@".");
|
||||
}
|
||||
//Challenges...
|
||||
%source.cannotuseBOV = 0;
|
||||
%source.setMoveState(false);
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue