Major achievement progress.
This commit is contained in:
parent
7d401bdb61
commit
f5c9733c65
41 changed files with 868 additions and 276 deletions
|
|
@ -110,9 +110,10 @@ Class SWWMHandler : EventHandler
|
|||
if ( !(e.ActivationType&SPAC_Use) ) return;
|
||||
if ( !e.Thing || !e.Thing.player ) return;
|
||||
let w = SWWMWeapon(e.Thing.player.ReadyWeapon);
|
||||
if ( !w || !w.wallponch ) return;
|
||||
if ( (!w || !w.wallponch) && (!(e.Thing is 'Demolitionist') || !Demolitionist(e.Thing).hitactivate) ) return;
|
||||
let s = SWWMStats.Find(e.Thing.player);
|
||||
if ( s ) s.wponch++;
|
||||
SWWMUtility.AchievementProgressInc('swwm_progress_slemg',1,e.Thing.player);
|
||||
}
|
||||
|
||||
// stuff for hud
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue