Skip to content

Commit

Permalink
Исправил "За ломание раковин и унитазов не даётся опыт".
Browse files Browse the repository at this point in the history
А также не давался опыт за бочки.

https://trello.com/c/TzZrotDT/
  • Loading branch information
MorthimerMcMare committed Apr 5, 2019
1 parent 81b7a7c commit 30867a2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions zscript/RPGSystem.zsc
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,12 @@ class RPGSystemHandler: EventHandler {
e.Thing.A_SetInventory( "ExpGain", 35 );
else if ( e.Thing is 'DRRPRodTrash' )
e.Thing.A_SetInventory( "ExpGain", 7 );
else if ( e.Thing is 'DRRPBarrel' )
e.Thing.A_SetInventory( "ExpGain", 1 );
else if ( e.Thing is 'DRRPSink' )
e.Thing.A_SetInventory( "ExpGain", 1 );
else if ( e.Thing is 'DRRPToilet' )
e.Thing.A_SetInventory( "ExpGain", 1 );
else if ( e.Thing.bIsMonster && !e.Thing.bCorpse ) {
double multiplier =
( e.Thing.health < 40 )? FRandom( 0.02, 0.2 ) :
Expand Down

0 comments on commit 30867a2

Please sign in to comment.